File: Makefile.am

package info (click to toggle)
texlive-bin 2018.20181218.49446-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 186,920 kB
  • sloc: ansic: 873,264; cpp: 311,278; perl: 82,918; sh: 23,243; makefile: 8,590; lex: 4,939; python: 4,462; pascal: 3,813; java: 3,569; yacc: 2,901; tcl: 2,379; exp: 2,031; xml: 844; ruby: 678; lisp: 398; sed: 331; asm: 140; csh: 46; awk: 30
file content (341 lines) | stat: -rw-r--r-- 6,701 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
## This file is part of dvisvgm
## Copyright (C) 2005-2018 Martin Gieseking <martin.gieseking@uos.de>
##
## Process this file with automake.

bin_PROGRAMS     = dvisvgm
noinst_LIBRARIES = libdvisvgm.a

dvisvgm_SOURCES = \
	CommandLine.hpp \
	dvisvgm.cpp

include ../libs/defs.am

dvisvgm_srcdir = $(top_srcdir)/dvisvgm-src

dvisvgm_LDADD = \
	$(noinst_LIBRARIES) \
	../libs/clipper/libclipper.a \
	-lpotrace \
	-lxxhash

if ENABLE_WOFF
dvisvgm_LDADD += \
	../libs/ff-woff/libfontforge.a \
	-lwoff2enc -lwoff2dec -lwoff2common \
	-lbrotlienc -lbrotlidec -lbrotlicommon
endif

if USE_BUNDLED_MD5
dvisvgm_LDADD += ../libs/md5/libmd5.a
else
dvisvgm_LDADD += $(LIBCRYPTO_LIBS)
endif

dvisvgm_LDADD += \
	$(KPATHSEA_LIBS) \
	$(FREETYPE2_LIBS) \
	$(FONTFORGE_LIBS) \
	$(ZLIB_LIBS) \
	-lgs

dvisvgm_DEPENDENCIES = $(noinst_LIBRARIES)
dvisvgm_DEPENDENCIES += $(KPATHSEA_DEPEND) $(ZLIB_DEPEND) $(FREETYPE2_DEPEND)

libdvisvgm_a_SOURCES = \
	AGLTable.hpp \
	BasicDVIReader.cpp \
	BasicDVIReader.hpp \
	Bezier.cpp \
	Bezier.hpp \
	BgColorSpecialHandler.cpp \
	BgColorSpecialHandler.hpp \
	Bitmap.cpp \
	Bitmap.hpp \
	BoundingBox.cpp \
	BoundingBox.hpp \
	Calculator.cpp \
	Calculator.hpp \
	Character.hpp \
	CharMapID.cpp \
	CharMapID.hpp \
	CLCommandLine.cpp \
	CLCommandLine.hpp \
	CLOption.hpp \
	CMap.cpp \
	CMap.hpp \
	CMapManager.cpp \
	CMapManager.hpp \
	CMapReader.cpp \
	CMapReader.hpp \
	Color.cpp \
	Color.hpp \
	ColorSpecialHandler.cpp \
	ColorSpecialHandler.hpp \
	CRC32.cpp \
	CRC32.hpp \
	DependencyGraph.hpp \
	Directory.cpp \
	Directory.hpp \
	DLLoader.cpp \
	DLLoader.hpp \
	DVIActions.hpp \
	DVIReader.cpp \
	DVIReader.hpp \
	DvisvgmSpecialHandler.cpp \
	DvisvgmSpecialHandler.hpp \
	DVIToSVG.cpp \
	DVIToSVG.hpp \
	DVIToSVGActions.cpp \
	DVIToSVGActions.hpp \
	EmSpecialHandler.cpp \
	EmSpecialHandler.hpp \
	EncFile.cpp \
	EncFile.hpp \
	EPSFile.cpp \
	EPSFile.hpp \
	EPSToSVG.hpp \
	FileFinder.cpp \
	FileFinder.hpp \
	FilePath.cpp \
	FilePath.hpp \
	FileSystem.cpp \
	FileSystem.hpp \
	FixWord.hpp \
	Font.cpp \
	Font.hpp \
	FontCache.cpp \
	FontCache.hpp \
	FontEncoding.cpp \
	FontEncoding.hpp \
	FontEngine.cpp \
	FontEngine.hpp \
	FontManager.cpp \
	FontManager.hpp \
	FontMap.cpp \
	FontMap.hpp \
	FontMetrics.cpp \
	FontMetrics.hpp \
	FontStyle.hpp \
	FontWriter.cpp \
	FontWriter.hpp \
	GFGlyphTracer.cpp \
	GFGlyphTracer.hpp \
	GFReader.cpp \
	GFReader.hpp \
	GFTracer.cpp \
	GFTracer.hpp \
	Ghostscript.cpp \
	Ghostscript.hpp \
	Glyph.hpp \
	GlyphTracerMessages.hpp \
	GraphicsPath.hpp \
	HashFunction.cpp \
	HashFunction.hpp \
	HtmlSpecialHandler.cpp \
	HtmlSpecialHandler.hpp \
	HyperlinkManager.cpp \
	HyperlinkManager.hpp \
	ImageToSVG.cpp \
	ImageToSVG.hpp \
	InputBuffer.cpp \
	InputBuffer.hpp \
	InputReader.cpp \
	InputReader.hpp \
	JFM.cpp \
	JFM.hpp \
	Length.cpp \
	Length.hpp \
	macros.hpp \
	MapLine.cpp \
	MapLine.hpp \
	Matrix.cpp \
	Matrix.hpp \
	MD5HashFunction.hpp \
	Message.cpp \
	Message.hpp \
	MessageException.hpp \
	MetafontWrapper.cpp \
	MetafontWrapper.hpp \
	NoPsSpecialHandler.cpp \
	NoPsSpecialHandler.hpp \
	NumericRanges.hpp \
	PageRanges.cpp \
	PageRanges.hpp \
	PageSize.cpp \
	PageSize.hpp \
	Pair.hpp \
	PapersizeSpecialHandler.cpp \
	PapersizeSpecialHandler.hpp \
	PathClipper.cpp \
	PathClipper.hpp \
	PDFParser.cpp \
	PDFParser.hpp \
	PDFToSVG.hpp \
	PdfSpecialHandler.cpp \
	PdfSpecialHandler.hpp \
	PreScanDVIReader.cpp \
	PreScanDVIReader.hpp \
	Process.cpp \
	Process.hpp \
	psdefs.cpp \
	PSFilter.hpp \
	PSInterpreter.cpp \
	PSInterpreter.hpp \
	PSPattern.cpp \
	PSPattern.hpp \
	PSPreviewFilter.cpp \
	PSPreviewFilter.hpp \
	PsSpecialHandler.cpp \
	PsSpecialHandler.hpp \
	RangeMap.cpp \
	RangeMap.hpp \
	ShadingPatch.cpp \
	ShadingPatch.hpp \
	SignalHandler.cpp \
	SignalHandler.hpp \
	SourceInput.cpp \
	SourceInput.hpp \
	SpecialActions.hpp \
	SpecialHandler.hpp \
	SpecialManager.cpp \
	SpecialManager.hpp \
	StreamReader.cpp \
	StreamReader.hpp \
	StreamWriter.cpp \
	StreamWriter.hpp \
	Subfont.cpp \
	Subfont.hpp \
	SVGCharHandler.cpp \
	SVGCharHandler.hpp \
	SVGCharHandlerFactory.cpp \
	SVGCharHandlerFactory.hpp \
	SVGCharPathHandler.cpp \
	SVGCharPathHandler.hpp \
	SVGCharTspanTextHandler.cpp \
	SVGCharTspanTextHandler.hpp \
	SVGOutput.cpp \
	SVGOutput.hpp \
	SVGSingleCharTextHandler.cpp \
	SVGSingleCharTextHandler.hpp \
	SVGTree.cpp \
	SVGTree.hpp \
	System.cpp \
	System.hpp \
	TensorProductPatch.cpp \
	TensorProductPatch.hpp \
	Terminal.cpp \
	Terminal.hpp \
	TFM.cpp \
	TFM.hpp \
	ToUnicodeMap.cpp \
	ToUnicodeMap.hpp \
	TpicSpecialHandler.cpp \
	TpicSpecialHandler.hpp \
	TriangularPatch.cpp \
	TriangularPatch.hpp \
	TrueTypeFont.cpp \
	TrueTypeFont.hpp \
	TTFAutohint.cpp \
	TTFAutohint.hpp \
	Unicode.cpp \
	Unicode.hpp \
	utility.hpp \
	utility.cpp \
	VectorIterator.hpp \
	VectorStream.hpp \
	version.hpp \
	VFActions.hpp \
	VFReader.cpp \
	VFReader.hpp \
	windows.hpp \
	XMLDocument.cpp \
	XMLDocument.hpp \
	XMLNode.cpp \
	XMLNode.hpp \
	XMLString.cpp \
	XMLString.hpp \
	XXHashFunction.hpp \
	ZLibOutputStream.hpp

if ENABLE_WOFF
libdvisvgm_a_SOURCES += ffwrapper.c ffwrapper.h
endif

EXTRA_DIST = options.xml options.dtd iapi.h ierrors.h MiKTeXCom.hpp MiKTeXCom.cpp

AM_CFLAGS = $(WARNING_CFLAGS) \
	$(ZLIB_INCLUDES) \
	$(CODE_COVERAGE_CFLAGS)

AM_CXXFLAGS = $(WARNING_CFLAGS) -Wnon-virtual-dtor -Wno-mismatched-tags \
	-I$(dvisvgm_srcdir)/libs/clipper \
	-I$(dvisvgm_srcdir)/libs/variant/include

AM_CXXFLAGS += \
	$(POTRACE_CFLAGS) \
	$(XXHASH_CFLAGS)

AM_LDFLAGS = \
	$(KPSE_LIBS) \
	$(CODE_COVERAGE_LDFLAGS)

if ENABLE_WOFF
AM_CFLAGS +=  \
	-I$(dvisvgm_srcdir)/libs/ff-woff/fontforge \
	-I$(dvisvgm_srcdir)/libs/ff-woff/inc

AM_CXXFLAGS += $(TTFAUTOHINT_CFLAGS)

AM_CXXFLAGS +=  \
	$(BROTLI_CFLAGS) \
	$(WOFF2_CFLAGS)

if USE_BUNDLED_MD5
AM_CXXFLAGS += -I$(dvisvgm_srcdir)/libs/md5
else
AM_CXXFLAGS += $(LIBCRYPTO_CFLAGS)
endif

AM_LDFLAGS += $(TTFAUTOHINT_LIBS)
endif

AM_CXXFLAGS += \
	$(KPATHSEA_INCLUDES) \
	$(POTRACE_INCLUDES) \
	$(FREETYPE2_INCLUDES) \
	$(ZLIB_INCLUDES) \
	$(LIBGS_INCLUDES) \
	$(CODE_COVERAGE_CFLAGS)

if WIN32
AM_CXXFLAGS += -DTEXLIVEWIN32
endif WIN32

if ! TEXLIVE_BUILD
# TL: do not try to rebuild these source files.
# the command-line parser class is generated from options.xml by opt2cpp
$(srcdir)/CommandLine.hpp: options.xml
	rm -f $@
	python $(srcdir)/opt2cpp.py $< >$@

# Create a C string definition containing the PostScript routines psdefs.ps needed by class PSInterpreter
$(srcdir)/psdefs.cpp: psdefs.ps
	if test -f $<; then \
		ps2c PSInterpreter::PSDEFS $< >$@; \
	fi

psdefs.ps: ;
endif ! TEXLIVE_BUILD

@CODE_COVERAGE_RULES@

CLEANFILES = *.gcda *.gcno

## Rebuild libkpathsea
@KPATHSEA_RULE@
## Rebuild libfreetype
@FREETYPE2_RULE@
## Rebuild libz
@ZLIB_RULE@