]>
Commit | Line | Data |
---|---|---|
718e3744 | 1 | ## Process this file with automake to produce Makefile.in. |
2 | ||
2d58228e | 3 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@ |
718e3744 | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@ |
5 | INSTALL_SDATA=@INSTALL@ -m 600 | |
6 | ||
7 | LIB_IPV6 = @LIB_IPV6@ | |
fd6ff2fc | 8 | LIBCAP = @LIBCAP@ |
718e3744 | 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@ | |
19877dd2 | 17 | ioctl_method = @IOCTL_METHOD@ |
718e3744 | 18 | |
19877dd2 | 19 | otherobj = $(ioctl_method) $(ipforward) $(if_method) $(if_proc) \ |
20 | $(rt_method) $(rtread_method) $(kernel_method) $(other_method) | |
718e3744 | 21 | |
22 | sbin_PROGRAMS = zebra | |
23 | ||
457eb9af PJ |
24 | noinst_PROGRAMS = testzebra |
25 | ||
718e3744 | 26 | zebra_SOURCES = \ |
7514fb77 | 27 | zserv.c main.c interface.c connected.c zebra_rib.c zebra_routemap.c \ |
ca776988 | 28 | redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c \ |
18a6dce6 | 29 | irdp_main.c irdp_interface.c irdp_packet.c router-id.c |
718e3744 | 30 | |
457eb9af PJ |
31 | testzebra_SOURCES = test_main.c zebra_rib.c interface.c connected.c debug.c \ |
32 | zebra_vty.c \ | |
33 | kernel_null.c redistribute_null.c ioctl_null.c misc_null.c | |
34 | ||
718e3744 | 35 | noinst_HEADERS = \ |
36 | connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \ | |
ec1a4283 | 37 | interface.h ipforward.h irdp.h router-id.h kernel_socket.h |
718e3744 | 38 | |
b7a97f82 | 39 | zebra_LDADD = $(otherobj) $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la |
718e3744 | 40 | |
457eb9af PJ |
41 | testzebra_LDADD = $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la |
42 | ||
718e3744 | 43 | zebra_DEPENDENCIES = $(otherobj) |
44 | ||
19877dd2 | 45 | EXTRA_DIST = if_ioctl.c if_ioctl_solaris.c if_netlink.c if_proc.c \ |
46 | if_sysctl.c ipforward_aix.c ipforward_ews.c ipforward_proc.c \ | |
718e3744 | 47 | ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \ |
48 | rt_socket.c rtread_netlink.c rtread_proc.c rtread_sysctl.c \ | |
49 | rtread_getmsg.c kernel_socket.c kernel_netlink.c mtu_kvm.c \ | |
19877dd2 | 50 | ioctl.c ioctl_solaris.c \ |
edd7c245 | 51 | GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB |
718e3744 | 52 | |
b7a97f82 | 53 | #client : client_main.o ../lib/libzebra.la |
54 | # $(CC) -g -o client client_main.o ../liblzebra.la $(LIBS) $(LIB_IPV6) | |
718e3744 | 55 | |
04bd484b | 56 | quaggaconfdir = $(sysconfdir) |
d6b72f7a | 57 | |
58 | examplesdir = $(exampledir) | |
59 | dist_examples_DATA = zebra.conf.sample |