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.2 KB
|
Line | |
---|
1 | ## |
---|
2 | ## $Id$ |
---|
3 | ## |
---|
4 | |
---|
5 | AUTOMAKE_OPTIONS = foreign 1.4 |
---|
6 | |
---|
7 | include_netdir = $(includedir)/net |
---|
8 | |
---|
9 | LIBNAME = lib.a |
---|
10 | LIB = $(ARCH)/$(LIBNAME) |
---|
11 | |
---|
12 | C_FILES = if.c if_ethersubr.c if_loop.c radix.c route.c rtsock.c raw_cb.c \ |
---|
13 | raw_usrreq.c |
---|
14 | C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o) |
---|
15 | |
---|
16 | OBJS = $(C_O_FILES) |
---|
17 | |
---|
18 | include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg |
---|
19 | include $(top_srcdir)/../../../automake/compile.am |
---|
20 | include $(top_srcdir)/../../../automake/lib.am |
---|
21 | |
---|
22 | # |
---|
23 | # Add local stuff here using += |
---|
24 | # |
---|
25 | |
---|
26 | AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \ |
---|
27 | -DBOOTP_COMPAT |
---|
28 | |
---|
29 | $(LIB): $(OBJS) |
---|
30 | $(make-library) |
---|
31 | |
---|
32 | all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB) |
---|
33 | |
---|
34 | .PRECIOUS: $(LIB) |
---|
35 | |
---|
36 | EXTRA_DIST = if.c if_ethersubr.c if_loop.c radix.c raw_cb.c raw_usrreq.c \ |
---|
37 | route.c rtsock.c |
---|
38 | |
---|
39 | include_net_HEADERS = bpf.h ethernet.h if.h if_arp.h if_dl.h if_llc.h if_ppp.h \ |
---|
40 | if_types.h netisr.h ppp-comp.h ppp_defs.h radix.h raw_cb.h route.h \ |
---|
41 | if_pppvar.h pppcompress.h |
---|
42 | |
---|
43 | PREINSTALL_FILES += $(PROJECT_INCLUDE)/net \ |
---|
44 | $(include_net_HEADERS:%=$(PROJECT_INCLUDE)/net/%) |
---|
45 | |
---|
46 | $(PROJECT_INCLUDE)/net: |
---|
47 | @$(mkinstalldirs) $@ |
---|
48 | |
---|
49 | $(PROJECT_INCLUDE)/net/%.h: %.h |
---|
50 | $(INSTALL_DATA) $< $@ |
---|
51 | |
---|
52 | include $(top_srcdir)/../../../automake/local.am |
---|
Note: See
TracBrowser
for help on using the repository browser.