]> git.proxmox.com Git - mirror_frr.git/blame - zebra/Makefile.am
mpls: add null driver
[mirror_frr.git] / zebra / Makefile.am
CommitLineData
718e3744 1## Process this file with automake to produce Makefile.in.
2
9e8da292 3AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
7a6da5ba 4DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
718e3744 5INSTALL_SDATA=@INSTALL@ -m 600
6
fd6ff2fc 7LIBCAP = @LIBCAP@
718e3744 8
9ipforward = @IPFORWARD@
10if_method = @IF_METHOD@
718e3744 11rt_method = @RT_METHOD@
12rtread_method = @RTREAD_METHOD@
13kernel_method = @KERNEL_METHOD@
19877dd2 14ioctl_method = @IOCTL_METHOD@
be0dba35 15mpls_method = @MPLS_METHOD@
718e3744 16
35c4bf71 17otherobj = $(ioctl_method) $(ipforward) $(if_method) \
be0dba35 18 $(rt_method) $(rtread_method) $(kernel_method) $(mpls_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 = \
4a1ab8e4 31 zebra_memory.c \
7514fb77 32 zserv.c main.c interface.c connected.c zebra_rib.c zebra_routemap.c \
ca776988 33 redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c \
5adc2528 34 irdp_main.c irdp_interface.c irdp_packet.c router-id.c zebra_fpm.c \
fe18ee2d 35 $(othersrc) zebra_ptm.c zebra_rnh.c zebra_ptm_redistribute.c \
7758e3f3 36 zebra_ns.c zebra_vrf.c zebra_static.c zebra_mpls.c
718e3744 37
457eb9af 38testzebra_SOURCES = test_main.c zebra_rib.c interface.c connected.c debug.c \
7c551956 39 zebra_vty.c zebra_ptm.c zebra_routemap.c zebra_ns.c zebra_vrf.c \
c43ed2e4 40 kernel_null.c redistribute_null.c ioctl_null.c misc_null.c zebra_rnh_null.c \
4a1ab8e4 41 zebra_ptm_null.c rtadv_null.c if_null.c zserv_null.c zebra_static.c \
be0dba35 42 zebra_memory.c zebra_mpls.c zebra_mpls_null.c
457eb9af 43
718e3744 44noinst_HEADERS = \
4a1ab8e4 45 zebra_memory.h \
718e3744 46 connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
4209a887 47 interface.h ipforward.h irdp.h router-id.h kernel_socket.h \
c43ed2e4 48 rt_netlink.h zebra_fpm.h zebra_fpm_private.h zebra_rnh.h \
fe18ee2d 49 zebra_ptm_redistribute.h zebra_ptm.h zebra_routemap.h \
54d48ea1 50 zebra_ns.h zebra_vrf.h ioctl_solaris.h zebra_static.h zebra_mpls.h
718e3744 51
42bb3dfd 52zebra_LDADD = $(otherobj) ../lib/libzebra.la $(LIBCAP)
718e3744 53
42bb3dfd 54testzebra_LDADD = ../lib/libzebra.la $(LIBCAP)
457eb9af 55
718e3744 56zebra_DEPENDENCIES = $(otherobj)
57
35c4bf71 58EXTRA_DIST = if_ioctl.c if_ioctl_solaris.c if_netlink.c \
a4247f4b 59 if_sysctl.c ipforward_proc.c \
865730ab 60 ipforward_solaris.c ipforward_sysctl.c rt_netlink.c \
35c4bf71 61 rt_socket.c rtread_netlink.c rtread_sysctl.c \
a4247f4b 62 rtread_getmsg.c kernel_socket.c kernel_netlink.c \
19877dd2 63 ioctl.c ioctl_solaris.c \
edd7c245 64 GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB
718e3744 65
2d30dcac
PJ
66client : client_main.o ../lib/libzebra.la
67 $(CC) -g -o client client_main.o ../liblzebra.la $(LIBS) $(LIB_IPV6)
718e3744 68
04bd484b 69quaggaconfdir = $(sysconfdir)
d6b72f7a 70
71examplesdir = $(exampledir)
72dist_examples_DATA = zebra.conf.sample