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

4.104.114.84.9
Last change on this file since b98d0013 was b98d0013, checked in by Ralf Corsepius <ralf.corsepius@…>, on Nov 7, 2005 at 7:30:36 AM

Partial conversion to automake.

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