source: rtems/testsuites/samples/base_mp/node2/Makefile.am @ e31c63e5

4.104.114.84.95
Last change on this file since e31c63e5 was e31c63e5, checked in by Joel Sherrill <joel.sherrill@…>, on 11/22/99 at 19:21:38

Patch rtems-rc-19991117-7.diff from Ralf Corsepius <corsepiu@…>
to convert the sample tests to automake.

  • Property mode set to 100644
File size: 1.1 KB
Line 
1##
2##  $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6ACLOCAL_AMFLAGS = -I $(RTEMS_TOPdir)/aclocal
7
8VPATH = @srcdir@:@srcdir@/..
9
10NODE = 2
11SAMPLE = base_mp-node$(NODE)
12PGM = ${ARCH}/$(SAMPLE).exe
13
14MANAGERS = io mp
15
16# C source names, if any, go here -- minus the .c
17C_FILES = init.c apptask.c
18C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
19
20H_FILES = system.h
21
22DOCTYPES = doc scn
23DOCS = $(DOCTYPES:%=base_mp.%)
24
25SRCS = $(DOCS) $(C_FILES) $(H_FILES)
26OBJS = $(C_O_FILES)
27
28PRINT_SRCS = $(DOCS)
29
30include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
31include $(RTEMS_ROOT)/make/leaf.cfg
32include $(top_srcdir)/sample.am
33
34if HAS_MP
35
36#
37# (OPTIONAL) Add local stuff here using +=
38#
39
40AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I.
41
42#
43# Add your list of files to delete here.  The config files
44#  already know how to delete some stuff, so you may want
45#  to just run 'make clean' first to see what gets missed.
46#  'make clobber' already includes 'make clean'
47#
48
49${PGM}: $(OBJS) $(LINK_FILES)
50        $(make-exe)
51
52all-local: $(ARCH) $(TMPINSTALL_FILES)
53else
54all-local:
55endif
56
57EXTRA_DIST = $(DOCS)
58
59include $(top_srcdir)/../../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.