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

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


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Sep 13 06:35:03 2018 +0200

build: Merge ftpd/Makefile.am

---

 cpukit/Makefile.am      | 14 +++++++++++++-
 cpukit/configure.ac     |  1 -
 cpukit/ftpd/Makefile.am | 11 -----------
 3 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index 6a5ef61..7a3e831 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -3,6 +3,9 @@ ACLOCAL_AMFLAGS = -I aclocal
 include $(top_srcdir)/automake/compile.am
 include $(top_srcdir)/automake/multilib.am
 
+project_lib_LIBRARIES =
+TMPINSTALL_FILES =
+
 noinst_LIBRARIES = libcpukit.a
 
 libcpukit_a_SOURCES =
@@ -110,11 +113,20 @@ _SUBDIRS += wrapup
 
 # other libraries
 _SUBDIRS += zlib
-_SUBDIRS += ftpd
 _SUBDIRS += telnetd
 _SUBDIRS += pppd
 _SUBDIRS += mghttpd
 
+project_lib_LIBRARIES += libftpd.a
+
+$(PROJECT_LIB)/libftpd.a: libftpd.a
+	$(INSTALL_DATA) $< $(PROJECT_LIB)/libftpd.a
+TMPINSTALL_FILES += $(PROJECT_LIB)/libftpd.a
+
+libftpd_a_SOURCES =
+libftpd_a_SOURCES += ftpd/ftpd.c
+libftpd_a_SOURCES += ftpd/ftpd-init.c
+
 include $(top_srcdir)/automake/subdirs.am
 include $(top_srcdir)/automake/local.am
 include $(srcdir)/headers.am
diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index e45114f..df9ee8c 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -515,7 +515,6 @@ libdl/Makefile
 libstdthreads/Makefile
 libdebugger/Makefile
 zlib/Makefile
-ftpd/Makefile
 telnetd/Makefile
 pppd/Makefile
 mghttpd/Makefile
diff --git a/cpukit/ftpd/Makefile.am b/cpukit/ftpd/Makefile.am
deleted file mode 100644
index dddf919..0000000
--- a/cpukit/ftpd/Makefile.am
+++ /dev/null
@@ -1,11 +0,0 @@
-include $(top_srcdir)/automake/compile.am
-
-project_lib_LIBRARIES = libftpd.a
-
-$(PROJECT_LIB)/libftpd.a: libftpd.a
-	$(INSTALL_DATA) $< $(PROJECT_LIB)/libftpd.a
-TMPINSTALL_FILES = $(PROJECT_LIB)/libftpd.a
-
-libftpd_a_SOURCES = ftpd.c ftpd-init.c
-
-include $(top_srcdir)/automake/local.am



More information about the vc mailing list