source: rtems/cpukit/libnetworking/net/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.2 KB
Line 
1##
2## $Id$
3##
4
5AUTOMAKE_OPTIONS = foreign 1.4
6
7include_netdir = $(includedir)/net
8
9LIBNAME = lib.a
10LIB = $(ARCH)/$(LIBNAME)
11
12C_FILES = if.c if_ethersubr.c if_loop.c radix.c route.c rtsock.c raw_cb.c \
13    raw_usrreq.c
14C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
15
16OBJS = $(C_O_FILES)
17
18include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
19include $(top_srcdir)/../../../automake/compile.am
20include $(top_srcdir)/../../../automake/lib.am
21
22#
23# Add local stuff here using +=
24#
25
26AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
27    -DBOOTP_COMPAT
28
29$(LIB): $(OBJS)
30        $(make-library)
31
32all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
33
34.PRECIOUS: $(LIB)
35
36EXTRA_DIST = if.c if_ethersubr.c if_loop.c radix.c raw_cb.c raw_usrreq.c \
37    route.c rtsock.c
38
39include_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
43PREINSTALL_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
52include $(top_srcdir)/../../../automake/local.am
Note: See TracBrowser for help on using the repository browser.