blob: 6264878e2c3036c71afea2caa5566ee303f89b3f [file] [log] [blame]
paul718e3742002-12-13 20:15:29 +00001## Process this file with automake to produce Makefile.in.
2
hasso2d582282005-03-28 15:29:07 +00003INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
paul718e3742002-12-13 20:15:29 +00004DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
5
gdt87efd642004-06-30 17:36:11 +00006lib_LTLIBRARIES = libzebra.la
Paul Jakmacec0c4f2006-03-30 13:58:05 +00007libzebra_la_LDFLAGS = -version-info 0:0:0
paul718e3742002-12-13 20:15:29 +00008
gdt87efd642004-06-30 17:36:11 +00009libzebra_la_SOURCES = \
hasso6590f2c2004-10-19 20:40:08 +000010 network.c pid_output.c getopt.c getopt1.c daemon.c \
11 checksum.c vector.c linklist.c vty.c command.c \
paul718e3742002-12-13 20:15:29 +000012 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 \
paul2d75d052004-01-19 21:31:15 +000014 zclient.c sockopt.c smux.c md5.c if_rmap.c keychain.c privs.c \
paul354d1192005-04-25 16:26:42 +000015 sigevent.c pqueue.c jhash.c memtypes.c workqueue.c
paul2fd2fd52005-04-15 11:47:15 +000016
Mathias Krause3f3dc2b2010-01-20 17:39:13 +030017AM_CFLAGS = $(PICFLAGS)
18AM_LDFLAGS = $(PILDFLAGS)
19
Paul Jakma9c42a6e2006-06-27 07:52:03 +000020BUILT_SOURCES = memtypes.h route_types.h
paul718e3742002-12-13 20:15:29 +000021
gdt87efd642004-06-30 17:36:11 +000022libzebra_la_DEPENDENCIES = @LIB_REGEX@
paul718e3742002-12-13 20:15:29 +000023
gdt87efd642004-06-30 17:36:11 +000024libzebra_la_LIBADD = @LIB_REGEX@
paul718e3742002-12-13 20:15:29 +000025
gdtaf273652003-12-08 18:12:34 +000026pkginclude_HEADERS = \
paul34204aa2005-11-03 09:00:23 +000027 buffer.h checksum.h command.h filter.h getopt.h hash.h \
28 if.h linklist.h log.h \
paul718e3742002-12-13 20:15:29 +000029 memory.h network.h prefix.h routemap.h distribute.h sockunion.h \
30 str.h stream.h table.h thread.h vector.h version.h vty.h zebra.h \
vincentc1a03d42005-09-28 15:47:44 +000031 plist.h zclient.h sockopt.h smux.h md5.h if_rmap.h keychain.h \
paul354d1192005-04-25 16:26:42 +000032 privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \
Paul Jakma9c42a6e2006-06-27 07:52:03 +000033 workqueue.h route_types.h
paul718e3742002-12-13 20:15:29 +000034
Paul Jakma9c42a6e2006-06-27 07:52:03 +000035EXTRA_DIST = regex.c regex-gnu.h memtypes.awk route_types.awk route_types.txt
paul718e3742002-12-13 20:15:29 +000036
paulab59ae32005-04-25 13:52:26 +000037memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk
Paul Jakma9c42a6e2006-06-27 07:52:03 +000038 ($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@)
39
40route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.awk
41 ($(GAWK) -f $(srcdir)/route_types.awk $(srcdir)/route_types.txt > $@)