4.104.114.84.95
Last change
on this file since 21c1513 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 | |
---|
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 | SED=@SED@ |
---|
31 | M4=@M4@ |
---|
32 | |
---|
33 | INSTALL=$(PROJECT_TOOLS)/install-if-change |
---|
34 | INSTALL_VARIANT=$(PROJECT_TOOLS)/install-if-change -V "$(LIB_VARIANT)" |
---|
35 | |
---|
36 | FGREP=@FGREP@ |
---|
37 | GREP=@GREP@ |
---|
38 | EGREP=@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. |
---|
45 | KSH=@KSH@ |
---|
46 | |
---|
47 | # |
---|
48 | # RCS support |
---|
49 | # |
---|
50 | RCS_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 | |
---|
62 | define make-script |
---|
63 | -$(RM) $@ |
---|
64 | $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \ |
---|
65 | -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@ |
---|
66 | $(CHMOD) 0555 $@ |
---|
67 | endef |
---|
Note: See
TracBrowser
for help on using the repository browser.