diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-08 17:52:38 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2005-02-08 17:52:38 +0000 |
commit | 38595dd11660b85b4b4137a6909ac2b320c89d44 (patch) | |
tree | 9d64abcfacd90407f27c1155c42d245c2c6a3e54 | |
parent | 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org> (diff) | |
download | rtems-38595dd11660b85b4b4137a6909ac2b320c89d44.tar.bz2 |
2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org>
* ftpd/Makefile.am: Split preinstallation rules in to separate
preinstall.am-files.
* ftpd/preinstall.am: New (Generated from corresponding Makefile.am).
-rw-r--r-- | cpukit/ChangeLog | 6 | ||||
-rw-r--r-- | cpukit/ftpd/Makefile.am | 20 | ||||
-rw-r--r-- | cpukit/ftpd/preinstall.am | 23 |
3 files changed, 34 insertions, 15 deletions
diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 2d31c93f5a..724fb22e63 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,5 +1,11 @@ 2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org> + * ftpd/Makefile.am: Split preinstallation rules in to separate + preinstall.am-files. + * ftpd/preinstall.am: New (Generated from corresponding Makefile.am). + +2005-02-08 Ralf Corsepius <ralf.corsepius@rtems.org> + * librpc/Makefile.am: Split preinstallation rules in to separate preinstall.am-files. * librpc/preinstall.am: New (Generated from corresponding Makefile.am). diff --git a/cpukit/ftpd/Makefile.am b/cpukit/ftpd/Makefile.am index c76448b7e2..f43c2e9dcb 100644 --- a/cpukit/ftpd/Makefile.am +++ b/cpukit/ftpd/Makefile.am @@ -4,26 +4,16 @@ include $(top_srcdir)/automake/compile.am +CLEANFILES = +DISTCLEANFILES = + if HAS_NETWORKING project_lib_LIBRARIES = libftpd.a libftpd_a_SOURCES = ftpd.c ftpd.h endif -all-local: $(PREINSTALL_FILES) - -TMPINSTALL_FILES = - -$(PROJECT_LIB)/$(dirstamp): - @$(mkdir_p) $(PROJECT_LIB) - @: > $(PROJECT_LIB)/$(dirstamp) -TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp) - -if HAS_NETWORKING -$(PROJECT_LIB)/libftpd.a: libftpd.a $(PROJECT_LIB)/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_LIB)/libftpd.a -TMPINSTALL_FILES += $(PROJECT_LIB)/libftpd.a -endif +all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) -CLEANFILES = $(TMPINSTALL_FILES) +include $(srcdir)/preinstall.am include $(top_srcdir)/automake/local.am diff --git a/cpukit/ftpd/preinstall.am b/cpukit/ftpd/preinstall.am new file mode 100644 index 0000000000..8044eeaef3 --- /dev/null +++ b/cpukit/ftpd/preinstall.am @@ -0,0 +1,23 @@ +## Automatically generated by ampolish3 - Do not edit + +if AMPOLISH3 +$(srcdir)/preinstall.am: Makefile.am + $(top_srcdir)/ampolish3 $(srcdir)/Makefile.am > $(srcdir)/preinstall.am +endif + +PREINSTALL_DIRS = +DISTCLEANFILES += $(PREINSTALL_DIRS) + +TMPINSTALL_FILES = +CLEANFILES += $(TMPINSTALL_FILES) + +if HAS_NETWORKING +$(PROJECT_LIB)/$(dirstamp): + @$(mkdir_p) $(PROJECT_LIB) + @: > $(PROJECT_LIB)/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp) + +$(PROJECT_LIB)/libftpd.a: libftpd.a $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/libftpd.a +TMPINSTALL_FILES += $(PROJECT_LIB)/libftpd.a +endif |