source:
rtems/cpukit/httpd/Makefile.am
@
4078e82
Last change on this file since 4078e82 was 4078e82, checked in by Ralf Corsepius <ralf.corsepius@…>, on 07/25/03 at 06:15:38 | |
---|---|
|
|
File size: 1.6 KB |
Rev | Line | |
---|---|---|
[df49c60] | 1 | ## |
[4bf1801] | 2 | ## $Id$ |
[df49c60] | 3 | ## |
[4bf1801] | 4 | |
5 | LIBNAME = lib.a | |
6 | LIB = $(ARCH)/$(LIBNAME) | |
7 | ||
[5ff9c088] | 8 | C_FILES = asp.c balloc.c default.c ejlex.c ejparse.c emfdb.c form.c \ |
[9b28bea5] | 9 | h.c handler.c md5c.c mime.c misc.c webpage.c ringq.c rom.c security.c \ |
[5ff9c088] | 10 | sock.c socket.c sym.c uemf.c um.c url.c value.c wbase64.c webrom.c webs.c \ |
11 | websuemf.c webmain.c | |
[4855824] | 12 | OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT)) |
[4bf1801] | 13 | |
[a6b4c0df] | 14 | H_FILES = ej.h ejIntrn.h emfdb.h md5.h uemf.h um.h webs.h wsIntrn.h |
[df49c60] | 15 | |
[4078e82] | 16 | include $(top_srcdir)/../../automake/compile.am |
17 | include $(top_srcdir)/../../automake/lib.am | |
[4bf1801] | 18 | |
19 | # | |
20 | # Add local stuff here using += | |
21 | # | |
22 | ||
23 | AM_CPPFLAGS += -DWEBS -DUEMF -DOS="RTEMS" | |
24 | ||
25 | $(LIB): $(OBJS) | |
26 | $(make-library) | |
27 | ||
[df49c60] | 28 | $(PROJECT_INCLUDE): |
29 | $(mkinstalldirs) $@ | |
30 | ||
31 | $(PROJECT_INCLUDE)/goahead: | |
32 | $(mkinstalldirs) $@ | |
33 | ||
34 | $(PROJECT_INCLUDE)/goahead/%.h: %.h | |
35 | $(INSTALL_DATA) $< $@ | |
36 | ||
37 | $(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h | |
38 | $(INSTALL_DATA) $< $@ | |
39 | ||
[b68e01c5] | 40 | PREINSTALL_FILES = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems_webserver.h \ |
[9b28bea5] | 41 | $(PROJECT_INCLUDE)/goahead $(H_FILES:%.h=$(PROJECT_INCLUDE)/goahead/%.h) |
[df49c60] | 42 | |
[4078e82] | 43 | if HAS_NETWORKING |
[4bf1801] | 44 | if HAS_POSIX |
[4078e82] | 45 | include_goaheaddir = $(includedir)/goahead |
46 | ||
[e6d8fe47] | 47 | include_HEADERS = rtems_webserver.h |
48 | include_goahead_HEADERS = $(H_FILES) | |
49 | ||
[df49c60] | 50 | all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB) |
[4bf1801] | 51 | endif |
[4078e82] | 52 | endif |
[4bf1801] | 53 | |
54 | .PRECIOUS: $(LIB) | |
55 | ||
56 | EXTRA_DIST = asp.c balloc.c default.c ej.h ejlex.c ejparse.c form.c h.c \ | |
57 | handler.c mime.c misc.c ringq.c rom.c rtems_webserver.h security.c \ | |
[5ff9c088] | 58 | sock.c socket.c sym.c uemf.c uemf.h um.h url.c value.c wbase64.c webcomp.c \ |
[a6b4c0df] | 59 | webmain.c webpage.c webrom.c webs.c webs.h websuemf.c wsIntrn.h |
[4bf1801] | 60 | |
[4078e82] | 61 | include $(top_srcdir)/../../automake/local.am |
Note: See TracBrowser
for help on using the repository browser.