source: rtems/c/src/libnetworking/rtems_webserver/Makefile.am @ 633456e

4.104.114.84.95
Last change on this file since 633456e was 633456e, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/15/04 at 03:47:28

2004-01-15 Ralf Corsepius <corsepiu@…>

  • Makefile.am: Remove wrapup.
  • pppd/Makefile.am: Build libpppd. Use automake-compilation rules.
  • rtems_servers/Makefile.am: Build libftpd. Use automake-compilation rules.
  • rtems_telnetd/Makefile.am: Build libtelnetd. Use automake-compilation rules.
  • rtems_webserver/Makefile.am: Build libhttpd. Use automake-compilation rules.
  • wrapup/Makefile.am: Remove (Unused).
  • Property mode set to 100644
File size: 3.2 KB
Line 
1##
2## $Id$
3##
4
5include $(top_srcdir)/automake/compile.am
6include $(top_srcdir)/automake/lib.am
7
8EXTRA_LIBRARIES =
9CLEANFILES =
10
11AM_CPPFLAGS += -DWEBS -DUEMF -DOS="RTEMS"
12
13if HAS_NETWORKING
14if HAS_POSIX
15include_goaheaddir = $(includedir)/goahead
16
17include_HEADERS = rtems_webserver.h
18include_goahead_HEADERS = ej.h ejIntrn.h emfdb.h md5.h uemf.h um.h webs.h \
19    wsIntrn.h
20
21EXTRA_LIBRARIES += libhttpd.a
22CLEANFILES += libhttpd.a
23libhttpd_a_SOURCES = asp.c balloc.c default.c ejlex.c ejparse.c emfdb.c \
24    form.c h.c handler.c md5c.c mime.c misc.c webpage.c ringq.c rom.c \
25    security.c sock.c socket.c sym.c uemf.c um.c url.c value.c wbase64.c \
26    webrom.c webs.c websuemf.c webmain.c
27libhttpd_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_OPTIMIZE_V)
28
29EXTRA_LIBRARIES += libhttpd_g.a
30CLEANFILES += libhttpd_g.a
31libhttpd_g_a_SOURCES = $(libhttpd_a_SOURCES)
32libhttpd_g_a_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAGS_DEBUG_V)
33
34noinst_DATA = libhttpd$(LIB_VARIANT).a
35endif
36endif
37
38all-local: $(PREINSTALL_FILES)
39
40EXTRA_DIST = webcomp.c webpage.c
41
42PREINSTALL_FILES =
43
44$(PROJECT_INCLUDE)/$(dirstamp):
45        @$(mkdir_p) $(PROJECT_INCLUDE)
46        @: > $(PROJECT_INCLUDE)/$(dirstamp)
47PREINSTALL_FILES += $(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_FILES += $(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)
95
96include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.