## Proxy Makefile.am to build potrace for TeX Live. ## ## Copyright (C) 2013 Peter Breitenlohner ## ## 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