1 | NULL= |
---|
2 | |
---|
3 | INCLUDES = \ |
---|
4 | -I$(top_srcdir) \ |
---|
5 | -I$(srcdir) \ |
---|
6 | -I$(includedir) \ |
---|
7 | $(GTKHTML_CFLAGS) \ |
---|
8 | $(SOUP_CFLAGS) \ |
---|
9 | -DG_LOG_DOMAIN=\"gtkhtml\" \ |
---|
10 | -DSRCDIR=\"$(srcdir)\" \ |
---|
11 | -DPREFIX=\"$(prefix)\" |
---|
12 | |
---|
13 | AM_CFLAGS = \ |
---|
14 | -DICONDIR=\"$(datadir)/gtkhtml-@GTKHTML_API_VERSION@/icons\" \ |
---|
15 | -DGDK_DISABLE_DEPRECATED=1 \ |
---|
16 | -DG_DISABLE_DEPRECATED=1 \ |
---|
17 | -DGNOME_DISABLE_DEPRECATED=1 |
---|
18 | # -DGTK_DISABLE_DEPRECATED=1 |
---|
19 | |
---|
20 | lib_LTLIBRARIES = libgtkhtml-3.1.la |
---|
21 | |
---|
22 | libgtkhtmldir = $(includedir)/libgtkhtml-@GTKHTML_API_VERSION@/gtkhtml |
---|
23 | |
---|
24 | # FIXME not all the stuff should be installed! |
---|
25 | |
---|
26 | libgtkhtml_HEADERS = \ |
---|
27 | gtkhtml-compat.h \ |
---|
28 | gtkhtml-embedded.h \ |
---|
29 | gtkhtml-enums.h \ |
---|
30 | gtkhtml-private.h \ |
---|
31 | gtkhtml-properties.h \ |
---|
32 | gtkhtml-search.h \ |
---|
33 | gtkhtml-stream.h \ |
---|
34 | gtkhtml-types.h \ |
---|
35 | gtkhtml.h \ |
---|
36 | gtkhtmldebug.h \ |
---|
37 | gtkhtmlfontstyle.h \ |
---|
38 | htmlanchor.h \ |
---|
39 | htmlbutton.h \ |
---|
40 | htmlcheckbox.h \ |
---|
41 | htmlclue.h \ |
---|
42 | htmlcluealigned.h \ |
---|
43 | htmlclueflow.h \ |
---|
44 | htmlclueh.h \ |
---|
45 | htmlcluev.h \ |
---|
46 | htmlcolor.h \ |
---|
47 | htmlcolorset.h \ |
---|
48 | htmlcursor.h \ |
---|
49 | htmldrawqueue.h \ |
---|
50 | htmlembedded.h \ |
---|
51 | htmlengine-edit.h \ |
---|
52 | htmlengine-edit-clueflowstyle.h \ |
---|
53 | htmlengine-edit-cursor.h \ |
---|
54 | htmlengine-edit-cut-and-paste.h \ |
---|
55 | htmlengine-edit-fontstyle.h \ |
---|
56 | htmlengine-edit-images.h \ |
---|
57 | htmlengine-edit-movement.h \ |
---|
58 | htmlengine-edit-rule.h \ |
---|
59 | htmlengine-edit-selection-updater.h \ |
---|
60 | htmlengine-edit-table.h \ |
---|
61 | htmlengine-edit-tablecell.h \ |
---|
62 | htmlengine-edit-text.h \ |
---|
63 | htmlengine-print.h \ |
---|
64 | htmlengine-save.h \ |
---|
65 | htmlengine-search.h \ |
---|
66 | htmlengine.h \ |
---|
67 | htmlentity.h \ |
---|
68 | htmlenums.h \ |
---|
69 | htmlenumutils.h \ |
---|
70 | htmlfontmanager.h \ |
---|
71 | htmlform.h \ |
---|
72 | htmlgdkpainter.h \ |
---|
73 | htmlplainpainter.h \ |
---|
74 | htmlhidden.h \ |
---|
75 | htmlimage.h \ |
---|
76 | htmlimageinput.h \ |
---|
77 | htmlinterval.h \ |
---|
78 | htmllist.h \ |
---|
79 | htmlmap.h \ |
---|
80 | htmlmarshal.h \ |
---|
81 | htmlobject.h \ |
---|
82 | htmlpainter.h \ |
---|
83 | htmlprinter.h \ |
---|
84 | htmlradio.h \ |
---|
85 | htmlrule.h \ |
---|
86 | htmlsearch.h \ |
---|
87 | htmlreplace.h \ |
---|
88 | htmlselect.h \ |
---|
89 | htmlselection.h \ |
---|
90 | htmlsettings.h \ |
---|
91 | htmlshape.h \ |
---|
92 | htmlstack.h \ |
---|
93 | htmlstringtokenizer.h \ |
---|
94 | htmlstyle.h \ |
---|
95 | htmltable.h \ |
---|
96 | htmltablepriv.h \ |
---|
97 | htmltablecell.h \ |
---|
98 | htmltext.h \ |
---|
99 | htmltextarea.h \ |
---|
100 | htmltextinput.h \ |
---|
101 | htmltextslave.h \ |
---|
102 | htmltokenizer.h \ |
---|
103 | htmltype.h \ |
---|
104 | htmltypes.h \ |
---|
105 | htmlundo.h \ |
---|
106 | htmlundo-action.h \ |
---|
107 | gtkhtml-keybinding.h \ |
---|
108 | htmliframe.h \ |
---|
109 | htmlframe.h \ |
---|
110 | htmlframeset.h \ |
---|
111 | htmlengine-edit-table.h \ |
---|
112 | $(NULL) |
---|
113 | |
---|
114 | libgtkhtml_3_1_la_SOURCES = \ |
---|
115 | gtkhtml-embedded.c \ |
---|
116 | gtkhtml-properties.c \ |
---|
117 | gtkhtml-search.c \ |
---|
118 | gtkhtml-stream.c \ |
---|
119 | gtkhtml.c \ |
---|
120 | gtkhtmldebug.c \ |
---|
121 | gtkhtmlfontstyle.c \ |
---|
122 | htmlanchor.c \ |
---|
123 | htmlbutton.c \ |
---|
124 | htmlcheckbox.c \ |
---|
125 | htmlclue.c \ |
---|
126 | htmlcluealigned.c \ |
---|
127 | htmlclueflow.c \ |
---|
128 | htmlclueh.c \ |
---|
129 | htmlcluev.c \ |
---|
130 | htmlcolor.c \ |
---|
131 | htmlcolorset.c \ |
---|
132 | htmlcursor.c \ |
---|
133 | htmldrawqueue.c \ |
---|
134 | htmlembedded.c \ |
---|
135 | htmlengine-edit.c \ |
---|
136 | htmlengine-edit-clueflowstyle.c \ |
---|
137 | htmlengine-edit-cursor.c \ |
---|
138 | htmlengine-edit-cut-and-paste.c \ |
---|
139 | htmlengine-edit-fontstyle.c \ |
---|
140 | htmlengine-edit-images.c \ |
---|
141 | htmlengine-edit-movement.c \ |
---|
142 | htmlengine-edit-rule.c \ |
---|
143 | htmlengine-edit-selection-updater.c \ |
---|
144 | htmlengine-edit-table.c \ |
---|
145 | htmlengine-edit-tablecell.c \ |
---|
146 | htmlengine-edit-text.c \ |
---|
147 | htmlengine-print.c \ |
---|
148 | htmlengine-save.c \ |
---|
149 | htmlengine-search.c \ |
---|
150 | htmlengine.c \ |
---|
151 | htmlentity.c \ |
---|
152 | htmlenumutils.c \ |
---|
153 | htmlfontmanager.c \ |
---|
154 | htmlform.c \ |
---|
155 | htmlgdkpainter.c \ |
---|
156 | htmlplainpainter.c \ |
---|
157 | htmlhidden.c \ |
---|
158 | htmlimage.c \ |
---|
159 | htmlimageinput.c \ |
---|
160 | htmlinterval.c \ |
---|
161 | htmllist.c \ |
---|
162 | htmlmap.c \ |
---|
163 | htmlmarshal.c \ |
---|
164 | htmlobject.c \ |
---|
165 | htmlpainter.c \ |
---|
166 | htmlprinter.c \ |
---|
167 | htmlradio.c \ |
---|
168 | htmlrule.c \ |
---|
169 | htmlsearch.c \ |
---|
170 | htmlreplace.c \ |
---|
171 | htmlselect.c \ |
---|
172 | htmlselection.c \ |
---|
173 | htmlsettings.c \ |
---|
174 | htmlshape.c \ |
---|
175 | htmlstack.c \ |
---|
176 | htmlstringtokenizer.c \ |
---|
177 | htmlstyle.c \ |
---|
178 | htmltable.c \ |
---|
179 | htmltablecell.c \ |
---|
180 | htmltext.c \ |
---|
181 | htmltextarea.c \ |
---|
182 | htmltextinput.c \ |
---|
183 | htmltextslave.c \ |
---|
184 | htmltokenizer.c \ |
---|
185 | htmltype.c \ |
---|
186 | htmlundo.c \ |
---|
187 | htmlundo-action.c \ |
---|
188 | htmliframe.c \ |
---|
189 | htmlframe.c \ |
---|
190 | htmlframeset.c \ |
---|
191 | $(NULL) |
---|
192 | |
---|
193 | libgtkhtml_3_1_la_LDFLAGS = -version-info $(GTKHTML_CURRENT):$(GTKHTML_REVISION):$(GTKHTML_AGE) |
---|
194 | libgtkhtml_3_1_la_LIBADD = $(GTKHTML_LIBS) ../a11y/libgtkhtml-a11y.la $(GAIL_LIBS) |
---|
195 | |
---|
196 | dist-hook: |
---|
197 | mkdir $(distdir)/tests |
---|
198 | cp -f $(srcdir)/tests/*.html $(distdir)/tests |
---|
199 | cp -f $(srcdir)/tests/*.jpg $(distdir)/tests |
---|
200 | |
---|
201 | if HAVE_SOUP |
---|
202 | test_programs = testgtkhtml |
---|
203 | endif |
---|
204 | noinst_PROGRAMS = $(test_programs) gtest |
---|
205 | |
---|
206 | testgtkhtml_SOURCES = \ |
---|
207 | testgtkhtml.c \ |
---|
208 | htmlurl.h \ |
---|
209 | htmlurl.c |
---|
210 | #testgtkhtml_LDFLAGS = -static |
---|
211 | testgtkhtml_LDADD = \ |
---|
212 | libgtkhtml-@GTKHTML_API_VERSION@.la \ |
---|
213 | $(SOUP_LIBS) |
---|
214 | |
---|
215 | gtest_SOURCES = \ |
---|
216 | test.c |
---|
217 | gtest_LDFLAGS = |
---|
218 | gtest_LDADD = \ |
---|
219 | libgtkhtml-@GTKHTML_API_VERSION@.la |
---|
220 | |
---|
221 | pkgconfig_in_files = libgtkhtml.pc.in |
---|
222 | pkgconfigdir = $(libdir)/pkgconfig |
---|
223 | pkgconfig_DATA = $(pkgconfig_in_files:.pc.in=.pc) |
---|
224 | |
---|
225 | keybindingsdir = $(datadir)/gtkhtml-@GTKHTML_API_VERSION@ |
---|
226 | keybindings_DATA = \ |
---|
227 | keybindingsrc.emacs |
---|
228 | |
---|
229 | EXTRA_DIST = \ |
---|
230 | htmlclosures.list \ |
---|
231 | $(keybindings_DATA) \ |
---|
232 | $(NULL) |
---|
233 | |
---|
234 | install-data-hook: |
---|
235 | mv $(DESTDIR)$(libdir)/pkgconfig/libgtkhtml.pc $(DESTDIR)$(libdir)/pkgconfig/libgtkhtml-@GTKHTML_API_VERSION@.pc |
---|
236 | |
---|
237 | uninstall-hook: |
---|
238 | rm -f $(DESTDIR)$(libdir)/pkgconfig/libgtkhtml-@GTKHTML_API_VERSION@.pc |
---|
239 | |
---|
240 | htmlmarshal.h: htmlclosures.list |
---|
241 | glib-genmarshal --header --prefix=html_g_cclosure_marshal $< > $@ |
---|
242 | |
---|
243 | htmlmarshal.c: htmlclosures.list |
---|
244 | ( echo '#include "htmlmarshal.h"' > $@ && \ |
---|
245 | glib-genmarshal --body --prefix=html_g_cclosure_marshal $< >> $@ ) || rm -f $@ |
---|