source: rtems/make/host.cfg.in @ 2d7d605

4.104.114.84.9
Last change on this file since 2d7d605 was 06fa582, checked in by Joel Sherrill <joel.sherrill@…>, on Aug 19, 1998 at 12:56:20 PM

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: 1.6 KB
Line 
1#
2#  $Id$
3#
4# OS-specific configuration
5#
6# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) 97/11/08
7#
8# Derived from rtems/c/make/os/*.cfg in previous RTEMS version.
9#
10
11RTEMS_HOST = @RTEMS_HOST@
12
13#
14# Stuff to clean and clobber for the OS
15#
16
17CLEAN_OS =
18CLOBBER_OS = *~ *.bak TAGS tags
19
20SHELL=/bin/sh
21ECHO=echo
22
23CAT=@CAT@
24RM=@RM@ -f
25CP=@CP@
26MV=@MV@
27LN=@LN@
28MKDIR=@MKDIR@
29CHMOD=@CHMOD@
30SED=@SED@
31M4=@M4@
32
33INSTALL=$(PROJECT_TOOLS)/install-if-change
34INSTALL_VARIANT=$(PROJECT_TOOLS)/install-if-change -V "$(LIB_VARIANT)"
35
36# FIXME: HACK for a bug in cygwin-hosted egcs which returns a mixture
37#        of '\\' and '/' as path separators.
38#        Should be removed as soon as this bug is fixed in egcs.
39GCCSED = @GCCSED@
40
41# ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile
42#
43#  Must have shell functions.  Some ksh's core dump mysteriously and
44#  unreliably on RTEMS shell scripts.  bash appears to be the most
45#  reliable but late model ksh's are usually OK.
46KSH=@KSH@
47
48#
49# RCS support
50#
51RCS_CLEAN=$(PROJECT_TOOLS)/rcs-clean
52
53#
54#  Rule to install a shell script with the proper shell to run it.
55#
56
57# when debugging, one may want to save the previous incarnation of the
58# installed script.  Replace the first line of this rule to do this.
59#
60#       -$(RM) $@.old
61#       -$(MV) $@ $@.old >/dev/null 2>&1
62
63define make-script
64        -$(RM) $@
65        $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \
66               -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@
67        $(CHMOD) 0555 $@
68endef
69
70INSTBINFLAGS  = -m 0755
71INSTDATAFLAGS = -m 0644
72INSTLIBFLAGS  = -m 0644
73INSTDIRFLAGS  = -m 0755 -d
74INSTINCFLAGS  = -m 0644
Note: See TracBrowser for help on using the repository browser.