forked from Imagelibrary/rtems
Rework.
This commit is contained in:
@@ -2,46 +2,30 @@
|
||||
## $Id$
|
||||
##
|
||||
|
||||
|
||||
MANAGERS = io rate_monotonic
|
||||
|
||||
noinst_LIBRARIES = lib.a
|
||||
lib_a_SOURCES = init.c getall.c task1.c system.h
|
||||
|
||||
DOCS = rtmonuse.scn
|
||||
testsdir = $(libdir)/tests
|
||||
scndir = $(testsdir)
|
||||
dist_scn_DATA = rtmonuse.scn
|
||||
|
||||
OBJS = $(lib_a_OBJECTS)
|
||||
|
||||
|
||||
PGM = ${ARCH}/rtmonuse.exe
|
||||
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
|
||||
project_bspdir=$(PROJECT_ROOT)
|
||||
|
||||
$(project_bspdir)/tests/$(dirstamp):
|
||||
@$(mkdir_p) $(project_bspdir)/tests
|
||||
@: > $(project_bspdir)/tests/$(dirstamp)
|
||||
|
||||
$(project_bspdir)/tests/rtmonuse.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
|
||||
$(INSTALL_PROGRAM) $< $@
|
||||
|
||||
TMPINSTALL_FILES = $(project_bspdir)/tests/rtmonuse.exe
|
||||
|
||||
$(PGM): ${ARCH}/$(dirstamp)
|
||||
|
||||
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/../support/include
|
||||
|
||||
${PGM}: $(OBJS) $(LINK_FILES)
|
||||
tests_SCRIPTS = $(PGM)
|
||||
|
||||
$(PGM): $(OBJS) $(LINK_FILES)
|
||||
$(make-exe)
|
||||
|
||||
all-local: $(TMPINSTALL_FILES)
|
||||
|
||||
EXTRA_DIST = $(DOCS)
|
||||
|
||||
CLEANFILES = $(TMPINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
|
||||
Reference in New Issue
Block a user