Add AutoIt syntax highlighting and Ctags parser for AutoIt
[geany-mirror.git] / ctags / Makefile.am
blobfe980d27f1a3b1111642312f5579c2cdf4427877
1 AM_CPPFLAGS = \
2         -I$(srcdir)/main \
3         -I$(srcdir)/parsers \
4         -I$(srcdir)/dsl \
5         -DEXTERNAL_PARSER_LIST_FILE=\"$(top_srcdir)/src/tagmanager/tm_parsers.h\" \
6         -DG_LOG_DOMAIN=\"CTags\"
7 AM_CFLAGS = \
8         $(GTK_CFLAGS) \
9         @LIBGEANY_CFLAGS@
11 noinst_LTLIBRARIES = libctags.la
13 parsers = \
14         parsers/cxx/cxx.c \
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 \
46         parsers/abaqus.c \
47         parsers/abc.c \
48         parsers/ada.c \
49         parsers/asciidoc.c \
50         parsers/asm.c \
51         parsers/autoit.c \
52         parsers/basic.c \
53         parsers/bibtex.c \
54         parsers/geany_c.c \
55         parsers/clojure.c \
56         parsers/cobol.c \
57         parsers/iniconf.c \
58         parsers/iniconf.h \
59         parsers/css.c \
60         parsers/diff.c \
61         parsers/geany_docbook.c \
62         parsers/dosbatch.c \
63         parsers/erlang.c \
64         parsers/flex.c \
65         parsers/fortran.c \
66         parsers/gdscript.c \
67         parsers/go.c \
68         parsers/haskell.c \
69         parsers/haxe.c \
70         parsers/html.c \
71         parsers/jscript.c \
72         parsers/json.c \
73         parsers/julia.c \
74         parsers/geany_lcpp.c \
75         parsers/geany_lcpp.h \
76         parsers/lisp.c \
77         parsers/lua.c \
78         parsers/make.c \
79         parsers/make.h \
80         parsers/markdown.c \
81         parsers/markdown.h \
82         parsers/geany_matlab.c \
83         parsers/nsis.c \
84         parsers/objc.c \
85         parsers/pascal.c \
86         parsers/perl.c \
87         parsers/perl.h \
88         parsers/php.c \
89         parsers/powershell.c \
90         parsers/python.c \
91         parsers/r.c \
92         parsers/r.h \
93         parsers/rst.c \
94         parsers/ruby.c \
95         parsers/rust.c \
96         parsers/sh.c \
97         parsers/sql.c \
98         parsers/tcl.c \
99         parsers/tcl.h \
100         parsers/tcloo.c \
101         parsers/tex.c \
102         parsers/tex.h \
103         parsers/txt2tags.c \
104         parsers/typescript.c \
105         parsers/verilog.c \
106         parsers/vhdl.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 = \
111         dsl/optscript.c \
112         dsl/optscript.h \
113         dsl/es.c \
114         dsl/es.h \
115         main/args.c \
116         main/args_p.h \
117         main/colprint.c \
118         main/colprint_p.h \
119         main/CommonPrelude.c \
120         main/ctags.h \
121         main/debug.c \
122         main/debug.h \
123         main/dependency.c \
124         main/dependency.h \
125         main/dependency_p.h \
126         main/e_msoft.h \
127         main/entry.c \
128         main/entry.h \
129         main/entry_p.h \
130         main/entry_private.c \
131         main/error.c \
132         main/error_p.h \
133         main/field.c \
134         main/field.h \
135         main/field_p.h \
136         main/flags.c \
137         main/flags_p.h \
138         main/fmt.c \
139         main/fmt_p.h \
140         main/gcc-attr.h \
141         main/general.h \
142         main/gvars.h \
143         main/htable.c \
144         main/htable.h \
145         main/inline.h \
146         main/interactive_p.h \
147         main/keyword.c \
148         main/keyword.h \
149         main/keyword_p.h \
150         main/kind.c \
151         main/kind.h \
152         main/kind_p.h \
153         main/lregex.c \
154         main/lregex.h \
155         main/lregex_p.h \
156         main/lregex-default.c \
157         main/lxpath.c \
158         main/lxpath.h \
159         main/lxpath_p.h \
160         main/main.c \
161         main/main_p.h \
162         main/mbcs.c \
163         main/mbcs.h \
164         main/mbcs_p.h \
165         main/mio.c \
166         main/mio.h \
167         main/nestlevel.c \
168         main/nestlevel.h \
169         main/numarray.c \
170         main/numarray.h \
171         main/objpool.c \
172         main/objpool.h \
173         main/options.c \
174         main/options.h \
175         main/options_p.h \
176         main/param.c \
177         main/param.h \
178         main/param_p.h \
179         main/parse.c \
180         main/parse.h \
181         main/parse_p.h \
182         main/parsers_p.h \
183         main/portable-dirent_p.h \
184         main/portable-scandir.c \
185         main/promise.c \
186         main/promise.h \
187         main/promise_p.h \
188         main/ptag.c \
189         main/ptag_p.h \
190         main/ptrarray.c \
191         main/ptrarray.h \
192         main/rbtree.c \
193         main/rbtree.h \
194         main/read.c \
195         main/read.h \
196         main/read_p.h \
197         main/repoinfo.c \
198         main/repoinfo.h \
199         main/routines.c \
200         main/routines.h \
201         main/routines_p.h \
202         main/script.c \
203         main/script_p.h \
204         main/seccomp.c \
205         main/selectors.c \
206         main/selectors.h \
207         main/sort.c \
208         main/sort_p.h \
209         main/stats.c \
210         main/stats_p.h \
211         main/strlist.c \
212         main/strlist.h \
213         main/subparser.h \
214         main/subparser_p.h \
215         main/tokeninfo.c \
216         main/tokeninfo.h \
217         main/trace.c \
218         main/trace.h \
219         main/trashbox.c \
220         main/trashbox.h \
221         main/trashbox_p.h \
222         main/types.h \
223         main/unwindi.c \
224         main/unwindi.h \
225         main/vstring.c \
226         main/vstring.h \
227         main/writer-ctags.c \
228         main/writer-etags.c \
229         main/writer-json.c \
230         main/writer-xref.c \
231         main/writer.c \
232         main/writer_p.h \
233         main/xtag.c \
234         main/xtag.h \
235         main/xtag_p.h \
236         $(parsers)
238 libctags_la_LIBADD =
240 # build bundled GNU regex if needed
241 if USE_BUNDLED_REGEX
242 noinst_LTLIBRARIES += libgnu_regex.la
243 libgnu_regex_la_SOURCES = \
244         gnu_regex/regex.c \
245         gnu_regex/regex.h
246 # regex.c includes other sources we have to distribute
247 EXTRA_libgnu_regex_la_SOURCES = \
248         gnu_regex/regcomp.c \
249         gnu_regex/regex.c \
250         gnu_regex/regex.h \
251         gnu_regex/regex_internal.c \
252         gnu_regex/regex_internal.h \
253         gnu_regex/regexec.c
254 libgnu_regex_la_CPPFLAGS = -D__USE_GNU
255 EXTRA_DIST = \
256         gnu_regex/README.txt
258 libctags_la_LIBADD += libgnu_regex.la
259 AM_CPPFLAGS += -I$(srcdir)/gnu_regex
260 endif
262 # build bundled fnmatch if needed
263 if USE_BUNDLED_FNMATCH
264 noinst_LTLIBRARIES += libfnmatch.la
265 libfnmatch_la_SOURCES = \
266         fnmatch/fnmatch.c \
267         fnmatch/fnmatch.h
269 libctags_la_LIBADD += libfnmatch.la
270 AM_CPPFLAGS += -I$(srcdir)/fnmatch
271 endif