source: rtems/c/src/make/leaf.cfg @ cc2ccd6e

Last change on this file since cc2ccd6e was cc2ccd6e, checked in by cvs2git <rtems-devel@…>, on 04/03/00 at 19:56:55

This commit was manufactured by cvs2svn to create branch 'rtems-4-5-branch'.

Cherrypick from master 2000-04-03 19:56:54 UTC Joel Sherrill <joel.sherrill@…> 'New file from Ralf Corsepius <corsepiu@…> as part of':

c/src/make/leaf.cfg

  • Property mode set to 100644
File size: 1.7 KB
Line 
1#
2#  $Id$
3#
4# make/leaf.cfg
5#
6#   Make(1) configuration file include'd by all leaf-node Makefiles
7#
8
9#
10# list of all known managers
11# This list is used, along with $(MANAGERS) (set by app makefile)
12#   to build the list of *not wanted* drivers.
13#
14# ref: target compiler config file for usage
15#
16
17MANAGER_LIST=dpmem event io msg mp part region sem signal timer rtmon ext
18
19# Convert *real* spellings in $(MANAGERS) (set
20#   in application makefile) to their "correct" name.
21# (I hate abbreviations :-)
22
23MANAGERS := $(patsubst message,            msg,   $(MANAGERS))
24MANAGERS := $(patsubst multi_processor,    mp,    $(MANAGERS))
25MANAGERS := $(patsubst partition,          part,  $(MANAGERS))
26MANAGERS := $(patsubst rate_monotonic,     rtmon, $(MANAGERS))
27MANAGERS := $(patsubst semaphore,          sem,   $(MANAGERS))
28MANAGERS := $(patsubst dual_ported_memory, dpmem, $(MANAGERS))
29MANAGERS := $(patsubst extension,          ext,   $(MANAGERS))
30
31# allow 'all' to mean all managers
32MANAGERS := $(patsubst all, $(MANAGER_LIST), $(MANAGERS))
33
34# and finally rip out duplicates
35MANAGERS := $(sort $(MANAGERS))
36
37# Pull in the desired "target" compiler
38# Programs built on the host use automake generated rules.
39# This will not change $(ARCH) -- binaries will still be place as per target
40include ${CONFIG.CC}
41ifeq (${DEPEND},$(wildcard ${DEPEND}))
42include ${DEPEND}                    # pull in dependencies if they exist
43endif
44
45#
46# LIBSUFFIX_VA, will "index" into LIBSUFF-*-v macros and
47#   convert our ${ARCH} back into .a or _g.a or _p.a based on debug or profile.
48#   Useful for installing libraries.
49#
50
51LIBSUFFIX_o-optimize_V=
52LIBSUFFIX_o-debug_V=_g
53LIBSUFFIX_o-profile_V=_p
54
55LIB_VARIANT=$(LIBSUFFIX_$(ARCH)_V)
56LIBSUFFIX_VA = $(LIB_VARIANT).a
Note: See TracBrowser for help on using the repository browser.