paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in. |
| 2 | |
| 3 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib |
| 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@ |
| 17 | |
| 18 | otherobj = $(ipforward) $(if_method) $(if_proc) $(rt_method) \ |
paul | fd6ff2f | 2003-08-27 06:17:18 +0000 | [diff] [blame] | 19 | $(rtread_method) $(kernel_method) $(other_method) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 20 | |
| 21 | sbin_PROGRAMS = zebra |
| 22 | |
| 23 | zebra_SOURCES = \ |
| 24 | zserv.c main.c interface.c connected.c ioctl.c zebra_rib.c \ |
| 25 | redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c |
| 26 | |
| 27 | noinst_HEADERS = \ |
| 28 | connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \ |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 29 | interface.h ipforward.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 30 | |
paul | fd6ff2f | 2003-08-27 06:17:18 +0000 | [diff] [blame] | 31 | zebra_LDADD = ../lib/libzebra.a $(otherobj) $(LIBCAP) $(LIB_IPV6) |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 32 | |
| 33 | zebra_DEPENDENCIES = $(otherobj) |
| 34 | |
paul | 04bd484 | 2003-10-24 04:24:39 +0000 | [diff] [blame] | 35 | EXTRA_DIST = if_ioctl.c if_netlink.c if_proc.c if_sysctl.c \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 36 | ipforward_aix.c ipforward_ews.c ipforward_proc.c \ |
| 37 | ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \ |
| 38 | rt_socket.c rtread_netlink.c rtread_proc.c rtread_sysctl.c \ |
| 39 | rtread_getmsg.c kernel_socket.c kernel_netlink.c mtu_kvm.c \ |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame] | 40 | GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 41 | |
| 42 | #client : client_main.o ../lib/libzebra.a |
| 43 | # $(CC) -g -o client client_main.o ../lib/libzebra.a $(LIBS) $(LIB_IPV6) |
| 44 | |
paul | 04bd484 | 2003-10-24 04:24:39 +0000 | [diff] [blame] | 45 | quaggaconfdir = $(sysconfdir) |
gdt | d6b72f7 | 2003-12-03 17:24:27 +0000 | [diff] [blame] | 46 | |
| 47 | examplesdir = $(exampledir) |
| 48 | dist_examples_DATA = zebra.conf.sample |