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

Last change on this file since cd9dac0 was 4855824, checked in by Ralf Corsepius <ralf.corsepius@…>, on 01/16/03 at 02:58:35

2003-01-15 Ralf Corsepius <corsepiu@…>

  • wrapup/Makefile.am: Don't include @RTEMS_BSP@.cfg.
  • pppd/Makefile.am: Don't include @RTEMS_BSP@.cfg. Eliminate *_O_FILES.
  • rtems_servers/Makefile.am: Ditto.
  • rtems_webserver/Makefile.am: Ditto.
  • rtems_telnetd/Makefile.am: Ditto.
  • Property mode set to 100644
File size: 1.5 KB
Line 
1##
2## $Id$
3##
4
5include_goaheaddir = $(includedir)/goahead
6
7LIBNAME = lib.a
8LIB = $(ARCH)/$(LIBNAME)
9
10C_FILES = asp.c balloc.c default.c ejlex.c ejparse.c emfdb.c form.c \
11    h.c handler.c md5c.c mime.c misc.c webpage.c ringq.c rom.c security.c \
12    sock.c socket.c sym.c uemf.c um.c url.c value.c wbase64.c webrom.c webs.c \
13    websuemf.c webmain.c
14OBJS = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
15
16H_FILES = ej.h ejIntrn.h emfdb.h md5.h uemf.h um.h webs.h wsIntrn.h
17
18include $(top_srcdir)/../../../automake/compile.am
19include $(top_srcdir)/../../../automake/lib.am
20
21#
22# Add local stuff here using +=
23#
24
25AM_CPPFLAGS += -DWEBS -DUEMF -DOS="RTEMS"
26
27$(LIB): $(OBJS)
28        $(make-library)
29
30$(PROJECT_INCLUDE):
31        $(mkinstalldirs) $@
32
33$(PROJECT_INCLUDE)/goahead:
34        $(mkinstalldirs) $@
35
36$(PROJECT_INCLUDE)/goahead/%.h: %.h
37        $(INSTALL_DATA) $< $@
38
39$(PROJECT_INCLUDE)/rtems_webserver.h: rtems_webserver.h
40        $(INSTALL_DATA) $< $@
41
42PREINSTALL_FILES = $(PROJECT_INCLUDE) $(PROJECT_INCLUDE)/rtems_webserver.h \
43    $(PROJECT_INCLUDE)/goahead $(H_FILES:%.h=$(PROJECT_INCLUDE)/goahead/%.h)
44
45if HAS_POSIX
46include_HEADERS = rtems_webserver.h
47include_goahead_HEADERS = $(H_FILES)
48
49all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
50endif
51
52.PRECIOUS: $(LIB)
53
54EXTRA_DIST = asp.c balloc.c default.c ej.h ejlex.c ejparse.c form.c h.c \
55    handler.c mime.c misc.c ringq.c rom.c rtems_webserver.h security.c \
56    sock.c socket.c sym.c uemf.c uemf.h um.h url.c value.c wbase64.c webcomp.c \
57    webmain.c webpage.c webrom.c webs.c webs.h websuemf.c wsIntrn.h
58
59include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.