summaryrefslogtreecommitdiffstats
path: root/make/host.cfg.in
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-20 19:30:30 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1998-01-20 19:30:30 +0000
commitbffb93879940c71c58d2c66410e1bd5e5e4dc979 (patch)
tree2b13eb892f6022cb62a7847f2d27fb44e5e313ae /make/host.cfg.in
parent3294650cc34a7b1e6e669ecd4f95fba26ac4b97d (diff)
downloadrtems-bffb93879940c71c58d2c66410e1bd5e5e4dc979.tar.bz2
Removed PROJECT_HOME and CONFIG_DIR variables.
Diffstat (limited to 'make/host.cfg.in')
-rw-r--r--make/host.cfg.in68
1 files changed, 68 insertions, 0 deletions
diff --git a/make/host.cfg.in b/make/host.cfg.in
new file mode 100644
index 0000000000..0f088aff56
--- /dev/null
+++ b/make/host.cfg.in
@@ -0,0 +1,68 @@
+#
+# $Id $
+#
+# OS-specific configuration
+#
+# Author: Ralf Corsepius (corsepiu@faw.uni-ulm.de) 97/11/08
+#
+# Derived from rtems/c/make/os/*.cfg in previous RTEMS version.
+#
+
+RTEMS_HOST = @RTEMS_HOST@
+
+#
+# Stuff to clean and clobber for the OS
+#
+
+CLEAN_OS =
+CLOBBER_OS = *~ *.bak TAGS tags
+
+SHELL=/bin/sh
+ECHO=echo
+
+CAT=@CAT@
+RM=@RM@ -f
+CP=@CP@
+MV=@MV@
+LN=@LN@
+MKDIR=@MKDIR@
+CHMOD=@CHMOD@
+ED=@ED@
+SED=@SED@
+M4=@M4@
+
+INSTALL=$(PROJECT_TOOLS)/install-if-change
+INSTALL_VARIANT=$(PROJECT_TOOLS)/install-if-change -V "$(LIB_VARIANT)"
+
+FGREP=@FGREP@
+GREP=@GREP@
+EGREP=@EGREP@
+
+# ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile
+#
+# Must have shell functions. Some ksh's core dump mysteriously and
+# unreliably on RTEMS shell scripts. bash appears to be the most
+# reliable but late model ksh's are usually OK.
+KSH=@KSH@
+
+#
+# RCS support
+#
+RCS_CLEAN=$(PROJECT_TOOLS)/rcs-clean
+
+#
+# Rule to install a shell script with the proper shell to run it.
+#
+
+# when debugging, one may want to save the previous incarnation of the
+# installed script. Replace the first line of this rule to do this.
+#
+# -$(RM) $@.old
+# -$(MV) $@ $@.old >/dev/null 2>&1
+
+define make-script
+ -$(RM) $@
+ $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \
+ -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@
+ $(CHMOD) 0555 $@
+endef