summaryrefslogtreecommitdiffstats
path: root/cpukit/telnetd/Makefile.am
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2005-05-10 08:51:30 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2005-05-10 08:51:30 +0000
commit04d418df7c70972eb983767beef50355716ef2ce (patch)
treee36f8920485377104bb192c9503bc6f2f096c948 /cpukit/telnetd/Makefile.am
parent26009c92be8ff433e16d808de4904fd2408654e7 (diff)
downloadrtems-04d418df7c70972eb983767beef50355716ef2ce.tar.bz2
Include preinstall.am.
Diffstat (limited to 'cpukit/telnetd/Makefile.am')
-rw-r--r--cpukit/telnetd/Makefile.am23
1 files changed, 3 insertions, 20 deletions
diff --git a/cpukit/telnetd/Makefile.am b/cpukit/telnetd/Makefile.am
index 895109d14c..95c4e442fb 100644
--- a/cpukit/telnetd/Makefile.am
+++ b/cpukit/telnetd/Makefile.am
@@ -5,6 +5,8 @@
include $(top_srcdir)/automake/compile.am
noinst_LIBRARIES =
+CLEANFILES =
+DISTCLEANFILES =
if HAS_NETWORKING
include_rtemsdir = $(includedir)/rtems
@@ -19,25 +21,6 @@ EXTRA_DIST = README
all-local: $(PREINSTALL_FILES)
-PREINSTALL_DIRS =
-PREINSTALL_FILES =
-
-if HAS_NETWORKING
-$(PROJECT_INCLUDE)/rtems/$(dirstamp):
- @$(mkdir_p) $(PROJECT_INCLUDE)/rtems
- @: > $(PROJECT_INCLUDE)/rtems/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_INCLUDE)/rtems/$(dirstamp)
-
-$(PROJECT_INCLUDE)/rtems/pty.h: pty.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/pty.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/pty.h
-
-$(PROJECT_INCLUDE)/rtems/telnetd.h: telnetd.h $(PROJECT_INCLUDE)/rtems/$(dirstamp)
- $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems/telnetd.h
-PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems/telnetd.h
-endif
-
-CLEANFILES = $(PREINSTALL_FILES)
-DISTCLEANFILES = $(PREINSTALL_DIRS)
+include $(srcdir)/preinstall.am
include $(top_srcdir)/automake/local.am