Annotation of embedaddon/quagga/lib/Makefile.am, revision 1.1.1.3

1.1       misho       1: ## Process this file with automake to produce Makefile.in.
                      2: 
1.1.1.3 ! misho       3: INCLUDES = @INCLUDES@ -I.. -I$(top_srcdir) -I$(top_srcdir)/lib -I$(top_builddir)/lib
1.1       misho       4: DEFS = @DEFS@ -DSYSCONFDIR=\"$(sysconfdir)/\"
                      5: 
                      6: lib_LTLIBRARIES = libzebra.la
                      7: libzebra_la_LDFLAGS = -version-info 0:0:0 
                      8: 
                      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 \
1.1.1.3 ! misho      14:        zclient.c sockopt.c smux.c agentx.c snmp.c md5.c if_rmap.c keychain.c privs.c \
1.1       misho      15:        sigevent.c pqueue.c jhash.c memtypes.c workqueue.c
                     16: 
1.1.1.3 ! misho      17: BUILT_SOURCES = memtypes.h route_types.h gitversion.h
1.1       misho      18: 
                     19: libzebra_la_DEPENDENCIES = @LIB_REGEX@
                     20: 
                     21: libzebra_la_LIBADD = @LIB_REGEX@
                     22: 
                     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
                     31: 
1.1.1.3 ! misho      32: EXTRA_DIST = \
        !            33:        regex.c regex-gnu.h \
        !            34:        queue.h \
        !            35:        memtypes.awk \
        !            36:        route_types.pl route_types.txt \
        !            37:        gitversion.pl
1.1       misho      38: 
                     39: memtypes.h: $(srcdir)/memtypes.c $(srcdir)/memtypes.awk
                     40:        ($(GAWK) -f $(srcdir)/memtypes.awk $(srcdir)/memtypes.c > $@)
                     41: 
1.1.1.2   misho      42: route_types.h: $(srcdir)/route_types.txt $(srcdir)/route_types.pl
                     43:        @PERL@ $(srcdir)/route_types.pl < $(srcdir)/route_types.txt > $@
1.1.1.3 ! misho      44: 
        !            45: if GIT_VERSION
        !            46: 
        !            47: # bit of a trick here to always have up-to-date git stamps without triggering
        !            48: # unneccessary rebuilds.  .PHONY causes the .tmp file to be rebuilt always,
        !            49: # but if we use that on gitversion.h it'll ripple through the .c file deps.
        !            50: # (even if gitversion.h's file timestamp doesn't change, make will think it
        !            51: # did, because of .PHONY...)
        !            52: 
        !            53: .PHONY: gitversion.h.tmp
        !            54: .SILENT: gitversion.h gitversion.h.tmp
        !            55: GITH=gitversion.h
        !            56: gitversion.h.tmp: $(srcdir)/../.git
        !            57:        @PERL@ $(srcdir)/gitversion.pl $(srcdir) > ${GITH}.tmp
        !            58: gitversion.h: gitversion.h.tmp
        !            59:        { test -f ${GITH} && diff -s -q ${GITH}.tmp ${GITH}; } || cp -v ${GITH}.tmp ${GITH}
        !            60: 
        !            61: else
        !            62: .PHONY: gitversion.h
        !            63: gitversion.h:
        !            64:        true
        !            65: endif

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>