summaryrefslogtreecommitdiff
path: root/src/Makefile.am
blob: dbe9243c0d4480c4b75b74e4f0ab275810963dfa (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
128
129
130
131
132
## Process this file with automake to produce Makefile.in -*-Makefile-*-

bin_PROGRAMS = gdcmpgif
check_PROGRAMS = gifanimtest

if HAVE_LIBPNG
bin_PROGRAMS += gdtopng pngtogd webpng
check_PROGRAMS += circletexttest fontsizetest fontwheeltest gddemo testac
if HAVE_LIBZ
bin_PROGRAMS += gdparttopng gd2topng pngtogd2
check_PROGRAMS += gdtest
endif
endif

if HAVE_LIBJPEG
if !HAVE_LIBPNG
check_PROGRAMS += fontsizetest fontwheeltest
endif
endif

if HAVE_LIBFONTCONFIG
check_PROGRAMS += fontconfigtest
endif

if HAVE_LIBFREETYPE
if HAVE_LIBJPEG
bin_PROGRAMS += annotate
endif
check_PROGRAMS += gdtestft testtr
endif

if HAVE_LIBZ
bin_PROGRAMS += gd2copypal gd2togif giftogd2
endif

bin_SCRIPTS = bdftogd

if HAVE_LIBZ
check_PROGRAMS += gd2time
endif

EXTRA_DIST = \
	bdftogd \
	demoin.png \
	entities.html \
	entities.tcl \
	CMakeLists.txt \
	config.h.cmake \
	gd_io_stream.cxx \
	gdpp.cxx \
	getopt.c \
	msinttypes/inttypes.h \
	msinttypes/stdint.h

include_HEADERS = gd.h gdfx.h gd_io.h gdcache.h gdfontg.h gdfontl.h gdfontmb.h gdfonts.h gdfontt.h gd_color_map.h gd_errors.h gdpp.h

lib_LTLIBRARIES = libgd.la

libgd_la_SOURCES = \
	bmp.h \
	entities.h \
	gd.c \
	gd.h \
	gd_avif.c \
	gd_bmp.c \
	gd_color.c \
	gd_color.h \
	gd_color_map.c \
	gd_color_map.h \
	gd_color_match.c \
	gd_crop.c \
	gd_filename.c \
	gd_filter.c \
	gd_gd.c \
	gd_gd2.c \
	gd_gif_in.c \
	gd_gif_out.c \
	gd_heif.c \
	gd_intern.h \
	gd_interpolation.c \
	gd_io.c \
	gd_io.h \
	gd_io_dp.c \
	gd_io_file.c \
	gd_io_ss.c \
	gd_io_stream.h \
	gd_jpeg.c \
	gd_matrix.c \
	gd_nnquant.c \
	gd_nnquant.h \
	gd_png.c \
	gd_rotate.c \
	gd_security.c \
	gd_ss.c \
	gd_tga.c \
	gd_tga.h \
	gd_tiff.c \
	gd_topal.c \
	gd_transform.c \
	gd_version.c \
	gd_wbmp.c \
	gd_webp.c \
	gd_xbm.c \
	gdcache.c \
	gdcache.h \
	gdfontg.c \
	gdfontg.h \
	gdfontl.c \
	gdfontl.h \
	gdfontmb.c \
	gdfontmb.h \
	gdfonts.c \
	gdfonts.h \
	gdfontt.c \
	gdfontt.h \
	gdft.c \
	gdfx.c \
	gdfx.h \
	gdhelpers.c \
	gdhelpers.h \
	gdkanji.c \
	gdtables.c \
	gdxpm.c \
	jisx0208.h \
	wbmp.c \
	wbmp.h

libgd_la_LDFLAGS = -version-info $(GDLIB_LT_CURRENT):$(GDLIB_LT_REVISION):$(GDLIB_LT_AGE) -no-undefined

libgd_la_LIBADD = $(LTLIBICONV)

LDADD = libgd.la $(LIBICONV)