source: rtems/make/host.cfg.in @ 6ee6abb

4.104.114.84.95
Last change on this file since 6ee6abb was 21c1513, checked in by Joel Sherrill <joel.sherrill@…>, on 04/27/98 at 14:20:25

Fixed bad CVS Id string.

Removed unnecessary definition of "ED".

  • Property mode set to 100644
File size: 1.3 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
36FGREP=@FGREP@
37GREP=@GREP@
38EGREP=@EGREP@
39
40# ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile
41#
42#  Must have shell functions.  Some ksh's core dump mysteriously and
43#  unreliably on RTEMS shell scripts.  bash appears to be the most
44#  reliable but late model ksh's are usually OK.
45KSH=@KSH@
46
47#
48# RCS support
49#
50RCS_CLEAN=$(PROJECT_TOOLS)/rcs-clean
51
52#
53#  Rule to install a shell script with the proper shell to run it.
54#
55
56# when debugging, one may want to save the previous incarnation of the
57# installed script.  Replace the first line of this rule to do this.
58#
59#       -$(RM) $@.old
60#       -$(MV) $@ $@.old >/dev/null 2>&1
61
62define make-script
63        -$(RM) $@
64        $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \
65               -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@
66        $(CHMOD) 0555 $@
67endef
Note: See TracBrowser for help on using the repository browser.