mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-21 05:21:50 +08:00
Rework.
This commit is contained in:
@@ -9,43 +9,21 @@ MANAGERS = io event
|
||||
noinst_LIBRARIES = lib.a
|
||||
lib_a_SOURCES = init.c
|
||||
|
||||
DOCS = loopback.scn
|
||||
testsdir = $(libdir)/tests
|
||||
scndir = $(testsdir)
|
||||
dist_scn_DATA = loopback.scn
|
||||
|
||||
OBJS = $(lib_a_OBJECTS)
|
||||
|
||||
|
||||
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)/samples/$(dirstamp):
|
||||
@$(mkdir_p) $(project_bspdir)/samples
|
||||
@: > $(project_bspdir)/samples/$(dirstamp)
|
||||
$(project_bspdir)/tests/$(dirstamp):
|
||||
@$(mkdir_p) $(project_bspdir)/tests
|
||||
@: > $(project_bspdir)/tests/$(dirstamp)
|
||||
|
||||
$(project_bspdir)/samples/loopback.exe: $(PGM) $(project_bspdir)/samples/$(dirstamp)
|
||||
$(INSTALL_PROGRAM) $< $@
|
||||
|
||||
$(project_bspdir)/tests/loopback.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
|
||||
$(INSTALL_PROGRAM) $< $@
|
||||
|
||||
TMPINSTALL_FILES = $(project_bspdir)/tests/loopback.exe
|
||||
TMPINSTALL_FILES += $(project_bspdir)/samples/loopback.exe
|
||||
|
||||
$(PGM): ${ARCH}/$(dirstamp)
|
||||
|
||||
tests_SCRIPTS = $(PGM)
|
||||
|
||||
all-local: $(TMPINSTALL_FILES)
|
||||
|
||||
${PGM}: $(OBJS) $(LINK_FILES)
|
||||
$(PGM): $(OBJS) $(LINK_FILES)
|
||||
$(make-exe)
|
||||
|
||||
EXTRA_DIST = $(DOCS)
|
||||
|
||||
CLEANFILES = $(TMPINSTALL_FILES)
|
||||
|
||||
include $(top_srcdir)/../automake/local.am
|
||||
|
||||
Reference in New Issue
Block a user