4.104.114.84.95
Last change
on this file since a858910 was
bffb938,
checked in by Joel Sherrill <joel.sherrill@…>, on 01/20/98 at 19:30:30
|
Removed PROJECT_HOME and CONFIG_DIR variables.
|
-
Property mode set to
100644
|
File size:
1.3 KB
|
Rev | Line | |
---|
[bffb938] | 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 | |
---|
| 11 | RTEMS_HOST = @RTEMS_HOST@ |
---|
| 12 | |
---|
| 13 | # |
---|
| 14 | # Stuff to clean and clobber for the OS |
---|
| 15 | # |
---|
| 16 | |
---|
| 17 | CLEAN_OS = |
---|
| 18 | CLOBBER_OS = *~ *.bak TAGS tags |
---|
| 19 | |
---|
| 20 | SHELL=/bin/sh |
---|
| 21 | ECHO=echo |
---|
| 22 | |
---|
| 23 | CAT=@CAT@ |
---|
| 24 | RM=@RM@ -f |
---|
| 25 | CP=@CP@ |
---|
| 26 | MV=@MV@ |
---|
| 27 | LN=@LN@ |
---|
| 28 | MKDIR=@MKDIR@ |
---|
| 29 | CHMOD=@CHMOD@ |
---|
| 30 | ED=@ED@ |
---|
| 31 | SED=@SED@ |
---|
| 32 | M4=@M4@ |
---|
| 33 | |
---|
| 34 | INSTALL=$(PROJECT_TOOLS)/install-if-change |
---|
| 35 | INSTALL_VARIANT=$(PROJECT_TOOLS)/install-if-change -V "$(LIB_VARIANT)" |
---|
| 36 | |
---|
| 37 | FGREP=@FGREP@ |
---|
| 38 | GREP=@GREP@ |
---|
| 39 | EGREP=@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. |
---|
| 46 | KSH=@KSH@ |
---|
| 47 | |
---|
| 48 | # |
---|
| 49 | # RCS support |
---|
| 50 | # |
---|
| 51 | RCS_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 | |
---|
| 63 | define make-script |
---|
| 64 | -$(RM) $@ |
---|
| 65 | $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \ |
---|
| 66 | -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@ |
---|
| 67 | $(CHMOD) 0555 $@ |
---|
| 68 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.