From 92445c2dd11fa2676626950a7b9e927172f9ac56 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 8 Feb 2005 15:21:44 +0000 Subject: Split preinstallation rules in to separate files (preinstall.am). --- cpukit/httpd/Makefile.am | 70 +++--------------------------------------------- 1 file changed, 3 insertions(+), 67 deletions(-) (limited to 'cpukit/httpd/Makefile.am') diff --git a/cpukit/httpd/Makefile.am b/cpukit/httpd/Makefile.am index e111753b37..3c74582913 100644 --- a/cpukit/httpd/Makefile.am +++ b/cpukit/httpd/Makefile.am @@ -6,6 +6,7 @@ include $(top_srcdir)/automake/compile.am noinst_LIBRARIES = CLEANFILES = +DISTCLEANFILES = AM_CPPFLAGS += -DWEBS -DUEMF @@ -26,75 +27,10 @@ libhttpd_a_CPPFLAGS = $(AM_CPPFLAGS) endif endif -all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) - EXTRA_DIST = webcomp.c webpage.c -PREINSTALL_DIRS = -PREINSTALL_FILES = -TMPINSTALL_FILES = - -$(PROJECT_INCLUDE)/$(dirstamp): - @$(mkdir_p) $(PROJECT_INCLUDE) - @: > $(PROJECT_INCLUDE)/$(dirstamp) -PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp) - -$(PROJECT_LIB)/$(dirstamp): - @$(mkdir_p) $(PROJECT_LIB) - @: > $(PROJECT_LIB)/$(dirstamp) -TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp) - -if HAS_NETWORKING -if HAS_POSIX -$(PROJECT_INCLUDE)/goahead/$(dirstamp): - @$(mkdir_p) $(PROJECT_INCLUDE)/goahead - @: > $(PROJECT_INCLUDE)/goahead/$(dirstamp) -PREINSTALL_DIRS += $(PROJECT_INCLUDE)/goahead/$(dirstamp) - -$(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h $(PROJECT_INCLUDE)/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems_webserver.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems_webserver.h - -$(PROJECT_INCLUDE)/goahead/ej.h: ej.h $(PROJECT_INCLUDE)/goahead/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ej.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ej.h - -$(PROJECT_INCLUDE)/goahead/ejIntrn.h: ejIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ejIntrn.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ejIntrn.h - -$(PROJECT_INCLUDE)/goahead/emfdb.h: emfdb.h $(PROJECT_INCLUDE)/goahead/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/emfdb.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/emfdb.h - -$(PROJECT_INCLUDE)/goahead/md5.h: md5.h $(PROJECT_INCLUDE)/goahead/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/md5.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/md5.h - -$(PROJECT_INCLUDE)/goahead/uemf.h: uemf.h $(PROJECT_INCLUDE)/goahead/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/uemf.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/uemf.h - -$(PROJECT_INCLUDE)/goahead/um.h: um.h $(PROJECT_INCLUDE)/goahead/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/um.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/um.h - -$(PROJECT_INCLUDE)/goahead/webs.h: webs.h $(PROJECT_INCLUDE)/goahead/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/webs.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/webs.h - -$(PROJECT_INCLUDE)/goahead/wsIntrn.h: wsIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/wsIntrn.h -PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/wsIntrn.h - -$(PROJECT_LIB)/libhttpd.a: libhttpd.a $(PROJECT_LIB)/$(dirstamp) - $(INSTALL_DATA) $< $(PROJECT_LIB)/libhttpd.a -TMPINSTALL_FILES += $(PROJECT_LIB)/libhttpd.a -endif -endif +all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES) -CLEANFILES += $(PREINSTALL_FILES) -DISTCLEANFILES = $(PREINSTALL_DIRS) -CLEANFILES += $(TMPINSTALL_FILES) +include $(srcdir)/preinstall.am include $(top_srcdir)/automake/local.am -- cgit v1.2.3