[rtems commit] build: Merge pppd/Makefile.am

Sebastian Huber sebh at rtems.org
Wed Oct 10 12:03:03 UTC 2018


Module:    rtems
Branch:    master
Commit:    24312f3454ceb97ce7de0fa1c5ca2b1a220f2da2
Changeset: http://git.rtems.org/rtems/commit/?id=24312f3454ceb97ce7de0fa1c5ca2b1a220f2da2

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Fri Sep 14 19:51:38 2018 +0200

build: Merge pppd/Makefile.am

---

 cpukit/Makefile.am      | 25 ++++++++++++++++++++++++-
 cpukit/configure.ac     |  1 -
 cpukit/pppd/Makefile.am | 17 -----------------
 3 files changed, 24 insertions(+), 19 deletions(-)

diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index e6b7ec0..957197c 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -844,7 +844,6 @@ _SUBDIRS += wrapup
 # other libraries
 _SUBDIRS += zlib
 _SUBDIRS += telnetd
-_SUBDIRS += pppd
 
 project_lib_LIBRARIES += libftpd.a
 
@@ -923,6 +922,30 @@ libnfs_a_SOURCES += libfs/src/nfsclient/src/rpcio.c
 libnfs_a_SOURCES += libfs/src/nfsclient/src/sock_mbuf.c
 libnfs_a_SOURCES += libfs/src/nfsclient/src/xdr_mbuf.c
 
+project_lib_LIBRARIES += libpppd.a
+
+$(PROJECT_LIB)/libpppd.a: libpppd.a
+	$(INSTALL_DATA) $< $(PROJECT_LIB)/libpppd.a
+TMPINSTALL_FILES += $(PROJECT_LIB)/libpppd.a
+
+libpppd_a_SOURCES =
+libpppd_a_SOURCES += pppd/auth.c
+libpppd_a_SOURCES += pppd/ccp.c
+libpppd_a_SOURCES += pppd/chap.c
+libpppd_a_SOURCES += pppd/chap_ms.c
+libpppd_a_SOURCES += pppd/chat.c
+libpppd_a_SOURCES += pppd/demand.c
+libpppd_a_SOURCES += pppd/fsm.c
+libpppd_a_SOURCES += pppd/ipcp.c
+libpppd_a_SOURCES += pppd/lcp.c
+libpppd_a_SOURCES += pppd/magic.c
+libpppd_a_SOURCES += pppd/options.c
+libpppd_a_SOURCES += pppd/rtemsmain.c
+libpppd_a_SOURCES += pppd/rtemspppd.c
+libpppd_a_SOURCES += pppd/sys-rtems.c
+libpppd_a_SOURCES += pppd/upap.c
+libpppd_a_SOURCES += pppd/utils.c
+
 if HAS_PTHREADS
 
 project_lib_LIBRARIES += libmghttpd.a
diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index ac94e6b..9bd11ff 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -500,7 +500,6 @@ libnetworking/Makefile
 libmisc/Makefile
 zlib/Makefile
 telnetd/Makefile
-pppd/Makefile
 wrapup/Makefile])
 
 AC_OUTPUT
diff --git a/cpukit/pppd/Makefile.am b/cpukit/pppd/Makefile.am
deleted file mode 100644
index 799b2a9..0000000
--- a/cpukit/pppd/Makefile.am
+++ /dev/null
@@ -1,17 +0,0 @@
-include $(top_srcdir)/automake/compile.am
-
-if LIBNETWORKING
-project_lib_LIBRARIES = libpppd.a
-
-$(PROJECT_LIB)/libpppd.a: libpppd.a
-	$(INSTALL_DATA) $< $(PROJECT_LIB)/libpppd.a
-TMPINSTALL_FILES = $(PROJECT_LIB)/libpppd.a
-
-libpppd_a_SOURCES = auth.c ccp.c ccp.h chap.c chap.h chap_ms.c chap_ms.h \
-    chat.c demand.c fsm.c fsm.h ipcp.c ipcp.h lcp.c lcp.h magic.c magic.h \
-    options.c upap.c upap.h utils.c sys-rtems.c \
-    rtemsmain.c rtemspppd.c rtemspppd.h pppd.h patchlevel.h pathnames.h \
-    rtemsdialer.h
-endif
-
-include $(top_srcdir)/automake/local.am




More information about the vc mailing list