source: rtems/tools/update/Makefile.in @ 06fa582

4.104.114.84.95
Last change on this file since 06fa582 was 06fa582, checked in by Joel Sherrill <joel.sherrill@…>, on 08/19/98 at 12:56:20

Patches from Ralf Corsepius <corsepiu@…> and myself to
make solaris target buildable.

  1. The ipc check fails since solaris does not define union semun.

The unix port code actually defines this type itself on solaris. Doing
the same thing lets it get configured. Then...

  1. It looks like BSDINSTALL is not defined properly.

BSDINSTALL is defined in make/host.cfg.in as
BSDINSTALL=@INSTALL@

@INSTALL@ is generated by autoconf's standard macro AC_PROG_INSTALL, which
is widely used in almost any autoconf/automake configured package. In case
there is really something wrong with it, then it must be considered a bug
in autoconf.

I can see a doubious fragment in AC_PROG_INSTALL, which is used when no
appropriate bsd-install is found.

Finally Ralf saw a problem with the find on solaris which I also saw and
fixed.

  • Property mode set to 100644
File size: 762 bytes
Line 
1#
2# $Id$
3#
4# NOTE: of course we can't use any of these tools
5#   in this Makefile.  Most notably: install-if-change
6#
7
8@SET_MAKE@
9srcdir = @srcdir@
10VPATH = @srcdir@
11RTEMS_ROOT = @top_srcdir@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
15include $(RTEMS_ROOT)/make/leaf.cfg
16
17DESTDIR=$(PROJECT_RELEASE)/update-tools
18
19PGMS=update word-replace
20MISC_SUPPORT=310_to_320_list
21
22INSTALL_LIST= $(PGMS) $(MISC_SUPPORT)
23
24INSTALLED=$(INSTALL_LIST:%=$(DESTDIR)/%)
25
26all:  $(DESTDIR)
27
28$(DESTDIR):
29        @INSTALL@ $(INSTDIRFLAGS) $@
30
31install:  $(INSTALLED)
32
33# Install the program
34# FIXME: This isn't correct
35$(DESTDIR)/%: %
36        $(make-script)
37        @INSTALL@  $(INSTBINFLAGS) $(PERL_PGMS) ${DESTDIR}
38        @INSTALL@  $(INSTDATAFLAGS) $(MISC_SUPPORT) ${DESTDIR}
Note: See TracBrowser for help on using the repository browser.