5 -DEXTERNAL_PARSER_LIST_FILE=\"$(top_srcdir)/src/tagmanager/tm_parsers.h\" \
6 -DG_LOG_DOMAIN=\"CTags\"
11 noinst_LTLIBRARIES = libctags.la
15 parsers/cxx/cxx_debug.c \
16 parsers/cxx/cxx_debug.h \
17 parsers/cxx/cxx_debug_type.c \
18 parsers/cxx/cxx_keyword.c \
19 parsers/cxx/cxx_keyword.h \
20 parsers/cxx/cxx_parser_block.c \
21 parsers/cxx/cxx_parser.c \
22 parsers/cxx/cxx_parser_function.c \
23 parsers/cxx/cxx_parser.h \
24 parsers/cxx/cxx_parser_internal.h \
25 parsers/cxx/cxx_parser_lambda.c \
26 parsers/cxx/cxx_parser_namespace.c \
27 parsers/cxx/cxx_parser_template.c \
28 parsers/cxx/cxx_parser_tokenizer.c \
29 parsers/cxx/cxx_parser_typedef.c \
30 parsers/cxx/cxx_parser_using.c \
31 parsers/cxx/cxx_parser_variable.c \
32 parsers/cxx/cxx_qtmoc.c \
33 parsers/cxx/cxx_scope.c \
34 parsers/cxx/cxx_scope.h \
35 parsers/cxx/cxx_subparser.c \
36 parsers/cxx/cxx_subparser.h \
37 parsers/cxx/cxx_subparser_internal.h \
38 parsers/cxx/cxx_tag.c \
39 parsers/cxx/cxx_tag.h \
40 parsers/cxx/cxx_token.c \
41 parsers/cxx/cxx_token_chain.c \
42 parsers/cxx/cxx_token_chain.h \
43 parsers/cxx/cxx_token.h \
44 parsers/cpreprocessor.c \
45 parsers/cpreprocessor.h \
61 parsers/geany_docbook.c \
74 parsers/geany_lcpp.c \
75 parsers/geany_lcpp.h \
82 parsers/geany_matlab.c \
89 parsers/powershell.c \
104 parsers/typescript.c \
108 # skip cmd.c and mini-geany.c which define main()
109 # also skip lregex-pcre2.c which we don't use
110 libctags_la_SOURCES = \
119 main/CommonPrelude.c \
125 main/dependency_p.h \
130 main/entry_private.c \
146 main/interactive_p.h \
156 main/lregex-default.c \
183 main/portable-dirent_p.h \
184 main/portable-scandir.c \
227 main/writer-ctags.c \
228 main/writer-etags.c \
240 # build bundled GNU regex if needed
242 noinst_LTLIBRARIES += libgnu_regex.la
243 libgnu_regex_la_SOURCES = \
246 # regex.c includes other sources we have to distribute
247 EXTRA_libgnu_regex_la_SOURCES = \
248 gnu_regex/regcomp.c \
251 gnu_regex/regex_internal.c \
252 gnu_regex/regex_internal.h \
254 libgnu_regex_la_CPPFLAGS = -D__USE_GNU
258 libctags_la_LIBADD += libgnu_regex.la
259 AM_CPPFLAGS += -I$(srcdir)/gnu_regex
262 # build bundled fnmatch if needed
263 if USE_BUNDLED_FNMATCH
264 noinst_LTLIBRARIES += libfnmatch.la
265 libfnmatch_la_SOURCES = \
269 libctags_la_LIBADD += libfnmatch.la
270 AM_CPPFLAGS += -I$(srcdir)/fnmatch