paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 1 | ## Process this file with automake to produce Makefile.in. |
| 2 | |
hasso | 2d58228 | 2005-03-28 15:29:07 +0000 | [diff] [blame] | 3 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
| 5 | |
gdt | 87efd64 | 2004-06-30 17:36:11 +0000 | [diff] [blame] | 6 | lib_LTLIBRARIES = libzebra.la |
Paul Jakma | cec0c4f | 2006-03-30 13:58:05 +0000 | [diff] [blame] | 7 | libzebra_la_LDFLAGS = -version-info 0:0:0 |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 8 | |
gdt | 87efd64 | 2004-06-30 17:36:11 +0000 | [diff] [blame] | 9 | libzebra_la_SOURCES = \ |
hasso | 6590f2c | 2004-10-19 20:40:08 +0000 | [diff] [blame] | 10 | network.c pid_output.c getopt.c getopt1.c daemon.c \ |
| 11 | checksum.c vector.c linklist.c vty.c command.c \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 12 | sockunion.c prefix.c thread.c if.c memory.c buffer.c table.c hash.c \ |
| 13 | filter.c routemap.c distribute.c stream.c str.c log.c plist.c \ |
paul | 2d75d05 | 2004-01-19 21:31:15 +0000 | [diff] [blame] | 14 | zclient.c sockopt.c smux.c md5.c if_rmap.c keychain.c privs.c \ |
paul | 354d119 | 2005-04-25 16:26:42 +0000 | [diff] [blame] | 15 | sigevent.c pqueue.c jhash.c memtypes.c workqueue.c |
paul | 2fd2fd5 | 2005-04-15 11:47:15 +0000 | [diff] [blame] | 16 | |
Paul Jakma | 9c42a6e | 2006-06-27 07:52:03 +0000 | [diff] [blame] | 17 | BUILT_SOURCES = memtypes.h route_types.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 18 | |
gdt | 87efd64 | 2004-06-30 17:36:11 +0000 | [diff] [blame] | 19 | libzebra_la_DEPENDENCIES = @LIB_REGEX@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 20 | |
gdt | 87efd64 | 2004-06-30 17:36:11 +0000 | [diff] [blame] | 21 | libzebra_la_LIBADD = @LIB_REGEX@ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 22 | |
gdt | af27365 | 2003-12-08 18:12:34 +0000 | [diff] [blame] | 23 | pkginclude_HEADERS = \ |
paul | 34204aa | 2005-11-03 09:00:23 +0000 | [diff] [blame] | 24 | buffer.h checksum.h command.h filter.h getopt.h hash.h \ |
| 25 | if.h linklist.h log.h \ |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 26 | memory.h network.h prefix.h routemap.h distribute.h sockunion.h \ |
| 27 | str.h stream.h table.h thread.h vector.h version.h vty.h zebra.h \ |
vincent | c1a03d4 | 2005-09-28 15:47:44 +0000 | [diff] [blame] | 28 | plist.h zclient.h sockopt.h smux.h md5.h if_rmap.h keychain.h \ |
paul | 354d119 | 2005-04-25 16:26:42 +0000 | [diff] [blame] | 29 | privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \ |
Paul Jakma | 9c42a6e | 2006-06-27 07:52:03 +0000 | [diff] [blame] | 30 | workqueue.h route_types.h |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 31 | |
David Lamparter | e0ca5fd | 2009-09-16 01:52:42 +0200 | [diff] [blame^] | 32 | EXTRA_DIST = regex.c regex-gnu.h memtypes.awk route_types.pl route_types.txt |
paul | 718e374 | 2002-12-13 20:15:29 +0000 | [diff] [blame] | 33 | |
paul | ab59ae3 | 2005-04-25 13:52:26 +0000 | [diff] [blame] | 34 | memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk |
Paul Jakma | 9c42a6e | 2006-06-27 07:52:03 +0000 | [diff] [blame] | 35 | ($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@) |
| 36 | |
David Lamparter | e0ca5fd | 2009-09-16 01:52:42 +0200 | [diff] [blame^] | 37 | route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.pl |
| 38 | @PERL@ $(srcdir)/route_types.pl < $(srcdir)/route_types.txt > $@ |