]>
Commit | Line | Data |
---|---|---|
718e3744 | 1 | ## Process this file with automake to produce Makefile.in. |
2 | ||
08d7f653 | 3 | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib |
718e3744 | 4 | DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
5 | ||
87efd646 | 6 | lib_LTLIBRARIES = libzebra.la |
cec0c4fb | 7 | libzebra_la_LDFLAGS = -version-info 0:0:0 |
718e3744 | 8 | |
87efd646 | 9 | libzebra_la_SOURCES = \ |
6590f2c3 | 10 | network.c pid_output.c getopt.c getopt1.c daemon.c \ |
11 | checksum.c vector.c linklist.c vty.c command.c \ | |
718e3744 | 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 \ | |
3a4c9688 | 14 | zclient.c sockopt.c smux.c snmp.c md5.c if_rmap.c keychain.c privs.c \ |
354d119a | 15 | sigevent.c pqueue.c jhash.c memtypes.c workqueue.c |
2fd2fd5d | 16 | |
9c42a6eb | 17 | BUILT_SOURCES = memtypes.h route_types.h |
718e3744 | 18 | |
87efd646 | 19 | libzebra_la_DEPENDENCIES = @LIB_REGEX@ |
718e3744 | 20 | |
87efd646 | 21 | libzebra_la_LIBADD = @LIB_REGEX@ |
718e3744 | 22 | |
af273652 | 23 | pkginclude_HEADERS = \ |
34204aac | 24 | buffer.h checksum.h command.h filter.h getopt.h hash.h \ |
25 | if.h linklist.h log.h \ | |
718e3744 | 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 \ | |
c1a03d47 | 28 | plist.h zclient.h sockopt.h smux.h md5.h if_rmap.h keychain.h \ |
354d119a | 29 | privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \ |
9c42a6eb | 30 | workqueue.h route_types.h |
718e3744 | 31 | |
e0ca5fde | 32 | EXTRA_DIST = regex.c regex-gnu.h memtypes.awk route_types.pl route_types.txt |
718e3744 | 33 | |
ab59ae35 | 34 | memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk |
9c42a6eb PJ |
35 | ($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@) |
36 | ||
e0ca5fde DL |
37 | route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.pl |
38 | @PERL@ $(srcdir)/route_types.pl < $(srcdir)/route_types.txt > $@ |