source: rtems/c/src/libnetworking/rtems_webserver/Makefile.am @ 19fb5d3

4.104.114.84.95
Last change on this file since 19fb5d3 was 19fb5d3, checked in by Ralf Corsepius <ralf.corsepius@…>, on 12/12/03 at 15:58:16

2003-12-12 Ralf Corsepius <corsepiu@…>

  • pppd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_servers/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_telnetd/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • rtems_webserver/Makefile.am: Use mkdir_p. Remove dirs from PRE/TMPINSTALL_FILES.
  • Property mode set to 100644
File size: 3.1 KB
RevLine 
[df49c60]1##
[4bf1801]2## $Id$
[df49c60]3##
[4bf1801]4
5LIBNAME = lib.a
6LIB = $(ARCH)/$(LIBNAME)
7
[74066232]8C_FILES = asp.c balloc.c default.c ejlex.c ejparse.c emfdb.c form.c h.c \
9    handler.c md5c.c mime.c misc.c webpage.c ringq.c rom.c security.c sock.c \
10    socket.c sym.c uemf.c um.c url.c value.c wbase64.c webrom.c webs.c \
[5ff9c088]11    websuemf.c webmain.c
[4855824]12OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
[4bf1801]13
[6a8e52d]14include $(top_srcdir)/automake/compile.am
15include $(top_srcdir)/automake/lib.am
[4bf1801]16
17#
18# Add local stuff here using +=
19#
20
21AM_CPPFLAGS += -DWEBS -DUEMF -DOS="RTEMS"
22
23$(LIB): $(OBJS)
24        $(make-library)
25
[4078e82]26if HAS_NETWORKING
[4bf1801]27if HAS_POSIX
[4078e82]28include_goaheaddir = $(includedir)/goahead
29
[e6d8fe47]30include_HEADERS = rtems_webserver.h
[74066232]31include_goahead_HEADERS = ej.h ejIntrn.h emfdb.h md5.h uemf.h um.h webs.h \
32    wsIntrn.h
[e6d8fe47]33
[45d7f4c]34all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB)
[4bf1801]35endif
[4078e82]36endif
[4bf1801]37
38.PRECIOUS: $(LIB)
39
40EXTRA_DIST = asp.c balloc.c default.c ej.h ejlex.c ejparse.c form.c h.c \
41    handler.c mime.c misc.c ringq.c rom.c rtems_webserver.h security.c \
[74066232]42    sock.c socket.c sym.c uemf.c uemf.h um.h url.c value.c wbase64.c \
43    webcomp.c webmain.c webpage.c webrom.c webs.c webs.h websuemf.c \
44    wsIntrn.h
45
46PREINSTALL_FILES =
47
48$(PROJECT_INCLUDE)/$(dirstamp):
[19fb5d3]49        @$(mkdir_p) $(PROJECT_INCLUDE)
[74066232]50        @: > $(PROJECT_INCLUDE)/$(dirstamp)
51
52if HAS_NETWORKING
53if HAS_POSIX
54$(PROJECT_INCLUDE)/goahead/$(dirstamp):
[19fb5d3]55        @$(mkdir_p) $(PROJECT_INCLUDE)/goahead
[74066232]56        @: > $(PROJECT_INCLUDE)/goahead/$(dirstamp)
57
58$(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h $(PROJECT_INCLUDE)/$(dirstamp)
59        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems_webserver.h
60PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems_webserver.h
61
62$(PROJECT_INCLUDE)/goahead/ej.h: ej.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
63        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ej.h
64PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ej.h
65
66$(PROJECT_INCLUDE)/goahead/ejIntrn.h: ejIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
67        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ejIntrn.h
68PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ejIntrn.h
69
70$(PROJECT_INCLUDE)/goahead/emfdb.h: emfdb.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
71        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/emfdb.h
72PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/emfdb.h
73
74$(PROJECT_INCLUDE)/goahead/md5.h: md5.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
75        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/md5.h
76PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/md5.h
77
78$(PROJECT_INCLUDE)/goahead/uemf.h: uemf.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
79        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/uemf.h
80PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/uemf.h
81
82$(PROJECT_INCLUDE)/goahead/um.h: um.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
83        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/um.h
84PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/um.h
85
86$(PROJECT_INCLUDE)/goahead/webs.h: webs.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
87        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/webs.h
88PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/webs.h
89
90$(PROJECT_INCLUDE)/goahead/wsIntrn.h: wsIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
91        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/wsIntrn.h
92PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/wsIntrn.h
93endif
94endif
[4bf1801]95
[6a8e52d]96include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.