4.104.114.84.95
Last change
on this file since 3a8915e was
3a8915e,
checked in by Joel Sherrill <joel.sherrill@…>, on 08/06/99 at 17:55:25
|
Patch rtems-rc-19990709-6-diff from Ralf Corsepius <corsepiu@…>
applied. This modified many Makefiles and custom files and makes many more
settings (network, multiprocessing, etc) gnerated by autoconf.
|
-
Property mode set to
100644
|
File size:
1.6 KB
|
Rev | Line | |
---|
[bffb938] | 1 | # |
---|
[21c1513] | 2 | # $Id$ |
---|
[bffb938] | 3 | # |
---|
| 4 | # OS-specific configuration |
---|
| 5 | # |
---|
| 6 | # Derived from rtems/c/make/os/*.cfg in previous RTEMS version. |
---|
| 7 | # |
---|
| 8 | |
---|
| 9 | RTEMS_HOST = @RTEMS_HOST@ |
---|
| 10 | |
---|
| 11 | # |
---|
| 12 | # Stuff to clean and clobber for the OS |
---|
| 13 | # |
---|
| 14 | |
---|
| 15 | CLEAN_OS = |
---|
| 16 | CLOBBER_OS = *~ *.bak TAGS tags |
---|
| 17 | |
---|
[6693a68] | 18 | SHELL=@SHELL@ |
---|
[bffb938] | 19 | ECHO=echo |
---|
| 20 | |
---|
[6693a68] | 21 | CAT=cat |
---|
[bffb938] | 22 | RM=@RM@ -f |
---|
| 23 | CP=@CP@ |
---|
| 24 | MV=@MV@ |
---|
| 25 | LN=@LN@ |
---|
[817466c] | 26 | MKDIR=mkdir |
---|
[6693a68] | 27 | CHMOD=chmod |
---|
| 28 | SED=sed |
---|
| 29 | # Anybody using this? |
---|
| 30 | # M4=@M4@ |
---|
[bffb938] | 31 | |
---|
[011677f] | 32 | # Global tools |
---|
[6693a68] | 33 | PACKHEX=$(PROJECT_BIN)/packhex |
---|
[011677f] | 34 | |
---|
[6693a68] | 35 | INSTALL_CHANGE=$(PROJECT_BIN)/install-if-change |
---|
[817466c] | 36 | INSTALL_VARIANT=$(INSTALL_CHANGE) -V "$(LIB_VARIANT)" |
---|
[bffb938] | 37 | |
---|
[98100d2] | 38 | # FIXME: HACK for a bug in cygwin-hosted egcs which returns a mixture |
---|
| 39 | # of '\\' and '/' as path separators. |
---|
| 40 | # Should be removed as soon as this bug is fixed in egcs. |
---|
| 41 | GCCSED = @GCCSED@ |
---|
| 42 | |
---|
[bffb938] | 43 | # ksh (or bash) is used by some shell scripts; ref build-tools/scripts/Makefile |
---|
| 44 | # |
---|
| 45 | # Must have shell functions. Some ksh's core dump mysteriously and |
---|
| 46 | # unreliably on RTEMS shell scripts. bash appears to be the most |
---|
| 47 | # reliable but late model ksh's are usually OK. |
---|
| 48 | KSH=@KSH@ |
---|
| 49 | |
---|
| 50 | # |
---|
| 51 | # Rule to install a shell script with the proper shell to run it. |
---|
| 52 | # |
---|
| 53 | |
---|
| 54 | # when debugging, one may want to save the previous incarnation of the |
---|
| 55 | # installed script. Replace the first line of this rule to do this. |
---|
| 56 | # |
---|
| 57 | # -$(RM) $@.old |
---|
| 58 | # -$(MV) $@ $@.old >/dev/null 2>&1 |
---|
| 59 | |
---|
[6693a68] | 60 | # OBSOLETE: Don't use this anymore, this may be removed in future |
---|
[bffb938] | 61 | define make-script |
---|
| 62 | -$(RM) $@ |
---|
| 63 | $(SED) -e '1,1s?^#!KSHELL?#!$(KSH)?' \ |
---|
| 64 | -e '1,1s?^#!SHELL?#!$(SHELL)?' < $< > $@ |
---|
| 65 | $(CHMOD) 0555 $@ |
---|
| 66 | endef |
---|
[f95d2b53] | 67 | |
---|
| 68 | INSTBINFLAGS = -m 0755 |
---|
| 69 | INSTDATAFLAGS = -m 0644 |
---|
| 70 | INSTLIBFLAGS = -m 0644 |
---|
| 71 | INSTDIRFLAGS = -m 0755 -d |
---|
| 72 | INSTINCFLAGS = -m 0644 |
---|
[dfe7746e] | 73 | |
---|
| 74 | INSTALL_DATA = $(INSTALL) $(INSTDATAFLAGS) |
---|
Note: See
TracBrowser
for help on using the repository browser.