summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/Makefile.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2004-01-15 03:47:28 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2004-01-15 03:47:28 +0000
commit633456e9200c909c9aad6ab7fae50b70b829999d (patch)
treebc8567215cf86ce0c3c664215892de8ca2b31c35 /cpukit/telnetd/Makefile.am
parent033f068631947320bcc845354b9552276d7b80d2 (diff)
downloadrtems-633456e9200c909c9aad6ab7fae50b70b829999d.tar.bz2
2004-01-15 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* Makefile.am: Remove wrapup. * pppd/Makefile.am: Build libpppd. Use automake-compilation rules. * rtems_servers/Makefile.am: Build libftpd. Use automake-compilation rules. * rtems_telnetd/Makefile.am: Build libtelnetd. Use automake-compilation rules. * rtems_webserver/Makefile.am: Build libhttpd. Use automake-compilation rules. * wrapup/Makefile.am: Remove (Unused).
Diffstat (limited to '')
-rw-r--r--cpukit/telnetd/Makefile.am30
1 files changed, 15 insertions, 15 deletions
diff --git a/cpukit/telnetd/Makefile.am b/cpukit/telnetd/Makefile.am
index 7e3cab5477..ec7abddaba 100644
--- a/cpukit/telnetd/Makefile.am
+++ b/cpukit/telnetd/Makefile.am
@@ -2,32 +2,32 @@
## $Id$
##
-LIBNAME = libtelnetd-tmp
-LIB = $(ARCH)/$(LIBNAME).a
-
-C_FILES = pty.c telnetd.c icmds.c
-OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
-
include $(top_srcdir)/automake/compile.am
include $(top_srcdir)/automake/lib.am
-#
-# (OPTIONAL) Add local stuff here using +=
-#
+EXTRA_LIBRARIES =
+CLEANFILES =
if HAS_NETWORKING
include_rtemsdir = $(includedir)/rtems
include_rtems_HEADERS = pty.h telnetd.h
-$(LIB): $(OBJS)
- $(make-library)
+EXTRA_LIBRARIES += libtelnetd.a
+CLEANFILES += libtelnetd.a
+libtelnetd_a_SOURCES = pty.c pty.h telnetd.c telnetd.h icmds.c
+libtelnetd_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
+
+EXTRA_LIBRARIES += libtelnetd_g.a
+CLEANFILES += libtelnetd_g.a
+libtelnetd_g_a_SOURCES = $(libtelnetd_a_SOURCES)
+libtelnetd_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
-all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB)
+noinst_DATA = libtelnetd$(LIB_VARIANT).a
endif
-.PRECIOUS: $(LIB)
+EXTRA_DIST = README
-EXTRA_DIST = README pty.c telnetd.c pty.h icmds.c telnetd.h
+all-local: $(PREINSTALL_FILES)
PREINSTALL_FILES =
@@ -46,6 +46,6 @@ $(PROJECT_INCLUDE)/rtems/telnetd.h: telnetd.h $(PROJECT_INCLUDE)/rtems/$(dirstam
PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/telnetd.h
endif
-CLEANFILES = $(PREINSTALL_FILES)
+CLEANFILES += $(PREINSTALL_FILES)
include $(top_srcdir)/automake/local.am