source: rtems/c/src/tests/samples/cdtest/Makefile.in @ 4a238002

4.104.114.84.95
Last change on this file since 4a238002 was d6c83529, checked in by Joel Sherrill <joel.sherrill@…>, on 11/16/99 at 15:48:11

Patch rtems-rc-19991105-1.diff.gz from Ralf Corsepius
<corsepiu@…> which does the following:

This is the configuration cleanup patch:

Main changes:

  • TARGET_ARCH removed
  • target.cfg.in moved to c/make/target.cfg.in (Only configured once for all BSPs of a target)
  • BARE_XXX variables appended to bsp.cfg.in
  • autogen renamed to bootstrap
  • removed stray variables from make/custom/*.cfg

To apply:

cd <source-tree>
rm c/src/make/target.cfg.in
cp autogen bootstrap
mkdir c/make
cp make/target.cfg.in c/make/target.cfg.in
rm make/target.cfg.in
rm autogen
patch -p1 < rtems-rc-19991105-1.diff

  • Property mode set to 100644
File size: 1.6 KB
Line 
1#
2#  $Id$
3#
4
5@SET_MAKE@
6srcdir = @srcdir@
7top_srcdir = @top_srcdir@
8top_builddir = ..
9subdir = cdtest
10
11RTEMS_ROOT = @RTEMS_ROOT@
12PROJECT_ROOT = @PROJECT_ROOT@
13
14VPATH = @srcdir@
15
16SAMPLE = cdtest
17PGM = ${ARCH}/$(SAMPLE).exe
18
19MANAGERS = all
20
21# C source names, if any, go here -- minus the .c
22C_PIECES = init
23C_FILES = @HAS_CXX_TRUE@$(C_PIECES:%=%.c)
24C_O_FILES = $(C_PIECES:%=${ARCH}/%.o)
25
26# C++ source names, if any, go here -- minus the .cc
27CC_PIECES = main
28CC_FILES = @HAS_CXX_TRUE@$(CC_PIECES:%=%.cc)
29CC_O_FILES = $(CC_PIECES:%=${ARCH}/%.o)
30H_FILES = system.h
31
32DOCTYPES =
33DOCS = $(DOCTYPES:%=$(SAMPLE).%)
34
35SRCS = $(DOCS) $(C_FILES) $(CC_FILES) $(H_FILES)
36OBJS = $(C_O_FILES) $(CC_O_FILES)
37
38PRINT_SRCS = $(DOCS)
39
40PGM = ${ARCH}/$(SAMPLE).exe
41
42include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
43include $(RTEMS_ROOT)/make/leaf.cfg
44
45INSTALL_CHANGE = @INSTALL_CHANGE@
46PACKHEX = @PACKHEX@
47
48#
49# (OPTIONAL) Add local stuff here using +=
50#
51
52DEFINES +=
53CPPFLAGS +=
54CFLAGS +=
55
56LD_PATHS +=
57LD_LIBS += $(CPLUS_LD_LIBS)
58LDFLAGS +=
59
60#
61# Add your list of files to delete here.  The config files
62#  already know how to delete some stuff, so you may want
63#  to just run 'make clean' first to see what gets missed.
64#  'make clobber' already includes 'make clean'
65#
66
67CLEAN_ADDITIONS +=
68CLOBBER_ADDITIONS +=
69
70all: @HAS_CXX_TRUE@ ${ARCH} $(SRCS) $(PGM)
71@HAS_CXX_TRUE@  @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/tests
72@HAS_CXX_TRUE@  @$(INSTALL_VARIANT) -m 755 ${PGM} $(PROJECT_RELEASE)/samples
73
74${PGM}: $(OBJS) $(LINK_FILES)
75        $(make-exe)
76
77Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
78        cd $(top_builddir) \
79         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.