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

4.104.114.84.95
Last change on this file since f0864664 was a6abd67, checked in by Joel Sherrill <joel.sherrill@…>, on 11/25/00 at 19:42:21

2000-11-25 Antti P Miettinen <antti.p.miettinen@…>

  • wrapup/Makefile.am: Added modem subdir.
  • configure.in, Makefile.am: Added modem subdir.
  • net/Makefile.am: Added if_pppvar.h, pppcompress.h.
  • pppd/Makefile.am: Added pppmain.c (which needs work).
  • pppd/chat.c, pppd/fsm.c, pppd/fsm.h, pppd/ipxcp.c, pppd/main.c, pppd/ppp_tty.c, pppd/upap.c: Changes from Thomas Doerfler <Thomas.Doerfler@…> and cosmetic changes by me. Actually main.c and ppp_tty.c should be scratched. The modem subdir has the real ppp_tty.c and the real pppd main is in pppmain.c.
  • 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    if_pppvar.h pppcompress.h
40
41noinst_HEADERS = $(H_FILES)
42
43PREINSTALL_FILES += $(PROJECT_INCLUDE)/net \
44    $(H_FILES:%=$(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.