version 1.1.1.2, 2012/10/09 09:22:28
|
version 1.1.1.3, 2013/07/21 23:54:39
|
Line 1
|
Line 1
|
## Process this file with automake to produce Makefile.in. |
## Process this file with automake to produce Makefile.in. |
|
|
INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib @SNMP_INCLUDES@ | INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib |
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\" |
|
|
lib_LTLIBRARIES = libzebra.la |
lib_LTLIBRARIES = libzebra.la |
Line 11 libzebra_la_SOURCES = \
|
Line 11 libzebra_la_SOURCES = \
|
checksum.c vector.c linklist.c vty.c command.c \ |
checksum.c vector.c linklist.c vty.c command.c \ |
sockunion.c prefix.c thread.c if.c memory.c buffer.c table.c hash.c \ |
sockunion.c prefix.c thread.c if.c memory.c buffer.c table.c hash.c \ |
filter.c routemap.c distribute.c stream.c str.c log.c plist.c \ |
filter.c routemap.c distribute.c stream.c str.c log.c plist.c \ |
zclient.c sockopt.c smux.c md5.c if_rmap.c keychain.c privs.c \ | zclient.c sockopt.c smux.c agentx.c snmp.c md5.c if_rmap.c keychain.c privs.c \ |
sigevent.c pqueue.c jhash.c memtypes.c workqueue.c |
sigevent.c pqueue.c jhash.c memtypes.c workqueue.c |
|
|
BUILT_SOURCES = memtypes.h route_types.h | BUILT_SOURCES = memtypes.h route_types.h gitversion.h |
|
|
libzebra_la_DEPENDENCIES = @LIB_REGEX@ |
libzebra_la_DEPENDENCIES = @LIB_REGEX@ |
|
|
Line 29 pkginclude_HEADERS = \
|
Line 29 pkginclude_HEADERS = \
|
privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \ |
privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \ |
workqueue.h route_types.h |
workqueue.h route_types.h |
|
|
EXTRA_DIST = regex.c regex-gnu.h memtypes.awk route_types.pl route_types.txt | EXTRA_DIST = \ |
| regex.c regex-gnu.h \ |
| queue.h \ |
| memtypes.awk \ |
| route_types.pl route_types.txt \ |
| gitversion.pl |
|
|
memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk |
memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk |
($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@) |
($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@) |
|
|
route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.pl |
route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.pl |
@PERL@ $(srcdir)/route_types.pl < $(srcdir)/route_types.txt > $@ |
@PERL@ $(srcdir)/route_types.pl < $(srcdir)/route_types.txt > $@ |
|
|
|
if GIT_VERSION |
|
|
|
# bit of a trick here to always have up-to-date git stamps without triggering |
|
# unneccessary rebuilds. .PHONY causes the .tmp file to be rebuilt always, |
|
# but if we use that on gitversion.h it'll ripple through the .c file deps. |
|
# (even if gitversion.h's file timestamp doesn't change, make will think it |
|
# did, because of .PHONY...) |
|
|
|
.PHONY: gitversion.h.tmp |
|
.SILENT: gitversion.h gitversion.h.tmp |
|
GITH=gitversion.h |
|
gitversion.h.tmp: $(srcdir)/../.git |
|
@PERL@ $(srcdir)/gitversion.pl $(srcdir) > ${GITH}.tmp |
|
gitversion.h: gitversion.h.tmp |
|
{ test -f ${GITH} && diff -s -q ${GITH}.tmp ${GITH}; } || cp -v ${GITH}.tmp ${GITH} |
|
|
|
else |
|
.PHONY: gitversion.h |
|
gitversion.h: |
|
true |
|
endif |