Makefile.am 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. ## Process this file with automake to produce Makefile.in.
  2. INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@
  3. DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
  4. lib_LTLIBRARIES = libzebra.la
  5. libzebra_la_LDFLAGS = -version-info 0:0:0
  6. libzebra_la_SOURCES = \
  7. network.c pid_output.c getopt.c getopt1.c daemon.c \
  8. checksum.c vector.c linklist.c vty.c command.c \
  9. sockunion.c prefix.c thread.c if.c memory.c buffer.c table.c hash.c \
  10. filter.c routemap.c distribute.c stream.c str.c log.c plist.c \
  11. zclient.c sockopt.c smux.c md5.c if_rmap.c keychain.c privs.c \
  12. sigevent.c pqueue.c jhash.c memtypes.c workqueue.c
  13. BUILT_SOURCES = memtypes.h route_types.h
  14. libzebra_la_DEPENDENCIES = @LIB_REGEX@
  15. libzebra_la_LIBADD = @LIB_REGEX@
  16. pkginclude_HEADERS = \
  17. buffer.h checksum.h command.h filter.h getopt.h hash.h \
  18. if.h linklist.h log.h \
  19. memory.h network.h prefix.h routemap.h distribute.h sockunion.h \
  20. str.h stream.h table.h thread.h vector.h version.h vty.h zebra.h \
  21. plist.h zclient.h sockopt.h smux.h md5.h if_rmap.h keychain.h \
  22. privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \
  23. workqueue.h route_types.h
  24. EXTRA_DIST = regex.c regex-gnu.h memtypes.awk route_types.awk route_types.txt
  25. memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk
  26. ($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@)
  27. route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.awk
  28. ($(GAWK) -f $(srcdir)/route_types.awk $(srcdir)/route_types.txt > $@)