summaryrefslogtreecommitdiff
path: root/Build/source/libs/potrace/Makefile.am
blob: cabbcfa0ed1319b0f4a01bf282dd9554d4e290bd (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
## Proxy Makefile.am to build potrace for TeX Live.
##
##   Copyright (C) 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 potrace source tree.
##
EXTRA_DIST = $(POTRACE_TREE)

## Changes applied to the original source tree
##
EXTRA_DIST += $(POTRACE_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)'`

SUBDIRS = . include

AM_CPPFLAGS = -I$(top_srcdir)/$(POTRACE_TREE)/src

noinst_LIBRARIES = libpotrace.a

libpotrace_a_SOURCES = \
	@POTRACE_TREE@/src/auxiliary.h \
	@POTRACE_TREE@/src/bitmap.h \
	@POTRACE_TREE@/src/curve.c \
	@POTRACE_TREE@/src/curve.h \
	@POTRACE_TREE@/src/decompose.c \
	@POTRACE_TREE@/src/decompose.h \
	@POTRACE_TREE@/src/lists.h \
	@POTRACE_TREE@/src/potracelib.c \
	@POTRACE_TREE@/src/potracelib.h \
	@POTRACE_TREE@/src/progress.h \
	@POTRACE_TREE@/src/trace.c \
	@POTRACE_TREE@/src/trace.h

if build
check_PROGRAMS = potracetst
dist_check_SCRIPTS = potrace.test
TESTS = potrace.test
endif build

potracetst_SOURCES = potracetst.c

potracetst_CPPFLAGS = -Iinclude

LDADD = libpotrace.a

# Rebuild
rebuild_prereq =
rebuild_target = all
CLEANFILES =

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