forked from Imagelibrary/rtems
Expand sample.am.
This commit is contained in:
@@ -18,7 +18,26 @@ OBJS = $(lib_a_OBJECTS)
|
||||
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
|
||||
include $(top_srcdir)/../automake/compile.am
|
||||
include $(top_srcdir)/../automake/leaf.am
|
||||
include $(top_srcdir)/sample.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/$(TEST).exe: $(PGM) $(project_bspdir)/samples/$(dirstamp)
|
||||
$(INSTALL_PROGRAM) $< $@
|
||||
|
||||
$(project_bspdir)/tests/$(TEST).exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
|
||||
$(INSTALL_PROGRAM) $< $@
|
||||
|
||||
TMPINSTALL_FILES = $(project_bspdir)/tests/$(TEST).exe
|
||||
TMPINSTALL_FILES += $(project_bspdir)/samples/$(TEST).exe
|
||||
|
||||
$(PGM): ${ARCH}/$(dirstamp)
|
||||
|
||||
# AM_CPPFLAGS += -DRTEMS_TEST_IO_STREAM
|
||||
|
||||
|
||||
Reference in New Issue
Block a user