File: Makefile.am

package info (click to toggle)
sqlsmith 1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 736 kB
  • ctags: 435
  • sloc: sh: 4,110; cpp: 1,736; sql: 759; makefile: 13
file content (17 lines) | stat: -rw-r--r-- 607 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
-include Makefile.local

BUILT_SOURCES = gitrev.h
CLEANFILES = gitrev.h

bin_PROGRAMS = sqlsmith
sqlsmith_SOURCES = relmodel.cc schema.cc random.cc expr.cc grammar.cc log.cc dump.cc sqlsmith.cc
sqlsmith_LDADD = $(LIBPQXX_LIBS) $(BOOST_REGEX_LIB)

AM_LDFLAGS = -Wl,--as-needed $(BOOST_LDFLAGS)
AM_CPPFLAGS = $(BOOST_CPPFLAGS) $(PQXX_CFLAGS)  -Wall

EXTRA_DIST = gitrev.h dump.hh expr.hh grammar.hh log.hh prod.hh random.hh relmodel.hh schema.hh filter.sql log.sql README.org TODO.org ast.png dump.xsl

gitrev.h: $(HEADERS) $(SOURCES)
	echo "#define GITREV \"$$(git describe --dirty --tags --always)\"" > $@