beta-0.89.2
[luatex.git] / source / libs / pixman / Makefile.am
blob0a0bc589ae3a75bba6365a577bff5d53c7406f6f
1 ## Proxy Makefile.am to build pixman for TeX Live.
2 ##
3 ##   Copyright (C) 2016 Karl Berry <tex-live@tug.org>
4 ##   Copyright (C) 2012-2015 Peter Breitenlohner <tex-live@tug.org>
5 ##   Copyright (C) 2012 Taco Hoekwater <taco@metatex.org>
6 ##
7 ##   This file is free software; the copyright holder
8 ##   gives unlimited permission to copy and/or distribute it,
9 ##   with or without modifications, as long as this notice is preserved.
11 ## We want to re-distribute the whole pixman source tree.
13 EXTRA_DIST = $(PIXMAN_TREE)
15 ## Changes applied to the original source tree
17 EXTRA_DIST += pixman-PATCHES
19 PIXMAN_SRC = $(PIXMAN_TREE)/pixman
21 # Files not to be distributed
22 include $(srcdir)/../../am/dist_hook.am
23 NEVER_NAMES += $(NEVER_NAMES_SUB)
25 SUBDIRS = . include
27 AM_CPPFLAGS = -I$(top_srcdir)/$(PIXMAN_SRC)
28 AM_CFLAGS = $(VISIBILITY_CFLAGS) # $(WARNING_CFLAGS)
30 noinst_LIBRARIES = libpixman.a
32 include $(srcdir)/sources.am
34 libpixman_a_SOURCES = $(libpixman_sources) $(libpixman_headers)
36 if build
37 check_PROGRAMS = pixtest
38 dist_check_SCRIPTS = pixman.test
39 TESTS = pixman.test
40 endif build
41 pixman.log: pixtest$(EXEEXT)
43 pixtest_SOURCES = pixtest.c
45 pixtest_CPPFLAGS = -Iinclude
47 LDADD = libpixman.a
49 # Rebuild
50 rebuild_prereq =
51 rebuild_target = all
52 CLEANFILES =
54 include $(srcdir)/../../am/rebuild.am