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

4.104.114.84.95
Last change on this file since b68e01c5 was b68e01c5, checked in by Joel Sherrill <joel.sherrill@…>, on 09/27/01 at 13:28:22

2001-09-23 Ralf Corsepius <corsepiu@…>

  • machine/Makefile.am: Use 'PREINSTALL_FILES ='.
  • net/Makefile.am: Use 'PREINSTALL_FILES ='.
  • netinet/Makefile.am: Use 'PREINSTALL_FILES ='.
  • vm/Makefile.am: Use 'PREINSTALL_FILES ='.
  • pppd/Makefile.am: Use 'PREINSTALL_FILES ='.
  • sys/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rtems_servers/Makefile.am: Use 'PREINSTALL_FILES ='.
  • arpa/Makefile.am: Use 'PREINSTALL_FILES ='.
  • nfs/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rtems_webserver/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rtems/Makefile.am: Use 'PREINSTALL_FILES ='.
  • rtems_telnetd/Makefile.am: Use 'PREINSTALL_FILES ='.
  • 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.