## Proxy Makefile.am to build t1lib for TeX Live. ## ## Copyright (C) 2009, 2010 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 # Rebuild .PHONY: rebuild rebuild: all ## We want to re-distribute the whole original t1lib 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 $(T1LIB_TREE). EXTRA_DIST = $(T1LIB_TREE) ## Changes applied to the original source tree ## EXTRA_DIST += $(T1LIB_TREE)-PATCHES # in case of an SVN repository dist-hook: rm -rf `find $(distdir) -name .svn` rm -f $(distdir)/$(T1LIB_TREE)/ac-tools/config.guess \ $(distdir)/$(T1LIB_TREE)/ac-tools/config.sub \ $(distdir)/$(T1LIB_TREE)/ac-tools/install-sh \ $(distdir)/$(T1LIB_TREE)/ac-tools/ltmain.sh \ $(distdir)/$(T1LIB_TREE)/ac-tools/mkinstalldirs \ $(distdir)/$(T1LIB_TREE)/lib/t1lib/t1lib.h INCLUDES = -Ilib -I$(top_srcdir)/$(T1LIB_TREE) AM_CPPFLAGS = $(T1LIB_DEFINES) AM_CPPFLAGS += -DT1LIB_IDENT=\"@T1LIB_VERSIONSTRING@\" AM_CPPFLAGS += -DGLOBAL_CONFIG_DIR=\"@T1LIB_DATA_DIR@\" AM_CFLAGS = $(T1LIB_CFLAGS) LDADD = libt1.a noinst_LIBRARIES = libt1.a nodist_libt1_a_SOURCES = $(lib_t1lib_sources) $(lib_type1_sources) lib_t1lib_sources = \ $(T1LIB_TREE)/lib/t1lib/parseAFM.c \ $(T1LIB_TREE)/lib/t1lib/parseAFM.h \ $(T1LIB_TREE)/lib/t1lib/t1aaset.c \ $(T1LIB_TREE)/lib/t1lib/t1aaset.h \ $(T1LIB_TREE)/lib/t1lib/t1afmtool.c \ $(T1LIB_TREE)/lib/t1lib/t1afmtool.h \ $(T1LIB_TREE)/lib/t1lib/t1base.c \ $(T1LIB_TREE)/lib/t1lib/t1base.h \ $(T1LIB_TREE)/lib/t1lib/t1delete.c \ $(T1LIB_TREE)/lib/t1lib/t1delete.h \ $(T1LIB_TREE)/lib/t1lib/t1enc.c \ $(T1LIB_TREE)/lib/t1lib/t1enc.h \ $(T1LIB_TREE)/lib/t1lib/t1env.c \ $(T1LIB_TREE)/lib/t1lib/t1env.h \ $(T1LIB_TREE)/lib/t1lib/t1extern.h \ $(T1LIB_TREE)/lib/t1lib/t1finfo.c \ $(T1LIB_TREE)/lib/t1lib/t1finfo.h \ $(T1LIB_TREE)/lib/t1lib/t1global.h \ $(T1LIB_TREE)/lib/t1lib/t1load.c \ $(T1LIB_TREE)/lib/t1lib/t1load.h \ $(T1LIB_TREE)/lib/t1lib/t1misc.h \ $(T1LIB_TREE)/lib/t1lib/t1outline.c \ $(T1LIB_TREE)/lib/t1lib/t1outline.h \ $(T1LIB_TREE)/lib/t1lib/t1set.c \ $(T1LIB_TREE)/lib/t1lib/t1set.h \ $(T1LIB_TREE)/lib/t1lib/t1subset.c \ $(T1LIB_TREE)/lib/t1lib/t1subset.h \ $(T1LIB_TREE)/lib/t1lib/t1trans.c \ $(T1LIB_TREE)/lib/t1lib/t1trans.h \ $(T1LIB_TREE)/lib/t1lib/t1types.h lib_t1lib_generated = \ lib/t1lib/sysconf.h \ lib/t1lib/t1lib.h lib_t1lib_unused = \ $(T1LIB_TREE)/lib/t1lib/t1libx.h \ $(T1LIB_TREE)/lib/t1lib/t1x11.c \ $(T1LIB_TREE)/lib/t1lib/t1x11.h \ $(T1LIB_TREE)/lib/type1/t1intf.h lib_type1_sources = \ $(T1LIB_TREE)/lib/type1/Xstuff.h \ $(T1LIB_TREE)/lib/type1/arith.c \ $(T1LIB_TREE)/lib/type1/arith.h \ $(T1LIB_TREE)/lib/type1/blues.h \ $(T1LIB_TREE)/lib/type1/cluts.h \ $(T1LIB_TREE)/lib/type1/curves.c \ $(T1LIB_TREE)/lib/type1/curves.h \ $(T1LIB_TREE)/lib/type1/digit.h \ $(T1LIB_TREE)/lib/type1/ffilest.h \ $(T1LIB_TREE)/lib/type1/font.h \ $(T1LIB_TREE)/lib/type1/fontfcn.c \ $(T1LIB_TREE)/lib/type1/fontfcn.h \ $(T1LIB_TREE)/lib/type1/fontfile.h \ $(T1LIB_TREE)/lib/type1/fontmisc.h \ $(T1LIB_TREE)/lib/type1/fonts.h \ $(T1LIB_TREE)/lib/type1/fontstruct.h \ $(T1LIB_TREE)/lib/type1/fontxlfd.h \ $(T1LIB_TREE)/lib/type1/fsmasks.h \ $(T1LIB_TREE)/lib/type1/hdigit.h \ $(T1LIB_TREE)/lib/type1/hints.c \ $(T1LIB_TREE)/lib/type1/hints.h \ $(T1LIB_TREE)/lib/type1/lines.c \ $(T1LIB_TREE)/lib/type1/lines.h \ $(T1LIB_TREE)/lib/type1/objects.c \ $(T1LIB_TREE)/lib/type1/objects.h \ $(T1LIB_TREE)/lib/type1/paths.c \ $(T1LIB_TREE)/lib/type1/paths.h \ $(T1LIB_TREE)/lib/type1/paths_rmz.h \ $(T1LIB_TREE)/lib/type1/pictures.h \ $(T1LIB_TREE)/lib/type1/regions.c \ $(T1LIB_TREE)/lib/type1/regions.h \ $(T1LIB_TREE)/lib/type1/scanfont.c \ $(T1LIB_TREE)/lib/type1/spaces.c \ $(T1LIB_TREE)/lib/type1/spaces.h \ $(T1LIB_TREE)/lib/type1/spaces_rmz.h \ $(T1LIB_TREE)/lib/type1/strokes.h \ $(T1LIB_TREE)/lib/type1/t1hdigit.h \ $(T1LIB_TREE)/lib/type1/t1imager.h \ $(T1LIB_TREE)/lib/type1/t1io.c \ $(T1LIB_TREE)/lib/type1/t1snap.c \ $(T1LIB_TREE)/lib/type1/t1stdio.h \ $(T1LIB_TREE)/lib/type1/t1stub.c \ $(T1LIB_TREE)/lib/type1/token.c \ $(T1LIB_TREE)/lib/type1/token.h \ $(T1LIB_TREE)/lib/type1/tokst.h \ $(T1LIB_TREE)/lib/type1/trig.h \ $(T1LIB_TREE)/lib/type1/type1.c \ $(T1LIB_TREE)/lib/type1/types.h \ $(T1LIB_TREE)/lib/type1/util.c \ $(T1LIB_TREE)/lib/type1/util.h lib_type1_unused = \ $(T1LIB_TREE)/lib/type1/bstring.c \ $(T1LIB_TREE)/lib/type1/t1intf.h if build check_PROGRAMS = type1afm dist_check_SCRIPTS = type1afm.test TESTS = type1afm.test endif build nodist_type1afm_SOURCES = $(T1LIB_TREE)/type1afm/type1afm.c EXTRA_DIST += l047016t.pfa l047016t.xafm CLEANFILES = l047016t.afmx x047016t.afm x047016t.pfa