source: rtems/c/src/make/leaf.cfg @ 5a23ca84

4.104.114.84.95
Last change on this file since 5a23ca84 was c1c1f33, checked in by Joel Sherrill <joel.sherrill@…>, on Apr 3, 2000 at 7:56:54 PM

New file from Ralf Corsepius <corsepiu@…> as part of
rtems-rc-4.5.0-7.diff. This file is being added to the main branch
in hopes that it will be easier to deal with the full merge later.

  • 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.