blob: 36fb79504db78e6e7408e42c15e67c01b6444c59 (
plain)
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
|
lib_LTLIBRARIES += libzscanner.la
pkgconfig_DATA += libzscanner.pc
libzscanner_la_CPPFLAGS = $(AM_CPPFLAGS) $(CFLAG_VISIBILITY) ${fuzzer_CFLAGS}
libzscanner_la_LDFLAGS = $(AM_LDFLAGS) $(libzscanner_VERSION_INFO) \
$(LDFLAG_EXCLUDE_LIBS) ${fuzzer_LDFLAGS}
libzscanner_la_LIBADD = $(math_LIBS)
EXTRA_DIST += \
libzscanner/scanner.rl \
libzscanner/scanner_body.rl \
libzscanner/scanner.c.g2 \
libzscanner/scanner.c.t0
include_libzscannerdir = $(includedir)/libzscanner
include_libzscanner_HEADERS = \
libzscanner/error.h \
libzscanner/scanner.h \
libzscanner/version.h
libzscanner_la_SOURCES = \
libzscanner/error.c \
libzscanner/functions.h \
libzscanner/functions.c \
$(include_libzscanner_HEADERS)
BUILT_SOURCES += libzscanner/scanner.c
CLEANFILES += libzscanner/scanner.c
nodist_libzscanner_la_SOURCES = \
libzscanner/scanner.c
if FAST_PARSER
libzscanner/scanner.c: libzscanner/scanner.c.g2
@cp $(srcdir)/$@.g2 $@
@echo "NOTE: Compilation of scanner.c can take several minutes!"
else
libzscanner/scanner.c: libzscanner/scanner.c.t0
@cp $(srcdir)/$@.t0 $@
endif
|