source: rtems/testsuites/samples/base_mp/node1/Makefile.am @ f8a32605

4.104.114.84.95
Last change on this file since f8a32605 was f8a32605, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/17/03 at 06:20:25

2003-12-17 Ralf Corsepius <corsepiu@…>

  • base_mp/node1/Makefile.am, base_mp/node2/Makefile.am: Eliminate VPATH.
  • Property mode set to 100644
File size: 857 bytes
Line 
1##
2##  $Id$
3##
4
5NODE = 1
6SAMPLE = base_mp-node$(NODE)
7PGM = ${ARCH}/$(SAMPLE).exe
8
9MANAGERS = io mp
10
11C_FILES = ../init.c ../apptask.c
12C_O_FILES = $(C_FILES:../%.c=${ARCH}/%.$(OBJEXT))
13
14$(ARCH)/%$(LIB_VARIANT).$(OBJEXT): ../%.c $(ARCH)/$(dirstamp)
15        ${COMPILE} -o $@ -c $<
16
17H_FILES = system.h
18
19DOCTYPES = doc scn
20DOCS = $(DOCTYPES:%=base_mp.%)
21
22SRCS = $(DOCS) $(C_FILES) $(H_FILES)
23OBJS = $(C_O_FILES)
24
25PRINT_SRCS = $(DOCS)
26
27include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
28include $(top_srcdir)/../automake/compile.am
29include $(top_srcdir)/../automake/leaf.am
30include $(top_srcdir)/sample.am
31
32AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I.
33
34if HAS_MP
35
36#
37# (OPTIONAL) Add local stuff here using +=
38#
39
40${PGM}: $(OBJS) $(LINK_FILES)
41        $(make-exe)
42
43all-local: $(TMPINSTALL_FILES)
44else
45all-local:
46endif
47
48EXTRA_DIST = $(DOCS)
49
50include $(top_srcdir)/../automake/local.am
Note: See TracBrowser for help on using the repository browser.