summaryrefslogtreecommitdiff
path: root/Build/source/libs/gd/Makefile.am
blob: 950925cce1774842fc6f77ea9dcd289268a667eb (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
## Proxy Makefile.am to build libgd for TeX Live.
##
##   Copyright (C) 2009-2013 Peter Breitenlohner <tex-live@tug.org>
##
##   This file is free software; the copyright holder
##   gives unlimited permission to copy and/or distribute it,
##   with or without modifications, as long as this notice is preserved.
##
ACLOCAL_AMFLAGS = -I ../../m4

## We want to re-distribute the whole original libgd source tree.
##
EXTRA_DIST = $(GD_TREE)

## Changes applied to the original source tree
##
EXTRA_DIST += $(GD_TREE)-PATCHES

# in case of an SVN repository
dist-hook:
	rm -rf `find $(distdir) -name .svn -o -name .deps -o -name .dirstamp -o -name '*.$(OBJEXT)'`
	rm -f $(distdir)/$(GD_TREE)/Makefile.in \
	  $(distdir)/$(GD_TREE)/aclocal.m4 \
	  $(distdir)/$(GD_TREE)/config/Makefile.in \
	  $(distdir)/$(GD_TREE)/config/ar-lib \
	  $(distdir)/$(GD_TREE)/config/compile \
	  $(distdir)/$(GD_TREE)/config/config.guess \
	  $(distdir)/$(GD_TREE)/config/config.rpath \
	  $(distdir)/$(GD_TREE)/config/config.sub \
	  $(distdir)/$(GD_TREE)/config/depcomp \
	  $(distdir)/$(GD_TREE)/config/install-sh \
	  $(distdir)/$(GD_TREE)/config/ltmain.sh \
	  $(distdir)/$(GD_TREE)/config/missing \
	  $(distdir)/$(GD_TREE)/configure \
	  $(distdir)/$(GD_TREE)/m4/libtool.m4 \
	  $(distdir)/$(GD_TREE)/m4/ltoptions.m4 \
	  $(distdir)/$(GD_TREE)/m4/ltsugar.m4 \
	  $(distdir)/$(GD_TREE)/m4/ltversion.m4 \
	  $(distdir)/$(GD_TREE)/m4/lt~obsolete.m4 \
	  $(distdir)/$(GD_TREE)/src/Makefile.in \
	  $(distdir)/$(GD_TREE)/src/depcomp \
	  $(distdir)/$(GD_TREE)/tests/Makefile.in

SUBDIRS = . include

AM_CPPFLAGS = -I$(top_srcdir)/$(GD_TREE)/src
if WIN32
AM_CPPFLAGS += -DNONDLL -DBGDWIN32
endif WIN32
AM_CPPFLAGS += $(ZLIB_INCLUDES) $(LIBPNG_INCLUDES) $(FREETYPE2_INCLUDES)
AM_CFLAGS = # $(WARNING_CFLAGS)

noinst_LIBRARIES=libgd.a

libgd_a_SOURCES = \
	@GD_TREE@/src/gd.c \
	@GD_TREE@/src/gd_bmp.c \
	@GD_TREE@/src/gd_color.c \
	@GD_TREE@/src/gd_color_map.c \
	@GD_TREE@/src/gd_color_match.c \
	@GD_TREE@/src/gd_crop.c \
	@GD_TREE@/src/gd_filter.c \
	@GD_TREE@/src/gd_gd.c \
	@GD_TREE@/src/gd_gd2.c \
	@GD_TREE@/src/gd_gif_in.c \
	@GD_TREE@/src/gd_gif_out.c \
	@GD_TREE@/src/gd_interpolation.c \
	@GD_TREE@/src/gd_io.c \
	@GD_TREE@/src/gd_io_dp.c \
	@GD_TREE@/src/gd_io_file.c \
	@GD_TREE@/src/gd_io_ss.c \
	@GD_TREE@/src/gd_jpeg.c \
	@GD_TREE@/src/gd_matrix.c \
	@GD_TREE@/src/gd_nnquant.c \
	@GD_TREE@/src/gd_png.c \
	@GD_TREE@/src/gd_rotate.c \
	@GD_TREE@/src/gd_security.c \
	@GD_TREE@/src/gd_ss.c \
	@GD_TREE@/src/gd_tga.c \
	@GD_TREE@/src/gd_tiff.c \
	@GD_TREE@/src/gd_topal.c \
	@GD_TREE@/src/gd_transform.c \
	@GD_TREE@/src/gd_wbmp.c \
	@GD_TREE@/src/gd_webp.c \
	@GD_TREE@/src/gd_xbm.c \
	@GD_TREE@/src/gdcache.c \
	@GD_TREE@/src/gdfontg.c \
	@GD_TREE@/src/gdfontl.c \
	@GD_TREE@/src/gdfontmb.c \
	@GD_TREE@/src/gdfonts.c \
	@GD_TREE@/src/gdfontt.c \
	@GD_TREE@/src/gdft.c \
	@GD_TREE@/src/gdfx.c \
	@GD_TREE@/src/gdhelpers.c \
	@GD_TREE@/src/gdkanji.c \
	@GD_TREE@/src/gdtables.c \
	@GD_TREE@/src/gdxpm.c \
	@GD_TREE@/src/wbmp.c \
	@GD_TREE@/src/webpimg.c

$(libgd_a_OBJECTS): config.force

## Rebuild libpng
@LIBPNG_RULE@
## Rebuild libfreetype
@FREETYPE2_RULE@

# Reconfig
reconfig_prereq = $(LIBPNG_DEPEND) $(FREETYPE2_DEPEND)
DISTCLEANFILES =

include $(srcdir)/../../am/reconfig.am

# Rebuild
rebuild_prereq =
rebuild_target = all
CLEANFILES =

include $(srcdir)/../../am/rebuild.am