1 ## Process this file with automake to produce Makefile.in.
3 INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
4 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
5 INSTALL_SDATA=@INSTALL@ -m 600
10 ipforward = @IPFORWARD@
11 if_method = @IF_METHOD@
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@
19 otherobj = $(ioctl_method) $(ipforward) $(if_method) $(if_proc) \
20 $(rt_method) $(rtread_method) $(kernel_method) $(other_method)
22 AM_CFLAGS = $(PICFLAGS)
23 AM_LDFLAGS = $(PILDFLAGS)
27 noinst_PROGRAMS = testzebra
30 zserv.c main.c interface.c connected.c zebra_rib.c zebra_routemap.c \
31 redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c \
32 irdp_main.c irdp_interface.c irdp_packet.c router-id.c
34 testzebra_SOURCES = test_main.c zebra_rib.c interface.c connected.c debug.c \
36 kernel_null.c redistribute_null.c ioctl_null.c misc_null.c
39 connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
40 interface.h ipforward.h irdp.h router-id.h kernel_socket.h
42 zebra_LDADD = $(otherobj) $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la
44 testzebra_LDADD = $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la
46 zebra_DEPENDENCIES = $(otherobj)
48 EXTRA_DIST = if_ioctl.c if_ioctl_solaris.c if_netlink.c if_proc.c \
49 if_sysctl.c ipforward_aix.c ipforward_ews.c ipforward_proc.c \
50 ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \
51 rt_socket.c rtread_netlink.c rtread_proc.c rtread_sysctl.c \
52 rtread_getmsg.c kernel_socket.c kernel_netlink.c mtu_kvm.c \
53 ioctl.c ioctl_solaris.c \
54 GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB
56 #client : client_main.o ../lib/libzebra.la
57 # $(CC) -g -o client client_main.o ../liblzebra.la $(LIBS) $(LIB_IPV6)
59 quaggaconfdir = $(sysconfdir)
61 examplesdir = $(exampledir)
62 dist_examples_DATA = zebra.conf.sample