source: rtems/make/host.cfg.in @ 3a8915e

4.104.114.84.95
Last change on this file since 3a8915e was 3a8915e, checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/99 at 17:55:25

Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@…>
applied. This modified many Makefiles and custom files and makes many more
settings (network, multiprocessing, etc) gnerated by autoconf.

  • Property mode set to 100644
File size: 1.6 KB
RevLine 
[bffb938]1#
[21c1513]2#  $Id$
[bffb938]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
[6693a68]18SHELL=@SHELL@
[bffb938]19ECHO=echo
20
[6693a68]21CAT=cat
[bffb938]22RM=@RM@ -f
23CP=@CP@
24MV=@MV@
25LN=@LN@
[817466c]26MKDIR=mkdir
[6693a68]27CHMOD=chmod
28SED=sed
29# Anybody using this?
30# M4=@M4@
[bffb938]31
[011677f]32# Global tools
[6693a68]33PACKHEX=$(PROJECT_BIN)/packhex
[011677f]34
[6693a68]35INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change
[817466c]36INSTALL_VARIANT=$(INSTALL_CHANGE) -V "$(LIB_VARIANT)"
[bffb938]37
[98100d2]38# FIXME: HACK for a bug in cygwin-hosted egcs which returns a mixture
39#        of '\\' and '/' as path separators.
40#        Should be removed as soon as this bug is fixed in egcs.
41GCCSED = @GCCSED@
42
[bffb938]43# ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile
44#
45#  Must have shell functions.  Some ksh's core dump mysteriously and
46#  unreliably on RTEMS shell scripts.  bash appears to be the most
47#  reliable but late model ksh's are usually OK.
48KSH=@KSH@
49
50#
51#  Rule to install a shell script with the proper shell to run it.
52#
53
54# when debugging, one may want to save the previous incarnation of the
55# installed script.  Replace the first line of this rule to do this.
56#
57#       -$(RM) $@.old
58#       -$(MV) $@ $@.old >/dev/null 2>&1
59
[6693a68]60# OBSOLETE: Don't use this anymore, this may be removed in future
[bffb938]61define make-script
62        -$(RM) $@
63        $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \
64               -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@
65        $(CHMOD) 0555 $@
66endef
[f95d2b53]67
68INSTBINFLAGS  = -m 0755
69INSTDATAFLAGS = -m 0644
70INSTLIBFLAGS  = -m 0644
71INSTDIRFLAGS  = -m 0755 -d
72INSTINCFLAGS  = -m 0644
[dfe7746e]73
74INSTALL_DATA = $(INSTALL) $(INSTDATAFLAGS)
Note: See TracBrowser for help on using the repository browser.