Bug #362 is fixed now.
[jleu-quagga.git] / lib / Makefile.am
blob315e919beec226763fdf550ec867123cab60e607
1 ## Process this file with automake to produce Makefile.in.
3 INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
4 DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
6 lib_LTLIBRARIES = libzebra.la
7 libzebra_la_LDFLAGS = -version-info 0:0:0 
9 libzebra_la_SOURCES = \
10         network.c pid_output.c getopt.c getopt1.c daemon.c \
11         checksum.c vector.c linklist.c vty.c command.c \
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 \
14         zclient.c sockopt.c smux.c md5.c if_rmap.c keychain.c privs.c \
15         sigevent.c pqueue.c jhash.c memtypes.c workqueue.c
17 BUILT_SOURCES = memtypes.h route_types.h
19 libzebra_la_DEPENDENCIES = @LIB_REGEX@
21 libzebra_la_LIBADD = @LIB_REGEX@
23 pkginclude_HEADERS = \
24         buffer.h checksum.h command.h filter.h getopt.h hash.h \
25         if.h linklist.h log.h \
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 \
28         plist.h zclient.h sockopt.h smux.h md5.h if_rmap.h keychain.h \
29         privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \
30         workqueue.h route_types.h
32 EXTRA_DIST = regex.c regex-gnu.h memtypes.awk route_types.awk route_types.txt
34 memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk
35         ($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@)
37 route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.awk
38         ($(GAWK) -f $(srcdir)/route_types.awk $(srcdir)/route_types.txt > $@)