summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/pppd
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-11-11 14:33:33 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-11-11 14:33:33 +0000
commit3bb5d9449078c07fa99b593b78cdcc2165badcdd (patch)
tree0d87bee26600e537e7445d8ba7924e410f7f1b8c /testsuites/samples/pppd
parent2005-11-11 Ralf Corsepius <ralf.corsepius@rtems.org> (diff)
downloadrtems-3bb5d9449078c07fa99b593b78cdcc2165badcdd.tar.bz2
Rework.
Diffstat (limited to 'testsuites/samples/pppd')
-rw-r--r--testsuites/samples/pppd/Makefile.am26
1 files changed, 3 insertions, 23 deletions
diff --git a/testsuites/samples/pppd/Makefile.am b/testsuites/samples/pppd/Makefile.am
index 4427d8f2ef..d7b37fd9e7 100644
--- a/testsuites/samples/pppd/Makefile.am
+++ b/testsuites/samples/pppd/Makefile.am
@@ -11,39 +11,19 @@ lib_a_SOURCES = init.c pppdapp.c netconfig.h system.h
OBJS = $(lib_a_OBJECTS)
+testsdir = $(libdir)/tests
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/pppd.exe: $(PGM) $(project_bspdir)/samples/$(dirstamp)
- $(INSTALL_PROGRAM) $< $@
-
-$(project_bspdir)/tests/pppd.exe: $(PGM) $(project_bspdir)/tests/$(dirstamp)
- $(INSTALL_PROGRAM) $< $@
-
-TMPINSTALL_FILES = $(project_bspdir)/tests/pppd.exe
-TMPINSTALL_FILES += $(project_bspdir)/samples/pppd.exe
-
$(PGM): ${ARCH}/$(dirstamp)
-
LD_LIBS = -lpppd
-all-local: $(TMPINSTALL_FILES)
+tests_SCRIPTS = $(PGM)
-${PGM}: $(OBJS) $(LINK_FILES)
+$(PGM): $(OBJS) $(LINK_FILES)
$(make-exe)
-CLEANFILES = $(TMPINSTALL_FILES)
-
include $(top_srcdir)/../automake/local.am