source: rtems/make/host.cfg.in @ 39136318

4.104.114.84.95
Last change on this file since 39136318 was 8548fe0, checked in by Joel Sherrill <joel.sherrill@…>, on 02/18/99 at 18:36:05

Part of the automake VI patch from Ralf Corsepius <corsepiu@…>:

5) rtems-rc-19990202-1.diff/reorg-install.sh

reorg-install.sh fixes a Makefile variable name clash of RTEMS
configuration files and automake/autoconf standards.
Until now, RTEMS used $(INSTALL) for install-if-change. Automake and
autoconf use $(INSTALL) for a bsd-compatible install. As
install-if-change and bsd-install are not compatible, I renamed all
references to install-if-changed to $(INSTALL_CHANGED) and used
$(INSTALL) for bsd-install (==automake/autoconf standard). When
automake will be introduced install-if-change will probably be replaced
by $(INSTALL) and therefore will slowly vanish. For the moment, this
patch fixes a very nasty problem which prevents adding any automake file
until now (There are still more).

  • 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
33# Global tools
34PACKHEX=$(PROJECT_TOOLS)/packhex
35
36INSTALL_CHANGE=$(PROJECT_TOOLS)/install-if-change
37INSTALL_VARIANT=$(PROJECT_TOOLS)/install-if-change -V "$(LIB_VARIANT)"
38
39# FIXME: HACK for a bug in cygwin-hosted egcs which returns a mixture
40#        of '\\' and '/' as path separators.
41#        Should be removed as soon as this bug is fixed in egcs.
42GCCSED = @GCCSED@
43
44# ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile
45#
46#  Must have shell functions.  Some ksh's core dump mysteriously and
47#  unreliably on RTEMS shell scripts.  bash appears to be the most
48#  reliable but late model ksh's are usually OK.
49KSH=@KSH@
50
51#
52# RCS support
53#
54RCS_CLEAN=$(PROJECT_TOOLS)/rcs-clean
55
56#
57#  Rule to install a shell script with the proper shell to run it.
58#
59
60# when debugging, one may want to save the previous incarnation of the
61# installed script.  Replace the first line of this rule to do this.
62#
63#       -$(RM) $@.old
64#       -$(MV) $@ $@.old >/dev/null 2>&1
65
66define make-script
67        -$(RM) $@
68        $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \
69               -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@
70        $(CHMOD) 0555 $@
71endef
72
73INSTBINFLAGS  = -m 0755
74INSTDATAFLAGS = -m 0644
75INSTLIBFLAGS  = -m 0644
76INSTDIRFLAGS  = -m 0755 -d
77INSTINCFLAGS  = -m 0644
Note: See TracBrowser for help on using the repository browser.