source: rtems/c/src/make/host.cfg.in @ c1c1f33

4.104.114.84.95
Last change on this file since c1c1f33 was 49da88c, checked in by Joel Sherrill <joel.sherrill@…>, on 11/23/99 at 15:53:09

Patch rtems-rc-19991117-16.diff from Ralf Corsepius <corsepiu@…>:

  • the PACKHEX etc problem
  • prevents the *.rels being removed inside the build-tree
  • a typo which only shows for when MP is activated
  • Alters some custom/*cfg files
  • Property mode set to 100644
File size: 1.7 KB
Line 
1#
2#  $Id$
3#
4# OS-specific configuration
5#
6# Derived from rtems/c/make/os/*.cfg in previous RTEMS version.
7#
8
9RTEMS_HOST = @RTEMS_HOST@
10
11#
12# Stuff to clean and clobber for the OS
13#
14
15CLEAN_OS =
16CLOBBER_OS = *~ *.bak TAGS tags
17
18SHELL=@SHELL@
19ECHO=echo
20
21CAT=cat
22RM=@RM@ -f
23CP=@CP@
24MV=@MV@
25LN=@LN@
26MKDIR=mkdir
27CHMOD=chmod
28SED=sed
29# Anybody using this?
30# M4=@M4@
31
32# Global tools
33ifndef PACKHEX
34PACKHEX=$(PROJECT_BIN)/packhex
35endif
36
37ifndef INSTALL_CHANGE
38INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change
39endif
40INSTALL_VARIANT=$(INSTALL_CHANGE) -V "$(LIB_VARIANT)"
41
42# FIXME: HACK for a bug in cygwin-hosted egcs which returns a mixture
43#        of '\\' and '/' as path separators.
44#        Should be removed as soon as this bug is fixed in egcs.
45GCCSED = @GCCSED@
46
47# ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile
48#
49#  Must have shell functions.  Some ksh's core dump mysteriously and
50#  unreliably on RTEMS shell scripts.  bash appears to be the most
51#  reliable but late model ksh's are usually OK.
52KSH=@KSH@
53
54#
55#  Rule to install a shell script with the proper shell to run it.
56#
57
58# when debugging, one may want to save the previous incarnation of the
59# installed script.  Replace the first line of this rule to do this.
60#
61#       -$(RM) $@.old
62#       -$(MV) $@ $@.old >/dev/null 2>&1
63
64# OBSOLETE: Don't use this anymore, this may be removed in future
65define make-script
66        -$(RM) $@
67        $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \
68               -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@
69        $(CHMOD) 0555 $@
70endef
71
72INSTBINFLAGS  = -m 0755
73INSTDATAFLAGS = -m 0644
74INSTLIBFLAGS  = -m 0644
75INSTDIRFLAGS  = -m 0755 -d
76INSTINCFLAGS  = -m 0644
77
78ifndef INSTALL_DATA
79INSTALL_DATA = $(INSTALL) $(INSTDATAFLAGS)
80endif
Note: See TracBrowser for help on using the repository browser.