]> git.proxmox.com Git - mirror_frr.git/blame - zebra/Makefile.am
build: remove INRIA, NRL and MUSICA IPv6 quirks
[mirror_frr.git] / zebra / Makefile.am
CommitLineData
718e3744 1## Process this file with automake to produce Makefile.in.
2
08d7f653 3INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
7a6da5ba 4DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
718e3744 5INSTALL_SDATA=@INSTALL@ -m 600
6
7LIB_IPV6 = @LIB_IPV6@
fd6ff2fc 8LIBCAP = @LIBCAP@
718e3744 9
10ipforward = @IPFORWARD@
11if_method = @IF_METHOD@
718e3744 12rt_method = @RT_METHOD@
13rtread_method = @RTREAD_METHOD@
14kernel_method = @KERNEL_METHOD@
19877dd2 15ioctl_method = @IOCTL_METHOD@
718e3744 16
35c4bf71 17otherobj = $(ioctl_method) $(ipforward) $(if_method) \
a4247f4b 18 $(rt_method) $(rtread_method) $(kernel_method)
718e3744 19
5adc2528
AS
20if HAVE_NETLINK
21othersrc = zebra_fpm_netlink.c
22endif
23
95bb8305 24AM_CFLAGS = $(WERROR)
46bc0e43 25
718e3744 26sbin_PROGRAMS = zebra
27
457eb9af
PJ
28noinst_PROGRAMS = testzebra
29
718e3744 30zebra_SOURCES = \
7514fb77 31 zserv.c main.c interface.c connected.c zebra_rib.c zebra_routemap.c \
ca776988 32 redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c \
5adc2528 33 irdp_main.c irdp_interface.c irdp_packet.c router-id.c zebra_fpm.c \
fe18ee2d 34 $(othersrc) zebra_ptm.c zebra_rnh.c zebra_ptm_redistribute.c \
7c551956 35 zebra_ns.c zebra_vrf.c
718e3744 36
457eb9af 37testzebra_SOURCES = test_main.c zebra_rib.c interface.c connected.c debug.c \
7c551956 38 zebra_vty.c zebra_ptm.c zebra_routemap.c zebra_ns.c zebra_vrf.c \
c43ed2e4 39 kernel_null.c redistribute_null.c ioctl_null.c misc_null.c zebra_rnh_null.c \
7c551956 40 zebra_ptm_null.c rtadv_null.c if_null.c zserv_null.c
457eb9af 41
718e3744 42noinst_HEADERS = \
43 connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
4209a887 44 interface.h ipforward.h irdp.h router-id.h kernel_socket.h \
c43ed2e4 45 rt_netlink.h zebra_fpm.h zebra_fpm_private.h zebra_rnh.h \
fe18ee2d 46 zebra_ptm_redistribute.h zebra_ptm.h zebra_routemap.h \
7c551956 47 zebra_ns.h zebra_vrf.h
718e3744 48
d1d3ac9b 49zebra_LDADD = $(otherobj) ../lib/libzebra.la $(LIBCAP) $(LIB_IPV6)
718e3744 50
d1d3ac9b 51testzebra_LDADD = ../lib/libzebra.la $(LIBCAP) $(LIB_IPV6)
457eb9af 52
718e3744 53zebra_DEPENDENCIES = $(otherobj)
54
35c4bf71 55EXTRA_DIST = if_ioctl.c if_ioctl_solaris.c if_netlink.c \
a4247f4b 56 if_sysctl.c ipforward_proc.c \
718e3744 57 ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \
35c4bf71 58 rt_socket.c rtread_netlink.c rtread_sysctl.c \
a4247f4b 59 rtread_getmsg.c kernel_socket.c kernel_netlink.c \
19877dd2 60 ioctl.c ioctl_solaris.c \
edd7c245 61 GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB
718e3744 62
2d30dcac
PJ
63client : client_main.o ../lib/libzebra.la
64 $(CC) -g -o client client_main.o ../liblzebra.la $(LIBS) $(LIB_IPV6)
718e3744 65
04bd484b 66quaggaconfdir = $(sysconfdir)
d6b72f7a 67
68examplesdir = $(exampledir)
69dist_examples_DATA = zebra.conf.sample