source: rtems/c/src/exec/libnetworking/net/Makefile.am @ e2af631

4.104.114.84.95
Last change on this file since e2af631 was 9b28bea5, checked in by Joel Sherrill <joel.sherrill@…>, on Sep 5, 2000 at 4:07:35 PM

2000-09-04 Ralf Corsepius <corsepiu@…>

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