source: rtems/c/src/libnetworking/rtems_webserver/Makefile.am @ 45d7f4c

4.104.114.84.95
Last change on this file since 45d7f4c was 45d7f4c, checked in by Ralf Corsepius <ralf.corsepius@…>, on Dec 2, 2003 at 4:41:19 AM

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

  • pppd/Makefile.am: Remove all-local: $(ARCH).
  • rtems_servers/Makefile.am: Remove all-local: $(ARCH).
  • rtems_telnetd/Makefile.am: Remove all-local: $(ARCH).
  • rtems_webserver/Makefile.am: Remove all-local: $(ARCH).
  • wrapup/Makefile.am: Remove all-local: $(ARCH).
  • Property mode set to 100644
File size: 3.2 KB
Line 
1##
2## $Id$
3##
4
5LIBNAME = lib.a
6LIB = $(ARCH)/$(LIBNAME)
7
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 \
11    websuemf.c webmain.c
12OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
13
14include $(top_srcdir)/automake/compile.am
15include $(top_srcdir)/automake/lib.am
16
17#
18# Add local stuff here using +=
19#
20
21AM_CPPFLAGS += -DWEBS -DUEMF -DOS="RTEMS"
22
23$(LIB): $(OBJS)
24        $(make-library)
25
26if HAS_NETWORKING
27if HAS_POSIX
28include_goaheaddir = $(includedir)/goahead
29
30include_HEADERS = rtems_webserver.h
31include_goahead_HEADERS = ej.h ejIntrn.h emfdb.h md5.h uemf.h um.h webs.h \
32    wsIntrn.h
33
34all-local: $(PREINSTALL_FILES) $(OBJS) $(LIB)
35endif
36endif
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 \
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):
49        @$(mkinstalldirs) $(PROJECT_INCLUDE)
50        @: > $(PROJECT_INCLUDE)/$(dirstamp)
51PREINSTALL_FILES += $(PROJECT_INCLUDE)/$(dirstamp)
52
53if HAS_NETWORKING
54if HAS_POSIX
55$(PROJECT_INCLUDE)/goahead/$(dirstamp):
56        @$(mkinstalldirs) $(PROJECT_INCLUDE)/goahead
57        @: > $(PROJECT_INCLUDE)/goahead/$(dirstamp)
58PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/$(dirstamp)
59
60$(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h $(PROJECT_INCLUDE)/$(dirstamp)
61        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/rtems_webserver.h
62PREINSTALL_FILES += $(PROJECT_INCLUDE)/rtems_webserver.h
63
64$(PROJECT_INCLUDE)/goahead/ej.h: ej.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
65        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ej.h
66PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ej.h
67
68$(PROJECT_INCLUDE)/goahead/ejIntrn.h: ejIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
69        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/ejIntrn.h
70PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/ejIntrn.h
71
72$(PROJECT_INCLUDE)/goahead/emfdb.h: emfdb.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
73        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/emfdb.h
74PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/emfdb.h
75
76$(PROJECT_INCLUDE)/goahead/md5.h: md5.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
77        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/md5.h
78PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/md5.h
79
80$(PROJECT_INCLUDE)/goahead/uemf.h: uemf.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
81        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/uemf.h
82PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/uemf.h
83
84$(PROJECT_INCLUDE)/goahead/um.h: um.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
85        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/um.h
86PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/um.h
87
88$(PROJECT_INCLUDE)/goahead/webs.h: webs.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
89        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/webs.h
90PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/webs.h
91
92$(PROJECT_INCLUDE)/goahead/wsIntrn.h: wsIntrn.h $(PROJECT_INCLUDE)/goahead/$(dirstamp)
93        $(INSTALL_DATA) $< $(PROJECT_INCLUDE)/goahead/wsIntrn.h
94PREINSTALL_FILES += $(PROJECT_INCLUDE)/goahead/wsIntrn.h
95endif
96endif
97
98include $(top_srcdir)/automake/local.am
Note: See TracBrowser for help on using the repository browser.