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 = libripng.a |
| 8 | sbin_PROGRAMS = ripngd |
| 9 | |
| 10 | libripng_a_SOURCES = \ |
| 11 | ripng_interface.c ripngd.c ripng_zebra.c ripng_route.c ripng_debug.c \ |
paul | 41ce926 | 2003-04-19 15:54:03 +0000 | [diff] [blame^] | 12 | ripng_routemap.c ripng_ifrmap.c |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 13 | |
| 14 | noinst_HEADERS = \ |
paul | 41ce926 | 2003-04-19 15:54:03 +0000 | [diff] [blame^] | 15 | ripng_debug.h ripng_route.h ripngd.h ripng_ifrmap.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 16 | |
| 17 | ripngd_SOURCES = \ |
| 18 | ripng_main.c $(libripng_a_SOURCES) |
| 19 | |
| 20 | ripngd_LDADD = ../lib/libzebra.a |
| 21 | |
| 22 | sysconf_DATA = ripngd.conf.sample |
| 23 | |
| 24 | EXTRA_DIST = $(sysconf_DATA) |
| 25 | |
| 26 | install-sysconfDATA: $(sysconf_DATA) |
| 27 | @$(NORMAL_INSTALL) |
| 28 | $(mkinstalldirs) $(DESTDIR)$(sysconfdir) |
| 29 | @list='$(sysconf_DATA)'; for p in $$list; do \ |
| 30 | if test -f $(srcdir)/$$p; then \ |
| 31 | echo " $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 32 | $(INSTALL_SDATA) $(srcdir)/$$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 33 | else if test -f $$p; then \ |
| 34 | echo " $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p"; \ |
| 35 | $(INSTALL_SDATA) $$p $(DESTDIR)$(sysconfdir)/$$p; \ |
| 36 | fi; fi; \ |
| 37 | done |