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 \
60 parsers/geany_docbook.c \
72 parsers/geany_lcpp.c \
73 parsers/geany_lcpp.h \
80 parsers/geany_matlab.c \
87 parsers/powershell.c \
102 parsers/typescript.c \
106 # skip cmd.c and mini-geany.c which define main()
107 # also skip lregex-pcre2.c which we don't use
108 libctags_la_SOURCES = \
117 main/CommonPrelude.c \
123 main/dependency_p.h \
128 main/entry_private.c \
144 main/interactive_p.h \
154 main/lregex-default.c \
181 main/portable-dirent_p.h \
182 main/portable-scandir.c \
225 main/writer-ctags.c \
226 main/writer-etags.c \
238 # build bundled GNU regex if needed
240 noinst_LTLIBRARIES += libgnu_regex.la
241 libgnu_regex_la_SOURCES = \
244 # regex.c includes other sources we have to distribute
245 EXTRA_libgnu_regex_la_SOURCES = \
246 gnu_regex/regcomp.c \
249 gnu_regex/regex_internal.c \
250 gnu_regex/regex_internal.h \
252 libgnu_regex_la_CPPFLAGS = -D__USE_GNU
256 libctags_la_LIBADD += libgnu_regex.la
257 AM_CPPFLAGS += -I$(srcdir)/gnu_regex
260 # build bundled fnmatch if needed
261 if USE_BUNDLED_FNMATCH
262 noinst_LTLIBRARIES += libfnmatch.la
263 libfnmatch_la_SOURCES = \
267 libctags_la_LIBADD += libfnmatch.la
268 AM_CPPFLAGS += -I$(srcdir)/fnmatch