forked from Imagelibrary/rtems
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...
> 2. 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.
40 lines
763 B
Makefile
40 lines
763 B
Makefile
#
|
|
# $Id$
|
|
#
|
|
|
|
@SET_MAKE@
|
|
srcdir = @srcdir@
|
|
VPATH = @srcdir@
|
|
RTEMS_ROOT = @top_srcdir@
|
|
PROJECT_ROOT = @PROJECT_ROOT@
|
|
|
|
include $(RTEMS_ROOT)/make/custom/$(RTEMS_BSP).cfg
|
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
|
|
DESTDIR=$(PROJECT_RELEASE)/build-tools
|
|
|
|
INSTALLED=$(DESTDIR)/ifc.exe \
|
|
$(DESTDIR)/cklength.exe \
|
|
$(DESTDIR)/fixtimer.exe
|
|
|
|
all: $(DESTDIR) $(PGMS) install
|
|
|
|
$(DESTDIR):
|
|
@INSTALL@ $(INSTDIRFLAGS) $@
|
|
|
|
install: $(INSTALLED)
|
|
|
|
# Install the programs
|
|
$(DESTDIR)/ifc.exe: ifc_exe.uue
|
|
uudecode <ifc_exe.uue
|
|
mv ifc.exe $(DESTDIR)/ifc.exe
|
|
|
|
$(DESTDIR)/cklength.exe: cklength.uue
|
|
uudecode <cklength.uue
|
|
mv cklength.exe $(DESTDIR)/cklength.exe
|
|
|
|
$(DESTDIR)/fixtimer.exe: fixtimer.uue
|
|
uudecode <fixtimer.uue
|
|
mv fixtimer.exe $(DESTDIR)/fixtimer.exe
|
|
|