forked from Imagelibrary/rtems
which ontains all what was left over from the other patches (Primarily
minor configuration cleanups).
To apply:
patch -p1 < rtems-rc-19991203-9.diff
./bootstrap
52 lines
831 B
Makefile
52 lines
831 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
|
|
|
VPATH = @srcdir@:@srcdir@/..
|
|
|
|
NODE = 2
|
|
SAMPLE = base_mp-node$(NODE)
|
|
PGM = ${ARCH}/$(SAMPLE).exe
|
|
|
|
MANAGERS = io mp
|
|
|
|
# C source names, if any, go here -- minus the .c
|
|
C_FILES = init.c apptask.c
|
|
C_O_FILES = $(C_FILES:%.c=${ARCH}/%.o)
|
|
|
|
H_FILES = system.h
|
|
|
|
DOCTYPES = doc scn
|
|
DOCS = $(DOCTYPES:%=base_mp.%)
|
|
|
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
OBJS = $(C_O_FILES)
|
|
|
|
PRINT_SRCS = $(DOCS)
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(RTEMS_ROOT)/make/leaf.cfg
|
|
include $(top_srcdir)/sample.am
|
|
|
|
if HAS_MP
|
|
|
|
#
|
|
# (OPTIONAL) Add local stuff here using +=
|
|
#
|
|
|
|
AM_CPPFLAGS += -DNODE_NUMBER=$(NODE) -I.
|
|
|
|
${PGM}: $(OBJS) $(LINK_FILES)
|
|
$(make-exe)
|
|
|
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
|
else
|
|
all-local:
|
|
endif
|
|
|
|
EXTRA_DIST = $(DOCS)
|
|
|
|
include $(top_srcdir)/../../../../automake/local.am
|