source: rtems/c/src/tests/mptests/mp01/node1/Makefile.in @ ae2ddb8

4.104.114.84.95
Last change on this file since ae2ddb8 was ae2ddb8, checked in by Joel Sherrill <joel.sherrill@…>, on 08/02/99 at 15:40:27

Patch from Ralf Corsepius <corsepiu@…>:

The patch below fixes a nasty bug in acpolish, which has broken many
Makefile.ins below c/src/tests/

APPLYING THE PATCH:

patch -p1 < rtems-rc-19990709-5.diff

The essential part of this patch is the diff-fragment for acpolish
contained in this patch. Ie. if any of the other diffs do not apply,
make sure that the acpolish diff was applied correctly and then run

cd <srcdir>
tools/update/rtems-polish.sh -ac

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