diff options
Diffstat (limited to 'testsuites/psxtests/psxmount/Makefile.am')
-rw-r--r-- | testsuites/psxtests/psxmount/Makefile.am | 36 |
1 files changed, 6 insertions, 30 deletions
diff --git a/testsuites/psxtests/psxmount/Makefile.am b/testsuites/psxtests/psxmount/Makefile.am index 41f94cbc61..941f077b02 100644 --- a/testsuites/psxtests/psxmount/Makefile.am +++ b/testsuites/psxtests/psxmount/Makefile.am @@ -2,56 +2,32 @@ ## $Id$ ## - MANAGERS = all noinst_LIBRARIES = lib.a lib_a_SOURCES = main.c test.c ../include/pmacros.h -DOCS = psxmount.scn +testsdir = $(libdir)/tests +scndir = $(testsdir) +dist_scn_DATA = psxmount.scn OBJS = $(lib_a_OBJECTS) - PGM = ${ARCH}/psxmount.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/psxmount.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp) - $(INSTALL_PROGRAM) $< $@ - -$(project_bspdir)/tests/screens/psxtests/$(dirstamp): - @$(mkdir_p) $(project_bspdir)/tests/screens/psxtests - @: > $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - -$(project_bspdir)/tests/screens/psxtests/psxmount.scn: psxmount.scn $(project_bspdir)/tests/screens/psxtests/$(dirstamp) - $(INSTALL_DATA) $< $@ - -TMPINSTALL_FILES = $(project_bspdir)/tests/psxmount.exe -TMPINSTALL_FILES += $(project_bspdir)/tests/screens/psxtests/psxmount.scn - $(PGM): ${ARCH}/$(dirstamp) - AM_CPPFLAGS += -I$(top_srcdir)/include AM_CPPFLAGS += -I$(top_srcdir)/../support/include -${PGM}: $(OBJS) $(LINK_FILES) - $(make-exe) - -all-local: $(TMPINSTALL_FILES) - -EXTRA_DIST = $(DOCS) +tests_SCRIPTS = $(PGM) -CLEANFILES = $(TMPINSTALL_FILES) +$(PGM): $(OBJS) $(LINK_FILES) + $(make-exe) include $(top_srcdir)/../automake/local.am |