source: rtems/c/src/libnetworking/net/Makefile.am @ 01d48bf8

4.104.114.84.95
Last change on this file since 01d48bf8 was 01d48bf8, checked in by Joel Sherrill <joel.sherrill@…>, on 03/28/02 at 00:49:43

2002-03-27 Ralf Corsepius <corsepiu@…>

  • configure.ac: AC_INIT(package,_RTEMS_VERSION,_RTEMS_BUGS). AM_INIT_AUTOMAKE([no-define foreign 1.6]).
  • arpa/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • kern/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Makefile.am: Remove AUTOMAKE_OPTIONS.
  • lib/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • libc/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • machine/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • net/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • netinet/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • nfs/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • pppd/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rtems/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rtems_servers/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rtems_telnetd/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • rtems_webserver/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • sys/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • vm/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • wrapup/Makefile.am: Remove AUTOMAKE_OPTIONS.
  • Property mode set to 100644
File size: 1.2 KB
Line 
1##
2## $Id$
3##
4
5
6include_netdir = $(includedir)/net
7
8LIBNAME = lib.a
9LIB = $(ARCH)/$(LIBNAME)
10
11C_FILES = if.c if_ethersubr.c if_loop.c radix.c route.c rtsock.c raw_cb.c \
12    raw_usrreq.c if_ppp.c ppp_tty.c pppcompress.c
13C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.o)
14
15OBJS = $(C_O_FILES)
16
17include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
18include $(top_srcdir)/../../../automake/compile.am
19include $(top_srcdir)/../../../automake/lib.am
20
21#
22# Add local stuff here using +=
23#
24
25AM_CPPFLAGS += -D_COMPILING_BSD_KERNEL_ -DKERNEL -DINET -DNFS -DDIAGNOSTIC \
26    -DBOOTP_COMPAT
27
28$(LIB): $(OBJS)
29        $(make-library)
30
31all-local: $(PREINSTALL_FILES) $(ARCH) $(OBJS) $(LIB)
32
33.PRECIOUS: $(LIB)
34
35EXTRA_DIST = if.c if_ethersubr.c if_loop.c radix.c raw_cb.c raw_usrreq.c \
36    route.c rtsock.c
37
38include_net_HEADERS = bpf.h ethernet.h if.h if_arp.h if_dl.h if_llc.h if_ppp.h \
39    if_types.h netisr.h ppp-comp.h ppp_defs.h radix.h raw_cb.h route.h \
40    if_pppvar.h pppcompress.h
41
42PREINSTALL_FILES = $(PROJECT_INCLUDE)/net \
43    $(include_net_HEADERS:%=$(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.