source: rtems/cpukit/httpd/Makefile.am @ b5d91ad

4.104.114.84.95
Last change on this file since b5d91ad was b5d91ad, checked in by Ralf Corsepius <ralf.corsepius@…>, on 02/03/04 at 06:21:42

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

  • libnetworking/rtems_webserver/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/rtems_telnetd/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/rtems_servers/Makefile.am: Add PREINSTALL_DIRS.
  • libnetworking/pppd/Makefile.am: Add PREINSTALL_DIRS.
  • 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_DIRS =
43PREINSTALL_FILES =
44
45$(PROJECT_INCLUDE)/$(dirstamp):
46        @$(mkdir_p) $(PROJECT_INCLUDE)
47        @: > $(PROJECT_INCLUDE)/$(dirstamp)
48PREINSTALL_DIRS += $(PROJECT_INCLUDE)/$(dirstamp)
49
50if HAS_NETWORKING
51if HAS_POSIX
52$(PROJECT_INCLUDE)/goahead/$(dirstamp):
53        @$(mkdir_p) $(PROJECT_INCLUDE)/goahead
54        @: > $(PROJECT_INCLUDE)/goahead/$(dirstamp)
55PREINSTALL_DIRS += $(PROJECT_INCLUDE)/goahead/$(dirstamp)
56
57$(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h $(PROJECT_INCLUDE)/$(dirstamp)
58        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems_webserver.h
59PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems_webserver.h
60
61$(PROJECT_INCLUDE)/goahead/ej.h: ej.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
62        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ej.h
63PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ej.h
64
65$(PROJECT_INCLUDE)/goahead/ejIntrn.h: ejIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
66        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ejIntrn.h
67PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ejIntrn.h
68
69$(PROJECT_INCLUDE)/goahead/emfdb.h: emfdb.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
70        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/emfdb.h
71PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/emfdb.h
72
73$(PROJECT_INCLUDE)/goahead/md5.h: md5.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
74        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/md5.h
75PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/md5.h
76
77$(PROJECT_INCLUDE)/goahead/uemf.h: uemf.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
78        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/uemf.h
79PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/uemf.h
80
81$(PROJECT_INCLUDE)/goahead/um.h: um.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
82        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/um.h
83PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/um.h
84
85$(PROJECT_INCLUDE)/goahead/webs.h: webs.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
86        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/webs.h
87PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/webs.h
88
89$(PROJECT_INCLUDE)/goahead/wsIntrn.h: wsIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
90        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/wsIntrn.h
91PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/wsIntrn.h
92endif
93endif
94
95CLEANFILES += $(PREINSTALL_FILES)
96DISTCLEANFILES = $(PREINSTALL_DIRS)
97
98include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.