summaryrefslogtreecommitdiff
path: root/Jamfile
blob: cb3da8a7ee1c3ebb45e8b9e55174be3ebb9f38b2 (plain)
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
#
# Jamfile for Fitz
#

include $(HOME)/.jamrules ;

HDRS = include ;

Library libfitz :
	# util stuff
	#util/cleanname.c
	#util/getopt.c
	#util/strsep.c
	#util/strlcpy.c
	#util/strlcat.c

	# base runtime
	base/error.c
	base/memory.c
	base/md5.c
	base/arc4.c
	base/rect.c
	base/matrix.c
	base/hash.c

	# object
	object/simple.c
	object/array.c
	object/dict.c
	object/print.c
	object/parse.c

	# filter
	filter/buffer.c
	filter/filter.c
	filter/filec.c		# unistd.h
	filter/filer.c		# unistd.h
	filter/filew.c		# unistd.h

	filter/null.c
	filter/arc4filter.c
	filter/pipeline.c

	filter/ahxd.c
	filter/ahxe.c
	filter/a85d.c
	filter/a85e.c
	filter/rld.c
	filter/rle.c
	filter/predict.c
	filter/lzwd.c
	filter/lzwe.c

	filter/faxd.c
	filter/faxdtab.c
	filter/faxe.c
	filter/faxetab.c

	filter/flate.c		# libz
	filter/dctd.c		# libjpeg
	filter/dcte.c		# libjpeg
	filter/jbig2d.c		# jbig2dec
	filter/jpxd.c		# jasper

	# tree
	tree/cmap.c
	tree/font.c
	tree/colorspace.c

	tree/tree.c
	tree/node1.c
	tree/node2.c
	tree/text.c
	tree/path.c
	tree/debug.c

	# render
	render/glyphcache.c
	render/pixmap.c
	render/edgelist.c
	render/scanconv.c
	render/fill.c
	render/stroke.c
	render/render.c
;

Library libmupdf :
	mupdf/lex.c
	mupdf/parse.c
	mupdf/crypt.c

	mupdf/open.c
	mupdf/repair.c
	mupdf/save.c
	mupdf/xref.c
	mupdf/stream.c
	mupdf/doctor.c

	mupdf/nametree.c
	mupdf/cmap.c
	mupdf/font.c
	mupdf/fontfile.c
	mupdf/colorspace.c
	mupdf/resources.c
	mupdf/page.c
	mupdf/pagetree.c
	mupdf/build.c
	mupdf/interpret.c
	;

LINKLIBS =
	-lfontconfig
	-lfreetype
	-ljbig2dec
	-ljasper
	-ljpeg
	-lz 
	-lm
	;

Main pdfclean : test/pdfclean.c ;
Main pdfdebug : test/pdfdebug.c ;
Main pdfmerge : test/pdfmerge.c ;
Main pdfrip : test/pdfrip.c ;

LinkLibraries pdfclean pdfdebug pdfmerge pdfrip : libmupdf libfitz ;