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

4.104.114.84.9
Last change on this file since 6d6f1b34 was bffb938, checked in by Joel Sherrill <joel.sherrill@…>, on Jan 20, 1998 at 7:30:30 PM

Removed PROJECT_HOME and CONFIG_DIR variables.

  • 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@
30ED=@ED@
31SED=@SED@
32M4=@M4@
33
34INSTALL=$(PROJECT_TOOLS)/install-if-change
35INSTALL_VARIANT=$(PROJECT_TOOLS)/install-if-change -V "$(LIB_VARIANT)"
36
37FGREP=@FGREP@
38GREP=@GREP@
39EGREP=@EGREP@
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
Note: See TracBrowser for help on using the repository browser.