diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-17 16:55:52 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2009-11-17 16:55:52 +0000 |
commit | 390631d322af820a181c698aeacc2941b126e4fe (patch) | |
tree | 84eba044c0d9d9570c195e98967902396a4ebc71 /cpukit/mghttpd | |
parent | 4b0856d3de1e039a93c86a534ea70b1599bf6484 (diff) |
New.
Diffstat (limited to 'cpukit/mghttpd')
-rw-r--r-- | cpukit/mghttpd/.cvsignore | 1 | ||||
-rw-r--r-- | cpukit/mghttpd/Makefile.am | 16 | ||||
-rw-r--r-- | cpukit/mghttpd/preinstall.am | 39 |
3 files changed, 56 insertions, 0 deletions
diff --git a/cpukit/mghttpd/.cvsignore b/cpukit/mghttpd/.cvsignore new file mode 100644 index 0000000000..70845e08eb --- /dev/null +++ b/cpukit/mghttpd/.cvsignore @@ -0,0 +1 @@ +Makefile.in diff --git a/cpukit/mghttpd/Makefile.am b/cpukit/mghttpd/Makefile.am new file mode 100644 index 0000000000..2c2a918029 --- /dev/null +++ b/cpukit/mghttpd/Makefile.am @@ -0,0 +1,16 @@ +include $(top_srcdir)/automake/compile.am + +if LIBNETWORKING +include_mghttpddir = $(includedir)/mghttpd + +project_lib_LIBRARIES = libmghttpd.a +libmghttpd_a_CPPFLAGS = $(AM_CPPFLAGS) +# libmghttpd_a_CPPFLAGS += -DHAVE_MD5 +libmghttpd_a_CPPFLAGS += -DNO_SSI -DNO_SSL -DNO_CGI + +libmghttpd_a_SOURCES = mongoose.c mongoose.h +include_mghttpd_HEADERS = mongoose.h +endif + +include $(srcdir)/preinstall.am +include $(top_srcdir)/automake/local.am diff --git a/cpukit/mghttpd/preinstall.am b/cpukit/mghttpd/preinstall.am new file mode 100644 index 0000000000..aa246f014e --- /dev/null +++ b/cpukit/mghttpd/preinstall.am @@ -0,0 +1,39 @@ +## Automatically generated by ampolish3 - Do not edit + +if AMPOLISH3 +$(srcdir)/preinstall.am: Makefile.am + $(AMPOLISH3) $(srcdir)/Makefile.am > $(srcdir)/preinstall.am +endif + +PREINSTALL_DIRS = +DISTCLEANFILES = $(PREINSTALL_DIRS) + +all-local: $(TMPINSTALL_FILES) + +TMPINSTALL_FILES = +CLEANFILES = $(TMPINSTALL_FILES) + +all-am: $(PREINSTALL_FILES) + +PREINSTALL_FILES = +CLEANFILES += $(PREINSTALL_FILES) + +$(PROJECT_LIB)/$(dirstamp): + @$(MKDIR_P) $(PROJECT_LIB) + @: > $(PROJECT_LIB)/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp) + +if LIBNETWORKING +$(PROJECT_INCLUDE)/mghttpd/$(dirstamp): + @$(MKDIR_P) $(PROJECT_INCLUDE)/mghttpd + @: > $(PROJECT_INCLUDE)/mghttpd/$(dirstamp) +PREINSTALL_DIRS += $(PROJECT_INCLUDE)/mghttpd/$(dirstamp) + +$(PROJECT_LIB)/libmghttpd.a: libmghttpd.a $(PROJECT_LIB)/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_LIB)/libmghttpd.a +TMPINSTALL_FILES += $(PROJECT_LIB)/libmghttpd.a + +$(PROJECT_INCLUDE)/mghttpd/mongoose.h: mongoose.h $(PROJECT_INCLUDE)/mghttpd/$(dirstamp) + $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/mghttpd/mongoose.h +PREINSTALL_FILES += $(PROJECT_INCLUDE)/mghttpd/mongoose.h +endif |