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