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