source: rtems/c/src/tests/mptests/mp10/node1/Makefile.in @ 196094eb

4.104.114.84.95
Last change on this file since 196094eb was 196094eb, checked in by Joel Sherrill <joel.sherrill@…>, on 04/19/99 at 13:19:14

Patch from Ralf Corsepius <corsepiu@…>:

This one is an enhancement to acpolish.

It replaces some Makefile variables by others variable in Makefile.ins
(tries to use unique name for some variables). It therefore eases
parsing Makefile.ins for further automatic Makefile.in conversions in
future.

To apply:

cd <rtems-source-tree>
sh <path-to>/rtems-rc-19990407-8.sh
./autogen

  • 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 = c/src/tests/mptests/mp10/node1
10
11INSTALL = @INSTALL@
12
13RTEMS_ROOT = $(top_srcdir)/@RTEMS_TOPdir@
14PROJECT_ROOT = @PROJECT_ROOT@
15
16VPATH = @srcdir@:@srcdir@/..
17
18NODE=1
19TEST=mp10
20PGM=${ARCH}/$(TEST)-node$(NODE).exe
21
22MANAGERS=io mp message semaphore
23
24# C source names, if any, go here -- minus the .c
25C_PIECES=init task1 task2 task3
26C_FILES=$(C_PIECES:%=%.c)
27C_O_FILES=$(C_PIECES:%=${ARCH}/%.o)
28
29H_FILES=system.h
30
31DOCTYPES=doc scn
32DOCS=$(DOCTYPES:%=$(TEST).%)
33
34SRCS=$(DOCS) $(C_FILES) $(H_FILES)
35OBJS=$(C_O_FILES)
36
37PRINT_SRCS=$(DOCS)
38
39include $(RTEMS_ROOT)/make/custom/${RTEMS_BSP}.cfg
40include $(RTEMS_ROOT)/make/leaf.cfg
41
42#
43# (OPTIONAL) Add local stuff here using +=
44#
45
46DEFINES  += -DNODE_NUMBER=$(NODE)
47CPPFLAGS += -I.
48CFLAGS   +=
49
50LD_PATHS  +=
51LD_LIBS   +=
52LDFLAGS   +=
53
54#
55# Add your list of files to delete here.  The config files
56#  already know how to delete some stuff, so you may want
57#  to just run 'make clean' first to see what gets missed.
58#  'make clobber' already includes 'make clean'
59#
60
61CLEAN_ADDITIONS +=
62CLOBBER_ADDITIONS +=
63
64all:    ${ARCH} $(SRCS) $(PGM)
65        $(INSTALL_VARIANT) -m 555 ${PGM} ${PROJECT_RELEASE}/tests
66        $(INSTALL_CHANGE) $(srcdir)/$(TEST).scn \
67            ${PROJECT_RELEASE}/tests/screens/mptests/node$(NODE)/$(TEST).scn
68
69${PGM}: $(OBJS) $(LINK_FILES)
70        $(make-exe)
71
72Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
73        cd $(top_builddir) \
74         && CONFIG_FILES=$(subdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
Note: See TracBrowser for help on using the repository browser.