summaryrefslogtreecommitdiffstats
path: root/testsuites/samples/pppd
diff options
context:
space:
mode:
Diffstat (limited to 'testsuites/samples/pppd')
-rw-r--r--testsuites/samples/pppd/Makefile.am13
1 files changed, 4 insertions, 9 deletions
diff --git a/testsuites/samples/pppd/Makefile.am b/testsuites/samples/pppd/Makefile.am
index ad1bf6f63e..862ef229ac 100644
--- a/testsuites/samples/pppd/Makefile.am
+++ b/testsuites/samples/pppd/Makefile.am
@@ -7,18 +7,15 @@ PGM = ${ARCH}/$(SAMPLE).exe
MANAGERS = io event semaphore
-C_FILES = init.c pppdapp.c
-C_O_FILES = $(C_FILES:%.c=${ARCH}/%.$(OBJEXT))
+noinst_LIBRARIES = lib.a
+lib_a_SOURCES = init.c pppdapp.c netconfig.h system.h
-H_FILES = netconfig.h system.h
-
-SRCS = $(C_FILES) $(H_FILES)
-OBJS = $(C_O_FILES)
+OBJS = $(lib_a_OBJECTS)
PRINT_SRCS = $(DOCS)
include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
-include $(top_srcdir)/../automake/compile.am
+include $(top_srcdir)/../automake/amcompile.am
include $(top_srcdir)/../automake/leaf.am
include $(top_srcdir)/sample.am
@@ -33,8 +30,6 @@ all-local: $(TMPINSTALL_FILES)
${PGM}: $(OBJS) $(LINK_FILES)
$(make-exe)
-EXTRA_DIST = $(C_FILES) $(H_FILES)
-
CLEANFILES = $(TMPINSTALL_FILES)
include $(top_srcdir)/../automake/local.am