summaryrefslogtreecommitdiffstats
path: root/cpukit/mghttpd
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--cpukit/include/mghttpd/mongoose.h (renamed from cpukit/mghttpd/mongoose.h)0
-rw-r--r--cpukit/mghttpd/Makefile.am9
-rw-r--r--cpukit/mghttpd/preinstall.am41
3 files changed, 5 insertions, 45 deletions
diff --git a/cpukit/mghttpd/mongoose.h b/cpukit/include/mghttpd/mongoose.h
index 330ed6701b..330ed6701b 100644
--- a/cpukit/mghttpd/mongoose.h
+++ b/cpukit/include/mghttpd/mongoose.h
diff --git a/cpukit/mghttpd/Makefile.am b/cpukit/mghttpd/Makefile.am
index bb5f84ba16..c3e605c679 100644
--- a/cpukit/mghttpd/Makefile.am
+++ b/cpukit/mghttpd/Makefile.am
@@ -2,17 +2,18 @@ include $(top_srcdir)/automake/compile.am
if LIBNETWORKING
if HAS_PTHREADS
-include_mghttpddir = $(includedir)/mghttpd
-
project_lib_LIBRARIES = libmghttpd.a
+
+$(PROJECT_LIB)/libmghttpd.a: libmghttpd.a
+ $(INSTALL_DATA) $< $(PROJECT_LIB)/libmghttpd.a
+TMPINSTALL_FILES = $(PROJECT_LIB)/libmghttpd.a
+
libmghttpd_a_CPPFLAGS = $(AM_CPPFLAGS)
# libmghttpd_a_CPPFLAGS += -DHAVE_MD5
libmghttpd_a_CPPFLAGS += -DNO_SSL -DNO_POPEN -DNO_CGI -DUSE_WEBSOCKET
libmghttpd_a_SOURCES = mongoose.c mongoose.h
-include_mghttpd_HEADERS = mongoose.h
endif
endif
-include $(srcdir)/preinstall.am
include $(top_srcdir)/automake/local.am
diff --git a/cpukit/mghttpd/preinstall.am b/cpukit/mghttpd/preinstall.am
deleted file mode 100644
index b63c98898c..0000000000
--- a/cpukit/mghttpd/preinstall.am
+++ /dev/null
@@ -1,41 +0,0 @@
-## 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-am: $(PREINSTALL_FILES)
-
-PREINSTALL_FILES =
-CLEANFILES = $(PREINSTALL_FILES)
-
-all-local: $(TMPINSTALL_FILES)
-
-TMPINSTALL_FILES =
-CLEANFILES += $(TMPINSTALL_FILES)
-
-$(PROJECT_LIB)/$(dirstamp):
- @$(MKDIR_P) $(PROJECT_LIB)
- @: > $(PROJECT_LIB)/$(dirstamp)
-PREINSTALL_DIRS += $(PROJECT_LIB)/$(dirstamp)
-
-if LIBNETWORKING
-if HAS_PTHREADS
-$(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
-endif