paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in. |
| 2 | |
| 3 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib |
| 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
| 5 | INSTALL_SDATA=@INSTALL@ -m 600 |
| 6 | |
| 7 | noinst_LIBRARIES = libospf6.a |
| 8 | sbin_PROGRAMS = ospf6d |
| 9 | |
| 10 | libospf6_a_SOURCES = \ |
| 11 | ospf6_dump.c ospf6d.c ospf6_interface.c ospf6_network.c \ |
| 12 | ospf6_neighbor.c ospf6_message.c ospf6_lsa.c ospf6_spf.c \ |
| 13 | ospf6_route.c ospf6_zebra.c ospf6_ism.c ospf6_dbex.c \ |
| 14 | ospf6_lsdb.c ospf6_prefix.c ospf6_top.c ospf6_area.c ospf6_nsm.c \ |
| 15 | ospf6_routemap.c ospf6_proto.c \ |
| 16 | ospf6_hook.c ospf6_asbr.c ospf6_bintree.c ospf6_linklist.c \ |
| 17 | ospf6_abr.c ospf6_intra.c ospf6_damp.c |
| 18 | |
| 19 | noinst_HEADERS = \ |
| 20 | ospf6_area.h ospf6_dump.h ospf6_interface.h ospf6_lsa.h \ |
| 21 | ospf6_message.h ospf6_neighbor.h ospf6_network.h ospf6_proto.h \ |
| 22 | ospf6_spf.h ospf6_route.h ospf6_types.h ospf6_zebra.h ospf6d.h \ |
| 23 | ospf6_ism.h ospf6_dbex.h ospf6_lsdb.h ospf6_prefix.h \ |
| 24 | ospf6_top.h ospf6_nsm.h ospf6_routemap.h \ |
| 25 | ospf6_hook.h ospf6_asbr.h ospf6_bintree.h ospf6_linklist.h \ |
| 26 | ospf6_abr.h ospf6_intra.h ospf6_damp.h |
| 27 | |
| 28 | ospf6d_SOURCES = \ |
| 29 | ospf6_main.c $(libospf6_a_SOURCES) |
| 30 | |
paul | edd7c24 | 2003-06-04 13:59:38 +0000 | [diff] [blame^] | 31 | ospf6d_LDADD = -L../lib -lzebra @LIBCAP@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 32 | |
| 33 | sysconf_DATA = ospf6d.conf.sample |
| 34 | |
| 35 | EXTRA_DIST = $(sysconf_DATA) |
| 36 | |
| 37 | install-sysconfDATA: $(sysconf_DATA) |
| 38 | @$(NORMAL_INSTALL) |
| 39 | $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
| 40 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 41 | if test -f $(srcdir)/$$p; then \ |
| 42 | echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 43 | $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 44 | else if test -f $$p; then \ |
| 45 | echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 46 | $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 47 | fi; fi; \ |
| 48 | done |