blob: 09b99a104293361984357191e9a1afd5c0d3baf4 (
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
|
## 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 $(LIBPNG_TREE).
EXTRA_DIST = $(LIBPNG_TREE)
## in case of an SVN repository
dist-hook:
rm -rf `find $(distdir)/$(LIBPNG_TREE) -name .svn`
INCLUDES = -I$(top_srcdir)/$(LIBPNG_TREE) $(ZLIB_INCLUDES)
AM_CPPFLAGS = $(LIBPNG_DEFINES)
if build
noinst_LIBRARIES=libpng.a
TESTS_ENVIRONMENT = LIBPNG_TREE=$(LIBPNG_TREE)
check_PROGRAMS = pngtest
dist_check_SCRIPTS = libpng.test
endif build
TESTS = libpng.test
nodist_libpng_a_SOURCES = \
$(LIBPNG_TREE)/png.c \
$(LIBPNG_TREE)/pngset.c \
$(LIBPNG_TREE)/pngget.c \
$(LIBPNG_TREE)/pngrutil.c \
$(LIBPNG_TREE)/pngtrans.c \
$(LIBPNG_TREE)/pngwutil.c \
$(LIBPNG_TREE)/pngread.c \
$(LIBPNG_TREE)/pngrio.c \
$(LIBPNG_TREE)/pngwio.c \
$(LIBPNG_TREE)/pngwrite.c \
$(LIBPNG_TREE)/pngrtran.c \
$(LIBPNG_TREE)/pngwtran.c \
$(LIBPNG_TREE)/pngmem.c \
$(LIBPNG_TREE)/pngerror.c \
$(LIBPNG_TREE)/pngpread.c
libpng_a_DEPENDENCIES = $(ZLIB_DEPEND)
## Rebuild zlib
@ZLIB_RULE@
CLEANFILES = pngout.png
nodist_pngtest_SOURCES = $(LIBPNG_TREE)/pngtest.c
pngtest_LDADD = libpng.a $(ZLIB_LIBS)
|