blob: f586d73434da0dc3b91b0ae5c2cec62cced6f9c6 [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with automake to produce Makefile.in.
2
David Lamparter237aac52014-06-28 22:23:10 +02003AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
David Lamparterc0bedeb2015-03-03 10:00:43 +01004AM_CFLAGS = $(WERROR)
paul718e3742002-12-13 20:15:29 +00005DEFS = @DEFS@ $(LOCAL_OPTS) -DSYSCONFDIR=\"$(sysconfdir)/\"
6INSTALL_SDATA=@INSTALL@ -m 600
7
gdtb2c1b282004-07-01 12:35:36 +00008lib_LTLIBRARIES = libospf.la
Brad Smith4bed21c2012-08-09 00:40:09 +00009libospf_la_LDFLAGS = -version-info 0:0:0
David Lamparterd8d5c602015-09-15 02:19:46 -070010libospf_la_LIBADD = ../lib/libzebra.la
gdtb7a97f82004-07-23 16:23:56 +000011
paul718e3742002-12-13 20:15:29 +000012sbin_PROGRAMS = ospfd
13
gdtb2c1b282004-07-01 12:35:36 +000014libospf_la_SOURCES = \
paul718e3742002-12-13 20:15:29 +000015 ospfd.c ospf_zebra.c ospf_interface.c ospf_ism.c ospf_neighbor.c \
16 ospf_nsm.c ospf_dump.c ospf_network.c ospf_packet.c ospf_lsa.c \
17 ospf_spf.c ospf_route.c ospf_ase.c ospf_abr.c ospf_ia.c ospf_flood.c \
18 ospf_lsdb.c ospf_asbr.c ospf_routemap.c ospf_snmp.c \
Olivier Dugeon48198692016-04-19 19:21:17 +020019 ospf_opaque.c ospf_te.c ospf_ri.c ospf_vty.c ospf_api.c ospf_apiserver.c
paul718e3742002-12-13 20:15:29 +000020
gdtaf273652003-12-08 18:12:34 +000021ospfdheaderdir = $(pkgincludedir)/ospfd
paul1b5d0192003-03-17 23:54:15 +000022
23ospfdheader_HEADERS = \
24 ospf_api.h ospf_asbr.h ospf_dump.h ospf_lsa.h ospf_lsdb.h \
25 ospf_nsm.h ospf_ism.h ospf_opaque.h ospfd.h
26
paul718e3742002-12-13 20:15:29 +000027noinst_HEADERS = \
paul1b5d0192003-03-17 23:54:15 +000028 ospf_interface.h ospf_neighbor.h ospf_network.h ospf_packet.h \
29 ospf_zebra.h ospf_spf.h ospf_route.h ospf_ase.h ospf_abr.h ospf_ia.h \
Olivier Dugeon48198692016-04-19 19:21:17 +020030 ospf_flood.h ospf_snmp.h ospf_te.h ospf_ri.h ospf_vty.h ospf_apiserver.h
paul718e3742002-12-13 20:15:29 +000031
gdtb2c1b282004-07-01 12:35:36 +000032ospfd_SOURCES = ospf_main.c
paul718e3742002-12-13 20:15:29 +000033
Olivier Dugeon48198692016-04-19 19:21:17 +020034ospfd_LDADD = libospf.la ../lib/libzebra.la @LIBCAP@ @LIBM@
paul718e3742002-12-13 20:15:29 +000035
paul04bd4842003-10-24 04:24:39 +000036EXTRA_DIST = OSPF-MIB.txt OSPF-TRAP-MIB.txt ChangeLog.opaque.txt
paul718e3742002-12-13 20:15:29 +000037
gdtd6b72f72003-12-03 17:24:27 +000038examplesdir = $(exampledir)
39dist_examples_DATA = ospfd.conf.sample
paul718e3742002-12-13 20:15:29 +000040