]> git.proxmox.com Git - mirror_frr.git/blob - zebra/Makefile.am
This patch changes BGP from only listening mode for BFD status updates to interactive...
[mirror_frr.git] / zebra / Makefile.am
1 ## Process this file with automake to produce Makefile.in.
2
3 INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
4 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
5 INSTALL_SDATA=@INSTALL@ -m 600
6
7 LIB_IPV6 = @LIB_IPV6@
8 LIBCAP = @LIBCAP@
9
10 ipforward = @IPFORWARD@
11 if_method = @IF_METHOD@
12 if_proc = @IF_PROC@
13 rt_method = @RT_METHOD@
14 rtread_method = @RTREAD_METHOD@
15 kernel_method = @KERNEL_METHOD@
16 other_method = @OTHER_METHOD@
17 ioctl_method = @IOCTL_METHOD@
18
19 otherobj = $(ioctl_method) $(ipforward) $(if_method) $(if_proc) \
20 $(rt_method) $(rtread_method) $(kernel_method) $(other_method)
21
22 if HAVE_NETLINK
23 othersrc = zebra_fpm_netlink.c
24 endif
25
26 AM_CFLAGS = $(PICFLAGS)
27 AM_LDFLAGS = $(PILDFLAGS)
28
29 sbin_PROGRAMS = zebra
30
31 noinst_PROGRAMS = testzebra
32
33 zebra_SOURCES = \
34 zserv.c main.c interface.c connected.c zebra_rib.c zebra_routemap.c \
35 redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c \
36 irdp_main.c irdp_interface.c irdp_packet.c router-id.c zebra_fpm.c \
37 $(othersrc) zebra_ptm.c zebra_rnh.c zebra_ptm_redistribute.c
38
39 testzebra_SOURCES = test_main.c zebra_rib.c interface.c connected.c debug.c \
40 zebra_vty.c zebra_ptm.c zebra_routemap.c \
41 kernel_null.c redistribute_null.c ioctl_null.c misc_null.c zebra_rnh_null.c \
42 zebra_ptm_null.c
43
44 noinst_HEADERS = \
45 connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
46 interface.h ipforward.h irdp.h router-id.h kernel_socket.h \
47 rt_netlink.h zebra_fpm.h zebra_fpm_private.h zebra_rnh.h \
48 zebra_ptm_redistribute.h
49
50 zebra_LDADD = $(otherobj) ../lib/libzebra.la $(LIBCAP) $(LIB_IPV6)
51
52 testzebra_LDADD = ../lib/libzebra.la $(LIBCAP) $(LIB_IPV6)
53
54 zebra_DEPENDENCIES = $(otherobj)
55
56 EXTRA_DIST = if_ioctl.c if_ioctl_solaris.c if_netlink.c if_proc.c \
57 if_sysctl.c ipforward_aix.c ipforward_ews.c ipforward_proc.c \
58 ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \
59 rt_socket.c rtread_netlink.c rtread_proc.c rtread_sysctl.c \
60 rtread_getmsg.c kernel_socket.c kernel_netlink.c mtu_kvm.c \
61 ioctl.c ioctl_solaris.c \
62 GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB
63
64 #client : client_main.o ../lib/libzebra.la
65 # $(CC) -g -o client client_main.o ../liblzebra.la $(LIBS) $(LIB_IPV6)
66
67 quaggaconfdir = $(sysconfdir)
68
69 examplesdir = $(exampledir)
70 dist_examples_DATA = zebra.conf.sample