From 390631d322af820a181c698aeacc2941b126e4fe Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 17 Nov 2009 16:55:52 +0000 Subject: New. --- cpukit/mghttpd/.cvsignore | 1 + cpukit/mghttpd/Makefile.am | 16 ++++++++++++++++ cpukit/mghttpd/preinstall.am | 39 +++++++++++++++++++++++++++++++++++++++ 3 files changed, 56 insertions(+) create mode 100644 cpukit/mghttpd/.cvsignore create mode 100644 cpukit/mghttpd/Makefile.am create mode 100644 cpukit/mghttpd/preinstall.am (limited to 'cpukit/mghttpd') 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 -- cgit v1.2.3