Annotation of embedaddon/quagga/lib/Makefile.am, revision 1.1.1.4
1.1 misho 1: ## Process this file with automake to produce Makefile.in.
2:
1.1.1.4 ! misho 3: AM_CPPFLAGS = -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
! 4: AM_CFLAGS = $(WERROR)
1.1 misho 5: DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
6:
7: lib_LTLIBRARIES = libzebra.la
8: libzebra_la_LDFLAGS = -version-info 0:0:0
9:
10: libzebra_la_SOURCES = \
11: network.c pid_output.c getopt.c getopt1.c daemon.c \
12: checksum.c vector.c linklist.c vty.c command.c \
13: sockunion.c prefix.c thread.c if.c memory.c buffer.c table.c hash.c \
14: filter.c routemap.c distribute.c stream.c str.c log.c plist.c \
1.1.1.3 misho 15: zclient.c sockopt.c smux.c agentx.c snmp.c md5.c if_rmap.c keychain.c privs.c \
1.1.1.4 ! misho 16: sigevent.c pqueue.c jhash.c memtypes.c workqueue.c vrf.c
1.1 misho 17:
1.1.1.3 misho 18: BUILT_SOURCES = memtypes.h route_types.h gitversion.h
1.1 misho 19:
20: libzebra_la_DEPENDENCIES = @LIB_REGEX@
21:
1.1.1.4 ! misho 22: libzebra_la_LIBADD = @LIB_REGEX@ @LIBCAP@
1.1 misho 23:
24: pkginclude_HEADERS = \
25: buffer.h checksum.h command.h filter.h getopt.h hash.h \
26: if.h linklist.h log.h \
27: memory.h network.h prefix.h routemap.h distribute.h sockunion.h \
28: str.h stream.h table.h thread.h vector.h version.h vty.h zebra.h \
29: plist.h zclient.h sockopt.h smux.h md5.h if_rmap.h keychain.h \
30: privs.h sigevent.h pqueue.h jhash.h zassert.h memtypes.h \
1.1.1.4 ! misho 31: workqueue.h route_types.h libospf.h vrf.h fifo.h
! 32:
! 33: noinst_HEADERS = \
! 34: plist_int.h
1.1 misho 35:
1.1.1.3 misho 36: EXTRA_DIST = \
37: regex.c regex-gnu.h \
38: queue.h \
39: memtypes.awk \
40: route_types.pl route_types.txt \
41: gitversion.pl
1.1 misho 42:
43: memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk
44: ($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@)
45:
1.1.1.2 misho 46: route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.pl
47: @PERL@ $(srcdir)/route_types.pl < $(srcdir)/route_types.txt > $@
1.1.1.3 misho 48:
49: if GIT_VERSION
50:
51: # bit of a trick here to always have up-to-date git stamps without triggering
52: # unneccessary rebuilds. .PHONY causes the .tmp file to be rebuilt always,
53: # but if we use that on gitversion.h it'll ripple through the .c file deps.
54: # (even if gitversion.h's file timestamp doesn't change, make will think it
55: # did, because of .PHONY...)
56:
57: .PHONY: gitversion.h.tmp
58: .SILENT: gitversion.h gitversion.h.tmp
59: GITH=gitversion.h
60: gitversion.h.tmp: $(srcdir)/../.git
61: @PERL@ $(srcdir)/gitversion.pl $(srcdir) > ${GITH}.tmp
62: gitversion.h: gitversion.h.tmp
63: { test -f ${GITH} && diff -s -q ${GITH}.tmp ${GITH}; } || cp -v ${GITH}.tmp ${GITH}
64:
65: else
66: .PHONY: gitversion.h
67: gitversion.h:
68: true
69: endif
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>