blob: e4bb9cbd3de3367590571622d834dcde0288eacd (
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
|
## Proxy Makefile.am to build libpng for TeX Live.
##
## Copyright (C) 2009 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 libpng source tree.
##
## With current automake (1.10.2) 'make distcheck' fails when
## DISTFILES contains a directory and files in that directory.
## Thus nodist_* for all files in $(GD_TREE).
EXTRA_DIST = $(GD_TREE)
# in case of an SVN repository
dist-hook:
rm -rf `find $(distdir)/$(GD_TREE) -name .svn`
rm -f $(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)/config/mkinstalldirs \
$(distdir)/$(GD_TREE)/depcomp \
$(distdir)/$(GD_TREE)/install-sh \
$(distdir)/$(GD_TREE)/missing \
$(distdir)/$(GD_TREE)/mkinstalldirs
INCLUDES = -I$(top_srcdir)/$(GD_TREE) $(ZLIB_INCLUDES) $(LIBPNG_INCLUDES)
noinst_LIBRARIES=libgd.a
nodist_libgd_a_SOURCES = \
$(GD_TREE)/gd.c \
$(GD_TREE)/gd_gd.c \
$(GD_TREE)/gd_gd2.c \
$(GD_TREE)/gd_gif_in.c \
$(GD_TREE)/gd_gif_out.c \
$(GD_TREE)/gd_io.c \
$(GD_TREE)/gd_io_dp.c \
$(GD_TREE)/gd_io_file.c \
$(GD_TREE)/gd_io_ss.c \
$(GD_TREE)/gd_jpeg.c \
$(GD_TREE)/gd_png.c \
$(GD_TREE)/gd_security.c \
$(GD_TREE)/gd_ss.c \
$(GD_TREE)/gd_topal.c \
$(GD_TREE)/gd_wbmp.c \
$(GD_TREE)/gdcache.c \
$(GD_TREE)/gdfontg.c \
$(GD_TREE)/gdfontl.c \
$(GD_TREE)/gdfontmb.c \
$(GD_TREE)/gdfonts.c \
$(GD_TREE)/gdfontt.c \
$(GD_TREE)/gdft.c \
$(GD_TREE)/gdfx.c \
$(GD_TREE)/gdhelpers.c \
$(GD_TREE)/gdkanji.c \
$(GD_TREE)/gdtables.c \
$(GD_TREE)/gdxpm.c \
$(GD_TREE)/wbmp.c
BUILT_SOURCES = \
entities.h \
gd.h \
gd_io.h \
gdcache.h \
gdfontg.h \
gdfontl.h \
gdfontmb.h \
gdfonts.h \
gdfontt.h \
gdfx.h \
gdhelpers.h \
jisx0208.h \
wbmp.h
$(libgd_a_OBJECTS): $(BUILT_SOURCES) $(ZLIB_DEPEND) $(LIBPNG_DEPEND)
## Rebuild zlib
@ZLIB_RULE@
## Rebuild libpng
@LIBPNG_RULE@
$(BUILT_SOURCES): stamp-gd
stamp-gd:
@for file in $(BUILT_SOURCES); do \
test -f $$file || { \
echo "$(LN_S) $(srcdir)/$(GD_TREE)/$$file $$file"; \
$(LN_S) $(srcdir)/$(GD_TREE)/$$file $$file; } || exit 1; \
done
echo timestamp >$@
distclean-local:
rm -f stamp-gd $(BUILT_SOURCES)
|