blob: 0782894c95514de3ecca12c4e0c5bdd205de5c94 [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with automake to produce Makefile.in.
2
3INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
4DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
5INSTALL_SDATA=@INSTALL@ -m 600
6
7LIB_IPV6 = @LIB_IPV6@
paulfd6ff2f2003-08-27 06:17:18 +00008LIBCAP = @LIBCAP@
paul718e3742002-12-13 20:15:29 +00009
10ipforward = @IPFORWARD@
11if_method = @IF_METHOD@
12if_proc = @IF_PROC@
13rt_method = @RT_METHOD@
14rtread_method = @RTREAD_METHOD@
15kernel_method = @KERNEL_METHOD@
16other_method = @OTHER_METHOD@
paul19877dd2004-05-11 10:49:35 +000017ioctl_method = @IOCTL_METHOD@
paul718e3742002-12-13 20:15:29 +000018
paul19877dd2004-05-11 10:49:35 +000019otherobj = $(ioctl_method) $(ipforward) $(if_method) $(if_proc) \
20 $(rt_method) $(rtread_method) $(kernel_method) $(other_method)
paul718e3742002-12-13 20:15:29 +000021
22sbin_PROGRAMS = zebra
23
24zebra_SOURCES = \
paul19877dd2004-05-11 10:49:35 +000025 zserv.c main.c interface.c connected.c zebra_rib.c \
hassoca776982004-06-12 14:33:05 +000026 redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c \
27 irdp_main.c irdp_interface.c irdp_packet.c
paul718e3742002-12-13 20:15:29 +000028
29noinst_HEADERS = \
30 connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
hassoca776982004-06-12 14:33:05 +000031 interface.h ipforward.h irdp.h
paul718e3742002-12-13 20:15:29 +000032
gdt87efd642004-06-30 17:36:11 +000033zebra_LDADD = $(otherobj) $(LIBCAP) $(LIB_IPV6) -L../lib -lzebra
paul718e3742002-12-13 20:15:29 +000034
35zebra_DEPENDENCIES = $(otherobj)
36
paul19877dd2004-05-11 10:49:35 +000037EXTRA_DIST = if_ioctl.c if_ioctl_solaris.c if_netlink.c if_proc.c \
38 if_sysctl.c ipforward_aix.c ipforward_ews.c ipforward_proc.c \
paul718e3742002-12-13 20:15:29 +000039 ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \
40 rt_socket.c rtread_netlink.c rtread_proc.c rtread_sysctl.c \
41 rtread_getmsg.c kernel_socket.c kernel_netlink.c mtu_kvm.c \
paul19877dd2004-05-11 10:49:35 +000042 ioctl.c ioctl_solaris.c \
pauledd7c242003-06-04 13:59:38 +000043 GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB
paul718e3742002-12-13 20:15:29 +000044
gdt87efd642004-06-30 17:36:11 +000045#client : client_main.o -L../lib -lzebra
46# $(CC) -g -o client client_main.o -L../lib -lzebra $(LIBS) $(LIB_IPV6)
paul718e3742002-12-13 20:15:29 +000047
paul04bd4842003-10-24 04:24:39 +000048quaggaconfdir = $(sysconfdir)
gdtd6b72f72003-12-03 17:24:27 +000049
50examplesdir = $(exampledir)
51dist_examples_DATA = zebra.conf.sample