forked from Imagelibrary/rtems
* libtests.am: Use TMPINSTALL_FILES = to make automake-1.5 happy. * rtems++/Makefile.am: LD_FLAGS = -lrtems++.
50 lines
882 B
Makefile
50 lines
882 B
Makefile
##
|
|
## $Id$
|
|
##
|
|
|
|
AUTOMAKE_OPTIONS = foreign 1.4
|
|
|
|
TEST = rtems++
|
|
|
|
MANAGERS = event io msg sem signal timer rate_monotonic
|
|
|
|
CC_FILES = Init.cc Task1.cc Task2.cc Task3.cc
|
|
CC_O_FILES = $(CC_FILES:%.cc=${ARCH}/%.o)
|
|
|
|
H_FILES = System.h
|
|
noinst_HEADERS = $(H_FILES)
|
|
|
|
DOCTYPES = scn doc
|
|
DOCS = $(DOCTYPES:%=$(TEST).%)
|
|
|
|
SRCS = $(DOCS) $(C_FILES) $(H_FILES)
|
|
OBJS = $(CC_O_FILES)
|
|
|
|
PRINT_SRCS = $(DOCS)
|
|
|
|
PGM = ${ARCH}/$(TEST).exe
|
|
|
|
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
|
include $(top_srcdir)/../../../../automake/compile.am
|
|
include $(top_srcdir)/../../../../automake/leaf.am
|
|
include $(top_srcdir)/libtests.am
|
|
|
|
#
|
|
# (OPTIONAL) Add local stuff here using +=
|
|
#
|
|
|
|
if HAS_CXX
|
|
LD_LIBS = -lrtems++
|
|
|
|
${PGM}: $(OBJS) $(LINK_FILES)
|
|
$(make-cxx-exe)
|
|
|
|
all-local: $(ARCH) $(TMPINSTALL_FILES)
|
|
else
|
|
all-local:
|
|
endif
|
|
|
|
EXTRA_DIST = $(CC_FILES) $(DOCS)
|
|
|
|
include $(top_srcdir)/../../../../automake/local.am
|