source: rtems/cpukit/httpd/Makefile.am @ 24c32fb

4.104.114.84.95
Last change on this file since 24c32fb was 24c32fb, checked in by Ralf Corsepius <ralf.corsepius@…>, on Oct 27, 2004 at 5:48:20 AM

Install libhttpd.a.

  • Property mode set to 100644
File size: 3.6 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6
7EXTRA_LIBRARIES =
8CLEANFILES =
9
10AM_CPPFLAGS += -DWEBS -DUEMF -DOS="RTEMS"
11
12if HAS_NETWORKING
13if HAS_POSIX
14include_goaheaddir = $(includedir)/goahead
15
16include_HEADERS = rtems_webserver.h
17include_goahead_HEADERS = ej.h ejIntrn.h emfdb.h md5.h uemf.h um.h webs.h \
18    wsIntrn.h
19
20EXTRA_LIBRARIES += libhttpd.a
21CLEANFILES += libhttpd.a
22libhttpd_a_SOURCES = asp.c balloc.c default.c ejlex.c ejparse.c emfdb.c \
23    form.c h.c handler.c md5c.c mime.c misc.c webpage.c ringq.c rom.c \
24    security.c sock.c socket.c sym.c uemf.c um.c url.c value.c wbase64.c \
25    webrom.c webs.c websuemf.c webmain.c
26libhttpd_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
27
28EXTRA_LIBRARIES += libhttpd_g.a
29CLEANFILES += libhttpd_g.a
30libhttpd_g_a_SOURCES = $(libhttpd_a_SOURCES)
31libhttpd_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
32
33project_lib_DATA = libhttpd$(LIB_VARIANT).a
34endif
35endif
36
37all-local: $(PREINSTALL_FILES) $(TMPINSTALL_FILES)
38
39EXTRA_DIST = webcomp.c webpage.c
40
41PREINSTALL_DIRS =
42PREINSTALL_FILES =
43TMPINSTALL_FILES =
44
45$(PROJECT_INCLUDE)/$(dirstamp):
46        @$(mkdir_p) $(PROJECT_INCLUDE)
47        @: > $(PROJECT_INCLUDE)/$(dirstamp)
48PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
49
50$(PROJECT_LIB)/$(dirstamp):
51        @$(mkdir_p) $(PROJECT_LIB)
52        @: > $(PROJECT_LIB)/$(dirstamp)
53TMPINSTALL_FILES += $(PROJECT_LIB)/$(dirstamp)
54
55if HAS_NETWORKING
56if HAS_POSIX
57$(PROJECT_INCLUDE)/goahead/$(dirstamp):
58        @$(mkdir_p) $(PROJECT_INCLUDE)/goahead
59        @: > $(PROJECT_INCLUDE)/goahead/$(dirstamp)
60PREINSTALL_DIRS += $(PROJECT_INCLUDE)/goahead/$(dirstamp)
61
62$(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h $(PROJECT_INCLUDE)/$(dirstamp)
63        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems_webserver.h
64PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems_webserver.h
65
66$(PROJECT_INCLUDE)/goahead/ej.h: ej.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
67        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ej.h
68PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ej.h
69
70$(PROJECT_INCLUDE)/goahead/ejIntrn.h: ejIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
71        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ejIntrn.h
72PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ejIntrn.h
73
74$(PROJECT_INCLUDE)/goahead/emfdb.h: emfdb.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
75        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/emfdb.h
76PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/emfdb.h
77
78$(PROJECT_INCLUDE)/goahead/md5.h: md5.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
79        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/md5.h
80PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/md5.h
81
82$(PROJECT_INCLUDE)/goahead/uemf.h: uemf.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
83        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/uemf.h
84PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/uemf.h
85
86$(PROJECT_INCLUDE)/goahead/um.h: um.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
87        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/um.h
88PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/um.h
89
90$(PROJECT_INCLUDE)/goahead/webs.h: webs.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
91        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/webs.h
92PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/webs.h
93
94$(PROJECT_INCLUDE)/goahead/wsIntrn.h: wsIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
95        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/wsIntrn.h
96PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/wsIntrn.h
97
98$(PROJECT_LIB)/libhttpd$(LIB_VARIANT).a: libhttpd$(LIB_VARIANT).a $(PROJECT_LIB)/$(dirstamp)
99        $(INSTALL_DATA) $< $(PROJECT_LIB)/libhttpd$(LIB_VARIANT).a
100TMPINSTALL_FILES += $(PROJECT_LIB)/libhttpd$(LIB_VARIANT).a
101endif
102endif
103
104CLEANFILES += $(PREINSTALL_FILES)
105DISTCLEANFILES = $(PREINSTALL_DIRS)
106CLEANFILES += $(TMPINSTALL_FILES)
107
108include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.