Makefile.am 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. ## Process this file with automake to produce Makefile.in.
  2. ## $QuaggaId: $Format:%an, %ai, %h$ $
  3. # qpimd - pimd for quagga
  4. # Copyright (C) 2008 Everton da Silva Marques
  5. #
  6. # qpimd is free software; you can redistribute it and/or modify
  7. # it under the terms of the GNU General Public License as
  8. # published by the Free Software Foundation; either version 2,
  9. # or (at your option) any later version.
  10. #
  11. # qpimd is distributed in the hope that it will be useful, but
  12. # WITHOUT ANY WARRANTY; without even the implied warranty of
  13. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  14. # GNU General Public License for more details.
  15. #
  16. # You should have received a copy of the GNU General Public
  17. # License along with qpimd; see the file COPYING. If not, write
  18. # to the Free Software Foundation, Inc., 59 Temple Place - Suite
  19. # 330, Boston, MA 02111-1307, USA.
  20. # PIM_DEBUG_BYDEFAULT: Automatically enables all pimd "debug ..." commands
  21. # PIM_ZCLIENT_DEBUG: Support for internal ZEBRA client debugging
  22. # PIM_CHECK_RECV_IFINDEX_SANITY: Compare socket ifindex with recv ifindex
  23. # PIM_REPORT_RECV_IFINDEX_MISMATCH: Report sock/recv ifindex mismatch
  24. # PIM_ENFORCE_LOOPFREE_MFC: Refuse adding looping MFC entries
  25. # PIM_UNEXPECTED_KERNEL_UPCALL: Report unexpected kernel upcall
  26. PIM_DEFS =
  27. #PIM_DEFS += -DPIM_DEBUG_BYDEFAULT
  28. PIM_DEFS += -DPIM_CHECK_RECV_IFINDEX_SANITY
  29. #PIM_DEFS += -DPIM_REPORT_RECV_IFINDEX_MISMATCH
  30. PIM_DEFS += -DPIM_ZCLIENT_DEBUG
  31. PIM_DEFS += -DPIM_ENFORCE_LOOPFREE_MFC
  32. #PIM_DEFS += -DPIM_UNEXPECTED_KERNEL_UPCALL
  33. AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib
  34. DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" $(PIM_DEFS)
  35. INSTALL_SDATA=@INSTALL@ -m 600
  36. LIBS = @LIBS@
  37. AM_CFLAGS = $(PICFLAGS)
  38. AM_LDFLAGS = $(PILDFLAGS)
  39. noinst_LIBRARIES = libpim.a
  40. sbin_PROGRAMS = pimd
  41. bin_PROGRAMS = test_igmpv3_join
  42. libpim_a_SOURCES = \
  43. pimd.c pim_version.c pim_cmd.c pim_signals.c pim_iface.c \
  44. pim_vty.c pim_igmp.c pim_sock.c pim_zebra.c \
  45. pim_igmpv3.c pim_str.c pim_mroute.c pim_util.c pim_time.c \
  46. pim_oil.c pim_zlookup.c pim_pim.c pim_tlv.c pim_neighbor.c \
  47. pim_hello.c pim_ifchannel.c pim_join.c pim_assert.c \
  48. pim_msg.c pim_upstream.c pim_rpf.c pim_rand.c pim_macro.c \
  49. pim_igmp_join.c pim_ssmpingd.c pim_int.c
  50. noinst_HEADERS = \
  51. pimd.h pim_version.h pim_cmd.h pim_signals.h pim_iface.h \
  52. pim_vty.h pim_igmp.h pim_sock.h pim_zebra.h \
  53. pim_igmpv3.h pim_str.h pim_mroute.h pim_util.h pim_time.h \
  54. pim_oil.h pim_zlookup.h pim_pim.h pim_tlv.h pim_neighbor.h \
  55. pim_hello.h pim_ifchannel.h pim_join.h pim_assert.h \
  56. pim_msg.h pim_upstream.h pim_rpf.h pim_rand.h pim_macro.h \
  57. pim_igmp_join.h pim_ssmpingd.h pim_int.h
  58. pimd_SOURCES = \
  59. pim_main.c $(libpim_a_SOURCES)
  60. test_igmpv3_join_SOURCES = \
  61. test_igmpv3_join.c pim_igmp_join.c
  62. pimd_LDADD = ../lib/libzebra.la @LIBCAP@
  63. examplesdir = $(exampledir)
  64. dist_examples_DATA = pimd.conf.sample