paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in. |
| 2 | |
hasso | 2d58228 | 2005-03-28 15:29:07 +0000 | [diff] [blame] | 3 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@ |
| 5 | INSTALL_SDATA=@INSTALL@ -m 600 |
| 6 | |
| 7 | LIB_IPV6 = @LIB_IPV6@ |
paul | fd6ff2f | 2003-08-27 06:17:18 +0000 | [diff] [blame] | 8 | LIBCAP = @LIBCAP@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 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@ |
paul | 19877dd | 2004-05-11 10:49:35 +0000 | [diff] [blame] | 17 | ioctl_method = @IOCTL_METHOD@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 18 | |
paul | 19877dd | 2004-05-11 10:49:35 +0000 | [diff] [blame] | 19 | otherobj = $(ioctl_method) $(ipforward) $(if_method) $(if_proc) \ |
| 20 | $(rt_method) $(rtread_method) $(kernel_method) $(other_method) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 21 | |
| 22 | sbin_PROGRAMS = zebra |
| 23 | |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 24 | noinst_PROGRAMS = testzebra |
| 25 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 26 | zebra_SOURCES = \ |
paul | 19877dd | 2004-05-11 10:49:35 +0000 | [diff] [blame] | 27 | zserv.c main.c interface.c connected.c zebra_rib.c \ |
hasso | ca77698 | 2004-06-12 14:33:05 +0000 | [diff] [blame] | 28 | redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c \ |
hasso | 18a6dce | 2004-10-03 18:18:34 +0000 | [diff] [blame] | 29 | irdp_main.c irdp_interface.c irdp_packet.c router-id.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 30 | |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 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 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 35 | noinst_HEADERS = \ |
| 36 | connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \ |
paul | ec1a428 | 2005-11-24 15:15:17 +0000 | [diff] [blame] | 37 | interface.h ipforward.h irdp.h router-id.h kernel_socket.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 38 | |
gdt | b7a97f8 | 2004-07-23 16:23:56 +0000 | [diff] [blame] | 39 | zebra_LDADD = $(otherobj) $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 40 | |
Paul Jakma | 457eb9a | 2006-07-27 19:59:58 +0000 | [diff] [blame] | 41 | testzebra_LDADD = $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la |
| 42 | |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 43 | zebra_DEPENDENCIES = $(otherobj) |
| 44 | |
paul | 19877dd | 2004-05-11 10:49:35 +0000 | [diff] [blame] | 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 \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 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 \ |
paul | 19877dd | 2004-05-11 10:49:35 +0000 | [diff] [blame] | 50 | ioctl.c ioctl_solaris.c \ |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 51 | GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 52 | |
gdt | b7a97f8 | 2004-07-23 16:23:56 +0000 | [diff] [blame] | 53 | #client : client_main.o ../lib/libzebra.la |
| 54 | # $(CC) -g -o client client_main.o ../liblzebra.la $(LIBS) $(LIB_IPV6) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 55 | |
paul | 04bd484 | 2003-10-24 04:24:39 +0000 | [diff] [blame] | 56 | quaggaconfdir = $(sysconfdir) |
gdt | d6b72f7 | 2003-12-03 17:24:27 +0000 | [diff] [blame] | 57 | |
| 58 | examplesdir = $(exampledir) |
| 59 | dist_examples_DATA = zebra.conf.sample |