From a6b588d649d6fcc933aa356f3c36a1d2f6391976 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Sun, 13 Nov 2005 06:46:05 +0000 Subject: Convert to using *_PROGRAMS. --- testsuites/samples/pppd/Makefile.am | 20 ++++++++------------ 1 file changed, 8 insertions(+), 12 deletions(-) (limited to 'testsuites/samples/pppd') diff --git a/testsuites/samples/pppd/Makefile.am b/testsuites/samples/pppd/Makefile.am index d7b37fd9e7..9aec709f6c 100644 --- a/testsuites/samples/pppd/Makefile.am +++ b/testsuites/samples/pppd/Makefile.am @@ -2,28 +2,24 @@ ## $Id$ ## -PGM = ${ARCH}/pppd.exe - MANAGERS = io event semaphore -noinst_LIBRARIES = lib.a -lib_a_SOURCES = init.c pppdapp.c netconfig.h system.h - -OBJS = $(lib_a_OBJECTS) - -testsdir = $(libdir)/tests +rtems_tests_PROGRAMS = pppd.exe +pppd_exe_SOURCES = init.c pppdapp.c netconfig.h system.h include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg include $(top_srcdir)/../automake/compile.am include $(top_srcdir)/../automake/leaf.am -$(PGM): ${ARCH}/$(dirstamp) +pppd_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel) -LD_LIBS = -lpppd +pppd_exe_LDLIBS = -lpppd -tests_SCRIPTS = $(PGM) +LINK_OBJS = $(pppd_exe_OBJECTS) $(pppd_exe_LDADD) +LINK_LIBS = $(pppd_exe_LDLIBS) -$(PGM): $(OBJS) $(LINK_FILES) +pppd.exe$(EXEEXT): $(pppd_exe_OBJECTS) $(pppd_exe_DEPENDENCIES) + @rm -f pppd.exe$(EXEEXT) $(make-exe) include $(top_srcdir)/../automake/local.am -- cgit v1.2.3