-
Notifications
You must be signed in to change notification settings - Fork 36
/
Makefile.am
57 lines (45 loc) · 1.15 KB
/
Makefile.am
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
ACLOCAL_AMFLAGS = -I build-aux/m4
AM_CFLAGS = -DYYDEBUG=1
bin_PROGRAMS = sql
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = libsqlpars.pc
# TESTS = test/unitester
# noinst_PROGRAMS = $(TESTS)
EXTRA_DIST = sql.y sql.l \
pscan.js \
test-ok.sh test-tst.sh test-fail.sh \
tests/fail1.sql \
tests/fail3.sql \
tests/fail4.sql \
tests/fail5.sql \
tests/xfail2.sql \
tests/ok1.sql \
tests/ok2.sql \
tests/ok3.sql \
tests/ok4.sql \
tests/ok5.sql \
tests/ok6.sql \
tests/ok7.sql \
tests/ok8.sql \
tests/ok9.sql \
tests/ok10.sql \
tests/tst-create-db.sql \
tests/tst-create-table.sql \
tests/tst-delete.sql \
tests/tst-drop-db.sql \
tests/tst-drop-table.sql \
tests/tst-insert.sql \
tests/tst-select-null.sql \
tests/tst-select-null2.sql \
tests/tst-select-null3.sql
sql_SOURCES = exec.c lib.c main.c sql-parser.h yyl.h
sql_LDADD = @JANSSON_LIBS@
nodist_sql_SOURCES = sql.c sql.tab.c sql.tab.h sql.lex.h
BUILT_SOURCES = $(nodist_sql_SOURCES)
CLEANFILES = $(nodist_sql_SOURCES) sql.output
sql.tab.c sql.tab.h: sql.y Makefile
${BISON} -vd $<
sql.c: sql.l Makefile
${LEX} -o $@ $<
sql.lex.h: sql.c ;
TESTS = test-ok.sh test-fail.sh test-tst.sh