jardin | eb5d44e | 2003-12-23 08:09:43 +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 -Itopology |
| 4 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib |
| 5 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
| 6 | INSTALL_SDATA=@INSTALL@ -m 600 |
| 7 | LIBS = @LIBS@ |
| 8 | noinst_LIBRARIES = libisis.a |
| 9 | sbin_PROGRAMS = isisd |
| 10 | |
| 11 | libisis_a_SOURCES = \ |
| 12 | isis_adjacency.c isis_lsp.c dict.c isis_circuit.c isis_pdu.c \ |
| 13 | isis_tlv.c isisd.c isis_misc.c isis_network.c isis_zebra.c isis_dr.c \ |
| 14 | isis_flags.c isis_dynhn.c iso_checksum.c isis_csm.c isis_events.c \ |
| 15 | isis_spf.c isis_route.c isis_routemap.c |
| 16 | |
| 17 | |
| 18 | noinst_HEADERS = \ |
| 19 | isisd.h isis_pdu.h isis_tlv.h isis_adjacency.h isis_constants.h \ |
| 20 | isis_lsp.h dict.h isis_circuit.h isis_misc.h isis_network.h \ |
| 21 | isis_zebra.h isis_dr.h isis_flags.h isis_dynhn.h isis_common.h \ |
| 22 | iso_checksum.h isis_csm.h isis_events.h isis_spf.h isis_route.h |
| 23 | |
| 24 | isisd_SOURCES = \ |
| 25 | isis_main.c $(libisis_a_SOURCES) |
| 26 | |
| 27 | isisd_LDADD = ../lib/libzebra.a |
| 28 | |
| 29 | sysconf_DATA = isisd.conf.sample |
| 30 | |
| 31 | EXTRA_DIST = $(sysconf_DATA) |
| 32 | |
| 33 | install-sysconfDATA: $(sysconf_DATA) |
| 34 | @$(NORMAL_INSTALL) |
| 35 | $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
| 36 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 37 | if test -f $(srcdir)/$$p; then \ |
| 38 | echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 39 | $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 40 | else if test -f $$p; then \ |
| 41 | echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 42 | $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 43 | fi; fi; \ |
| 44 | done |
| 45 | |
| 46 | depend: |
| 47 | @$(CPP) -MM $(INCLUDES) $(LDFLAGS) *.c |
| 48 | |
| 49 | ## File dependency. |
| 50 | isis_adjacency.o : isis_adjacency.c ../lib/version.h ../lib/log.h \ |
| 51 | ../isisd/isis_adjacency.h |
| 52 | isis_pdu.o : isis_pdu.c ../lib/log.h ../isisd/isisd.h \ |
| 53 | ../isisd/isis_constants.h ../isisd/isis_adjacency.h \ |
| 54 | ../isisd/isis_pdu.h |
| 55 | isis_circuit.o : isis_circuit.c ../isisd/isis_circuit.h |