Makefile.am 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. ## Process this file with automake to produce Makefile.in.
  2. INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
  3. DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" -DMULTIPATH_NUM=@MULTIPATH_NUM@
  4. INSTALL_SDATA=@INSTALL@ -m 600
  5. LIB_IPV6 = @LIB_IPV6@
  6. LIBCAP = @LIBCAP@
  7. ipforward = @IPFORWARD@
  8. if_method = @IF_METHOD@
  9. if_proc = @IF_PROC@
  10. rt_method = @RT_METHOD@
  11. rtread_method = @RTREAD_METHOD@
  12. kernel_method = @KERNEL_METHOD@
  13. other_method = @OTHER_METHOD@
  14. ioctl_method = @IOCTL_METHOD@
  15. otherobj = $(ioctl_method) $(ipforward) $(if_method) $(if_proc) \
  16. $(rt_method) $(rtread_method) $(kernel_method) $(other_method)
  17. AM_CFLAGS = $(PICFLAGS)
  18. AM_LDFLAGS = $(PILDFLAGS)
  19. sbin_PROGRAMS = zebra
  20. noinst_PROGRAMS = testzebra
  21. zebra_SOURCES = \
  22. zserv.c main.c interface.c connected.c zebra_rib.c zebra_routemap.c \
  23. redistribute.c debug.c rtadv.c zebra_snmp.c zebra_vty.c \
  24. irdp_main.c irdp_interface.c irdp_packet.c router-id.c
  25. testzebra_SOURCES = test_main.c zebra_rib.c interface.c connected.c debug.c \
  26. zebra_vty.c \
  27. kernel_null.c redistribute_null.c ioctl_null.c misc_null.c
  28. noinst_HEADERS = \
  29. connected.h ioctl.h rib.h rt.h zserv.h redistribute.h debug.h rtadv.h \
  30. interface.h ipforward.h irdp.h router-id.h kernel_socket.h
  31. zebra_LDADD = $(otherobj) $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la
  32. testzebra_LDADD = $(LIBCAP) $(LIB_IPV6) ../lib/libzebra.la
  33. zebra_DEPENDENCIES = $(otherobj)
  34. EXTRA_DIST = if_ioctl.c if_ioctl_solaris.c if_netlink.c if_proc.c \
  35. if_sysctl.c ipforward_aix.c ipforward_ews.c ipforward_proc.c \
  36. ipforward_solaris.c ipforward_sysctl.c rt_ioctl.c rt_netlink.c \
  37. rt_socket.c rtread_netlink.c rtread_proc.c rtread_sysctl.c \
  38. rtread_getmsg.c kernel_socket.c kernel_netlink.c mtu_kvm.c \
  39. ioctl.c ioctl_solaris.c \
  40. GNOME-SMI GNOME-PRODUCT-ZEBRA-MIB
  41. #client : client_main.o ../lib/libzebra.la
  42. # $(CC) -g -o client client_main.o ../liblzebra.la $(LIBS) $(LIB_IPV6)
  43. quaggaconfdir = $(sysconfdir)
  44. examplesdir = $(exampledir)
  45. dist_examples_DATA = zebra.conf.sample