File:  [ELWIX - Embedded LightWeight unIX -] / embedaddon / quagga / zebra / Makefile.am
Revision 1.1.1.3 (vendor branch): download - view: text, annotated - select for diffs - revision graph
Wed Nov 2 10:09:10 2016 UTC (7 years, 8 months ago) by misho
Branches: quagga, MAIN
CVS tags: v1_0_20160315, HEAD
quagga 1.0.20160315

    1: ## Process this file with automake to produce Makefile.in.
    2: 
    3: AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
    4: DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
    5: INSTALL_SDATA=@INSTALL@ -m 600
    6: 
    7: LIBCAP = @LIBCAP@
    8: 
    9: ipforward = @IPFORWARD@
   10: if_method = @IF_METHOD@
   11: rt_method = @RT_METHOD@
   12: rtread_method = @RTREAD_METHOD@
   13: kernel_method = @KERNEL_METHOD@
   14: ioctl_method = @IOCTL_METHOD@
   15: 
   16: otherobj = $(ioctl_method) $(ipforward) $(if_method) \
   17: 	$(rt_method) $(rtread_method) $(kernel_method)
   18: 
   19: if HAVE_NETLINK
   20: othersrc = zebra_fpm_netlink.c
   21: endif
   22: 
   23: AM_CFLAGS = $(WERROR)
   24: 
   25: sbin_PROGRAMS = zebra
   26: 
   27: noinst_PROGRAMS = testzebra
   28: 
   29: zebra_SOURCES = \
   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 zebra_fpm.c \
   33: 	$(othersrc)
   34: 
   35: testzebra_SOURCES = test_main.c zebra_rib.c interface.c connected.c debug.c \
   36: 	zebra_vty.c \
   37: 	kernel_null.c  redistribute_null.c ioctl_null.c misc_null.c
   38: 
   39: noinst_HEADERS = \
   40: 	connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
   41: 	interface.h ipforward.h irdp.h router-id.h kernel_socket.h \
   42: 	rt_netlink.h zebra_fpm.h zebra_fpm_private.h \
   43: 	ioctl_solaris.h
   44: 
   45: zebra_LDADD = $(otherobj) ../lib/libzebra.la $(LIBCAP)
   46: 
   47: testzebra_LDADD = ../lib/libzebra.la $(LIBCAP)
   48: 
   49: zebra_DEPENDENCIES = $(otherobj)
   50: 
   51: EXTRA_DIST = if_ioctl.c if_ioctl_solaris.c if_netlink.c \
   52:         if_sysctl.c ipforward_proc.c \
   53: 	ipforward_solaris.c ipforward_sysctl.c rt_netlink.c \
   54: 	rt_socket.c rtread_netlink.c rtread_sysctl.c \
   55: 	rtread_getmsg.c kernel_socket.c kernel_netlink.c \
   56: 	ioctl.c ioctl_solaris.c \
   57: 	GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB
   58: 
   59: client : client_main.o ../lib/libzebra.la
   60: 	$(CC) -g -o client client_main.o ../liblzebra.la $(LIBS) $(LIB_IPV6)
   61: 
   62: quaggaconfdir = $(sysconfdir)
   63: 
   64: examplesdir = $(exampledir)
   65: dist_examples_DATA = zebra.conf.sample

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>