gtk+-4.0: Update to 3.93.0+f4c1a404
[vala-gnome.git] / libvaladoc / Makefile.am
blob384292f57579026e3efab1d41633c1bd510af2d8
1 include $(top_srcdir)/Makefile.common
3 NULL =
5 AM_CFLAGS = \
6         -DPACKAGE_ICONDIR=\"$(datadir)/valadoc/icons/\" \
7         -DPACKAGE_DATADIR=\"$(libdir)/valadoc\" \
8         -DPACKAGE_VERSION=\"$(VERSION)\" \
9         $(COVERAGE_CFLAGS) \
10         $(LIBGVC_CFLAGS) \
11         $(GLIB_CFLAGS) \
12         $(GMODULE_CFLAGS) \
13         -I$(top_srcdir)/gee \
14         -I$(top_srcdir)/vala \
15         $(NULL)
17 AM_VALAFLAGS = \
18         $(NULL)
20 BUILT_SOURCES = \
21         libvaladoc.vala.stamp \
22         valadoc.h \
23         $(NULL)
25 lib_LTLIBRARIES = libvaladoc@PACKAGE_SUFFIX@.la
27 libvaladoc_la_VALASOURCES = \
28         doclet.vala \
29         errorreporter.vala \
30         filehelper.vala \
31         moduleloader.vala \
32         settings.vala \
33         markupwriter.vala \
34         gtkdocmarkupwriter.vala \
35         devhelp-markupwriter.vala \
36         ctyperesolver.vala \
37         gtkdocrenderer.vala \
38         documentation/commentscanner.vala \
39         documentation/documentation.vala \
40         documentation/documentationparser.vala \
41         documentation/wiki.vala \
42         documentation/wikiscanner.vala \
43         documentation/gtkdoccommentparser.vala \
44         documentation/gtkdoccommentscanner.vala \
45         documentation/gtkdocmarkdownparser.vala \
46         documentation/gtkdocmarkdownscanner.vala \
47         documentation/importerhelper.vala \
48         documentation/girmetadata.vala \
49         importer/documentationimporter.vala \
50         importer/valadocdocumentationimporter.vala \
51         importer/valadocdocumentationimporterscanner.vala \
52         importer/girdocumentationimporter.vala \
53         importer/internalidregistrar.vala \
54         api/symbolaccessibility.vala \
55         api/sourcecomment.vala \
56         api/girsourcecomment.vala \
57         api/attributeargument.vala \
58         api/attribute.vala \
59         api/array.vala \
60         api/callable.vala \
61         api/childsymbolregistrar.vala \
62         api/class.vala \
63         api/constant.vala \
64         api/delegate.vala \
65         api/enum.vala \
66         api/enumvalue.vala \
67         api/errorcode.vala \
68         api/errordomain.vala \
69         api/field.vala \
70         api/formalparameter.vala \
71         api/formalparametertype.vala \
72         api/interface.vala \
73         api/item.vala \
74         api/member.vala \
75         api/method.vala \
76         api/methodbindingtype.vala \
77         api/namespace.vala \
78         api/node.vala \
79         api/nodetype.vala \
80         api/ownership.vala \
81         api/package.vala \
82         api/pointer.vala \
83         api/property.vala \
84         api/propertyaccessor.vala \
85         api/propertyaccessortype.vala \
86         api/propertybindingtype.vala \
87         api/signal.vala \
88         api/signaturebuilder.vala \
89         api/sourcefile.vala \
90         api/struct.vala \
91         api/symbol.vala \
92         api/tree.vala \
93         api/typeparameter.vala \
94         api/typereference.vala \
95         api/typesymbol.vala \
96         api/browsable.vala \
97         api/visitor.vala \
98         api/driver.vala \
99         content/block.vala \
100         content/blockcontent.vala \
101         content/comment.vala \
102         content/contentfactory.vala \
103         content/contentelement.vala \
104         content/contentrenderer.vala \
105         content/contentvisitor.vala \
106         content/embedded.vala \
107         content/headline.vala \
108         content/inline.vala \
109         content/inlinetaglet.vala \
110         content/inlinecontent.vala \
111         content/wikilink.vala \
112         content/link.vala \
113         content/list.vala \
114         content/listitem.vala \
115         content/page.vala \
116         content/paragraph.vala \
117         content/warning.vala \
118         content/note.vala \
119         content/resourcelocator.vala \
120         content/run.vala \
121         content/sourcecode.vala \
122         content/styleattributes.vala \
123         content/symbollink.vala \
124         content/table.vala \
125         content/tablecell.vala \
126         content/tablerow.vala \
127         content/taglet.vala \
128         content/text.vala \
129         charts/chart.vala \
130         charts/chartfactory.vala \
131         charts/hierarchychart.vala \
132         charts/simplechartfactory.vala \
133         parser/manyrule.vala \
134         parser/oneofrule.vala \
135         parser/optionalrule.vala \
136         parser/parser.vala \
137         parser/parsercallback.vala \
138         parser/rule.vala \
139         parser/scanner.vala \
140         parser/sequencerule.vala \
141         parser/stubrule.vala \
142         parser/token.vala \
143         parser/tokentype.vala \
144         taglets/tagletdeprecated.vala \
145         taglets/tagletinheritdoc.vala \
146         taglets/tagletinit.vala \
147         taglets/tagletlink.vala \
148         taglets/tagletparam.vala \
149         taglets/tagletreturn.vala \
150         taglets/tagletsee.vala \
151         taglets/tagletsince.vala \
152         taglets/tagletthrows.vala \
153         highlighter/scanner.vala \
154         highlighter/codescanner.vala \
155         highlighter/xmlscanner.vala \
156         highlighter/codetoken.vala \
157         highlighter/highlighter.vala \
158         html/basicdoclet.vala \
159         html/htmlchartfactory.vala \
160         html/linkhelper.vala \
161         html/cssclassresolver.vala \
162         html/htmlmarkupwriter.vala \
163         html/htmlrenderer.vala \
164         $(NULL)
166 libvaladoc@PACKAGE_SUFFIX@_la_SOURCES = \
167         libvaladoc.vala.stamp \
168         $(libvaladoc_la_VALASOURCES:.vala=.c) \
169         gvc-compat.c \
170         $(NULL)
172 valadoc@PACKAGE_SUFFIX@.vapi valadoc.h: libvaladoc.vala.stamp
173 libvaladoc.vala.stamp: $(libvaladoc_la_VALASOURCES)
174         $(VALA_V)$(VALAC) \
175                 $(COVERAGE_VALAFLAGS) \
176                 $(VALAFLAGS) \
177                 --basedir $(srcdir) \
178                 --directory $(builddir) \
179                 -C \
180                 --use-header \
181                 -H valadoc.h \
182                 --library valadoc \
183                 --vapi valadoc@PACKAGE_SUFFIX@.vapi \
184                 --vapidir $(top_srcdir)/vapi --pkg gmodule-2.0 \
185                 --vapidir $(top_srcdir)/vapi --pkg libgvc \
186                 --vapidir $(top_srcdir)/gee --pkg gee \
187                 --vapidir $(top_srcdir)/vala --pkg vala \
188                 --pkg config \
189                 $(filter %.vala %.c,$^)
190         touch $@
192 libvaladoc@PACKAGE_SUFFIX@_la_LDFLAGS = \
193         -no-undefined \
194         $(NULL)
196 libvaladoc@PACKAGE_SUFFIX@_la_LIBADD = \
197         $(COVERAGE_LIBS) \
198         $(LIBGVC_LIBS) \
199         $(GLIB_LIBS) \
200         $(GMODULE_LIBS) \
201         $(top_builddir)/vala/libvala@PACKAGE_SUFFIX@.la \
202         $(NULL)
204 libvaladocincludedir = $(includedir)/valadoc@PACKAGE_SUFFIX@
205 libvaladocinclude_HEADERS = \
206         valadoc.h \
207         $(NULL)
209 pkgconfigdir = $(libdir)/pkgconfig
210 nodist_pkgconfig_DATA = valadoc@PACKAGE_SUFFIX@.pc
212 valadoc@PACKAGE_SUFFIX@.pc: valadoc.pc
213         cp $< $@
215 vapidir = $(datadir)/vala/vapi
216 dist_vapi_DATA = valadoc@PACKAGE_SUFFIX@.vapi
217 nodist_vapi_DATA = valadoc@PACKAGE_SUFFIX@.deps
219 valadoc@PACKAGE_SUFFIX@.deps: valadoc.deps
220         cp $< $@
222 EXTRA_DIST = \
223         $(libvaladoc_la_VALASOURCES) \
224         libvaladoc.vala.stamp \
225         valadoc.deps.in \
226         valadoc.pc.in \
227         $(NULL)
229 CLEANFILES = \
230         valadoc@PACKAGE_SUFFIX@.deps \
231         valadoc@PACKAGE_SUFFIX@.pc \
232         $(NULL)
234 MAINTAINERCLEANFILES = \
235         valadoc.deps \
236         valadoc.pc \
237         valadoc.vapi \
238         valadoc.h \
239         $(libvaladoc_la_VALASOURCES:.vala=.c) \
240         $(NULL)