Last change
on this file since e89694e was
e89694e,
checked in by Joel Sherrill <joel.sherrill@…>, on 05/31/00 at 22:31:26
|
Distributed the preinstall of the header files to the directories
owning the header files.
|
-
Property mode set to
100644
|
File size:
1.4 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | LIBNAME = lib.a |
---|
8 | LIB = $(ARCH)/$(LIBNAME) |
---|
9 | |
---|
10 | C_FILES = asp.c balloc.c wbase64.c default.c ejlex.c ejparse.c form.c h.c \ |
---|
11 | handler.c mime.c misc.c webpage.c ringq.c rom.c security.c socket.c \ |
---|
12 | sym.c uemf.c url.c value.c webrom.c webs.c websuemf.c webmain.c |
---|
13 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
14 | |
---|
15 | OBJS = $(C_O_FILES) |
---|
16 | |
---|
17 | H_FILES = ej.h uemf.h webs.h wsIntrn.h |
---|
18 | |
---|
19 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
20 | include $(top_srcdir)/../../../automake/lib.am |
---|
21 | |
---|
22 | # |
---|
23 | # Add local stuff here using += |
---|
24 | # |
---|
25 | |
---|
26 | AM_CPPFLAGS += -DWEBS -DUEMF -DOS="RTEMS" |
---|
27 | |
---|
28 | $(LIB): $(OBJS) |
---|
29 | $(make-library) |
---|
30 | |
---|
31 | $(PROJECT_INCLUDE): |
---|
32 | $(mkinstalldirs) $@ |
---|
33 | |
---|
34 | $(PROJECT_INCLUDE)/goahead: |
---|
35 | $(mkinstalldirs) $@ |
---|
36 | |
---|
37 | $(PROJECT_INCLUDE)/goahead/%.h: %.h |
---|
38 | $(INSTALL_DATA) $< $@ |
---|
39 | |
---|
40 | $(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h |
---|
41 | $(INSTALL_DATA) $< $@ |
---|
42 | |
---|
43 | PREINSTALL_FILES += $(PROJECT_INCLUDE) \ |
---|
44 | $(PROJECT_INCLUDE)/rtems_webserver.h $(PROJECT_INCLUDE)/goahead \ |
---|
45 | $(H_FILES:%.h=$(PROJECT_INCLUDE)/goahead/%.h) |
---|
46 | |
---|
47 | if HAS_POSIX |
---|
48 | all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB) |
---|
49 | endif |
---|
50 | |
---|
51 | .PRECIOUS: $(LIB) |
---|
52 | |
---|
53 | EXTRA_DIST = asp.c balloc.c default.c ej.h ejlex.c ejparse.c form.c h.c \ |
---|
54 | handler.c mime.c misc.c ringq.c rom.c rtems_webserver.h security.c \ |
---|
55 | socket.c sym.c uemf.c uemf.h url.c value.c wbase64.c webcomp.c webmain.c \ |
---|
56 | webpage.c webrom.c webs.c webs.h websuemf.c wsIntrn.h |
---|
57 | |
---|
58 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.