source: rtems/c/src/tests/samples/base_mp/node1/Makefile.am @ de759c5

4.104.114.84.95
Last change on this file since de759c5 was de759c5, checked in by Joel Sherrill <joel.sherrill@…>, on Nov 22, 1999 at 7:23:10 PM

Patch rtems-rc-19991117-8.diff from Ralf Corsepius <corsepiu@…>
to fix some minor bugs in the conversion to automake.

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