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

4.104.114.84.95
Last change on this file since e6d8fe47 was e6d8fe47, checked in by Joel Sherrill <joel.sherrill@…>, on 02/05/01 at 18:36:27

2001-02-03 Ralf Corsepius <corsepiu@…>

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