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).
This commit is contained in:
Ralf Corsepius
2005-02-08 17:52:38 +00:00
parent b265fdc7c7
commit 38595dd116
3 changed files with 34 additions and 15 deletions
+6
View File
@@ -1,3 +1,9 @@
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
+5 -15
View File
@@ -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)
all-local: $(PREINSTALL_FILES) $(TMPINSTALL_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
CLEANFILES = $(TMPINSTALL_FILES)
include $(srcdir)/preinstall.am
include $(top_srcdir)/automake/local.am
+23
View File
@@ -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