summaryrefslogtreecommitdiffstats
path: root/cpukit/ftpd
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-07-25 06:15:38 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-07-25 06:15:38 +0000
commit4078e82ae544f8eec4fcfa05aeb1bf38e3c40099 (patch)
tree6a0bb0d4328f968ebb772749af25426d39a8556a /cpukit/ftpd
parentff393f2c850858ecb04b883aa1ce637ccdb51636 (diff)
downloadrtems-4078e82ae544f8eec4fcfa05aeb1bf38e3c40099.tar.bz2
2003-07-25 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* configure.ac: Remove (Merged into ../configure.ac). * .cvsignore, Makefile.am, pppd/Makefile.am, rtems_servers/Makefile.am, rtems_telnetd/Makefile.am, rtems_webserver/Makefile.am, wrapup/Makefile.am: Reflect having merged configure.ac into ../configure.ac
Diffstat (limited to 'cpukit/ftpd')
-rw-r--r--cpukit/ftpd/Makefile.am24
1 files changed, 13 insertions, 11 deletions
diff --git a/cpukit/ftpd/Makefile.am b/cpukit/ftpd/Makefile.am
index 9748f0af2c..e53b6728ab 100644
--- a/cpukit/ftpd/Makefile.am
+++ b/cpukit/ftpd/Makefile.am
@@ -2,34 +2,36 @@
## $Id$
##
-include_rtemsdir = $(includedir)/rtems
-
LIBNAME = lib.a
LIB = $(ARCH)/$(LIBNAME)
C_FILES = ftpd.c
OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
-include $(top_srcdir)/../../../automake/compile.am
-include $(top_srcdir)/../../../automake/lib.am
+include $(top_srcdir)/../../automake/compile.am
+include $(top_srcdir)/../../automake/lib.am
#
# Add local stuff here using +=
#
+EXTRA_DIST = ftpd.c ftpd.h
+
+if HAS_NETWORKING
+include_rtemsdir = $(includedir)/rtems
+
+include_HEADERS = ftpd.h
+
+include_rtems_HEADERS =
+
$(LIB): $(OBJS)
$(make-library)
all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
+endif
.PRECIOUS: $(LIB)
-EXTRA_DIST = ftpd.c ftpd.h
-
-include_HEADERS = ftpd.h
-
-include_rtems_HEADERS =
-
PREINSTALL_FILES = $(PROJECT_INCLUDE) \
$(include_HEADERS:%=$(PROJECT_INCLUDE)/%) \
$(include_rtems_HEADERS:%=$(PROJECT_INCLUDE)/rtems/%)
@@ -41,4 +43,4 @@ $(PROJECT_INCLUDE)/rtems:
$(PROJECT_INCLUDE)/rtems/%.h: %.h
$(INSTALL_DATA) $< $@
-include $(top_srcdir)/../../../automake/local.am
+include $(top_srcdir)/../../automake/local.am