4.104.114.84.95
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | NODE = 1 |
---|
6 | SAMPLE = base_mp-node$(NODE) |
---|
7 | PGM = ${ARCH}/$(SAMPLE).exe |
---|
8 | |
---|
9 | MANAGERS = io mp |
---|
10 | |
---|
11 | noinst_LIBRARIES = lib.a |
---|
12 | lib_a_SOURCES = ../init.c ../apptask.c |
---|
13 | |
---|
14 | $(ARCH)/%.$(OBJEXT): ../%.c $(ARCH)/$(dirstamp) |
---|
15 | ${COMPILE} -o $@ -c $< |
---|
16 | |
---|
17 | lib_a_SOURCES += system.h |
---|
18 | |
---|
19 | DOCTYPES = doc scn |
---|
20 | DOCS = $(DOCTYPES:%=base_mp.%) |
---|
21 | |
---|
22 | SRCS = $(DOCS) |
---|
23 | OBJS = $(lib_a_OBJECTS) |
---|
24 | |
---|
25 | PRINT_SRCS = $(DOCS) |
---|
26 | |
---|
27 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
28 | include $(top_srcdir)/../automake/amcompile.am |
---|
29 | include $(top_srcdir)/../automake/leaf.am |
---|
30 | include $(top_srcdir)/sample.am |
---|
31 | |
---|
32 | AM_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 | |
---|
41 | all-local: $(TMPINSTALL_FILES) |
---|
42 | |
---|
43 | EXTRA_DIST = $(DOCS) |
---|
44 | |
---|
45 | CLEANFILES = $(TMPINSTALL_FILES) |
---|
46 | |
---|
47 | include $(top_srcdir)/../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.