source: rtems/c/src/libnetworking/rtems_webserver/Makefile.am @ 6436254a

4.104.114.84.95
Last change on this file since 6436254a was 6436254a, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/09/04 at 14:57:18

2004-02-09 Ralf Corsepius <corsepiu@…>

  • libnetworking/pppd/Makefile.am, libnetworking/rtems_servers/Makefile.am, libnetworking/rtems_telnetd/Makefile.am, libnetworking/rtems_webserver/Makefile.am, optman/Makefile.am, support/Makefile.am: Don't include lib.am.
  • Property mode set to 100644
File size: 3.2 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
33noinst_DATA = libhttpd$(LIB_VARIANT).a
34endif
35endif
36
37all-local: $(PREINSTALL_FILES)
38
39EXTRA_DIST = webcomp.c webpage.c
40
41PREINSTALL_DIRS =
42PREINSTALL_FILES =
43
44$(PROJECT_INCLUDE)/$(dirstamp):
45        @$(mkdir_p) $(PROJECT_INCLUDE)
46        @: > $(PROJECT_INCLUDE)/$(dirstamp)
47PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
48
49if HAS_NETWORKING
50if HAS_POSIX
51$(PROJECT_INCLUDE)/goahead/$(dirstamp):
52        @$(mkdir_p) $(PROJECT_INCLUDE)/goahead
53        @: > $(PROJECT_INCLUDE)/goahead/$(dirstamp)
54PREINSTALL_DIRS += $(PROJECT_INCLUDE)/goahead/$(dirstamp)
55
56$(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h $(PROJECT_INCLUDE)/$(dirstamp)
57        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems_webserver.h
58PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems_webserver.h
59
60$(PROJECT_INCLUDE)/goahead/ej.h: ej.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
61        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ej.h
62PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ej.h
63
64$(PROJECT_INCLUDE)/goahead/ejIntrn.h: ejIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
65        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ejIntrn.h
66PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ejIntrn.h
67
68$(PROJECT_INCLUDE)/goahead/emfdb.h: emfdb.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
69        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/emfdb.h
70PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/emfdb.h
71
72$(PROJECT_INCLUDE)/goahead/md5.h: md5.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
73        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/md5.h
74PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/md5.h
75
76$(PROJECT_INCLUDE)/goahead/uemf.h: uemf.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/uemf.h
78PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/uemf.h
79
80$(PROJECT_INCLUDE)/goahead/um.h: um.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
81        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/um.h
82PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/um.h
83
84$(PROJECT_INCLUDE)/goahead/webs.h: webs.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/webs.h
86PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/webs.h
87
88$(PROJECT_INCLUDE)/goahead/wsIntrn.h: wsIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/wsIntrn.h
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/wsIntrn.h
91endif
92endif
93
94CLEANFILES += $(PREINSTALL_FILES)
95DISTCLEANFILES = $(PREINSTALL_DIRS)
96
97include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.