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

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


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

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Thu Oct  4 17:48:23 2018 +0200

build: Merge telnetd/Makefile.am

---

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

diff --git a/cpukit/Makefile.am b/cpukit/Makefile.am
index a8833f6..431d4dc 100644
--- a/cpukit/Makefile.am
+++ b/cpukit/Makefile.am
@@ -1217,7 +1217,6 @@ _SUBDIRS += wrapup
 
 # other libraries
 _SUBDIRS += zlib
-_SUBDIRS += telnetd
 
 project_lib_LIBRARIES += libftpd.a
 
@@ -1229,6 +1228,19 @@ libftpd_a_SOURCES =
 libftpd_a_SOURCES += ftpd/ftpd.c
 libftpd_a_SOURCES += ftpd/ftpd-init.c
 
+project_lib_LIBRARIES += libtelnetd.a
+
+$(PROJECT_LIB)/libtelnetd.a: libtelnetd.a
+	$(INSTALL_DATA) $< $(PROJECT_LIB)/libtelnetd.a
+TMPINSTALL_FILES += $(PROJECT_LIB)/libtelnetd.a
+
+libtelnetd_a_SOURCES =
+libtelnetd_a_SOURCES += telnetd/check_passwd.c
+libtelnetd_a_SOURCES += telnetd/des.c
+libtelnetd_a_SOURCES += telnetd/pty.c
+libtelnetd_a_SOURCES += telnetd/telnetd.c
+libtelnetd_a_SOURCES += telnetd/telnetd-init.c
+
 if LIBDEBUGGER
 
 project_lib_LIBRARIES += libdebugger.a
diff --git a/cpukit/configure.ac b/cpukit/configure.ac
index 1d95926..7f378d6 100644
--- a/cpukit/configure.ac
+++ b/cpukit/configure.ac
@@ -498,7 +498,6 @@ score/cpu/no_cpu/Makefile
 libnetworking/Makefile
 libmisc/Makefile
 zlib/Makefile
-telnetd/Makefile
 wrapup/Makefile])
 
 AC_OUTPUT
diff --git a/cpukit/telnetd/Makefile.am b/cpukit/telnetd/Makefile.am
deleted file mode 100644
index 7d9e543..0000000
--- a/cpukit/telnetd/Makefile.am
+++ /dev/null
@@ -1,13 +0,0 @@
-include $(top_srcdir)/automake/compile.am
-
-if LIBSHELL
-project_lib_LIBRARIES = libtelnetd.a
-
-$(PROJECT_LIB)/libtelnetd.a: libtelnetd.a
-	$(INSTALL_DATA) $< $(PROJECT_LIB)/libtelnetd.a
-TMPINSTALL_FILES = $(PROJECT_LIB)/libtelnetd.a
-
-libtelnetd_a_SOURCES = check_passwd.c des.c pty.c telnetd.c telnetd-init.c
-endif
-
-include $(top_srcdir)/automake/local.am



More information about the vc mailing list