diff options
Diffstat (limited to 'Build/source/libs/t1lib/Makefile.am')
-rw-r--r-- | Build/source/libs/t1lib/Makefile.am | 83 |
1 files changed, 83 insertions, 0 deletions
diff --git a/Build/source/libs/t1lib/Makefile.am b/Build/source/libs/t1lib/Makefile.am new file mode 100644 index 00000000000..5e462965123 --- /dev/null +++ b/Build/source/libs/t1lib/Makefile.am @@ -0,0 +1,83 @@ +## Proxy Makefile.am to build t1lib 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 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) + +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 + +if build + +noinst_LIBRARIES = libt1.a + +endif build + +nodist_libt1_a_SOURCES = $(lib_t1lib_sources) $(lib_type1_sources) + +lib_t1lib_sources = \ + $(T1LIB_TREE)/lib/t1lib/parseAFM.c \ + $(T1LIB_TREE)/lib/t1lib/t1aaset.c \ + $(T1LIB_TREE)/lib/t1lib/t1afmtool.c \ + $(T1LIB_TREE)/lib/t1lib/t1base.c \ + $(T1LIB_TREE)/lib/t1lib/t1delete.c \ + $(T1LIB_TREE)/lib/t1lib/t1enc.c \ + $(T1LIB_TREE)/lib/t1lib/t1env.c \ + $(T1LIB_TREE)/lib/t1lib/t1finfo.c \ + $(T1LIB_TREE)/lib/t1lib/t1load.c \ + $(T1LIB_TREE)/lib/t1lib/t1outline.c \ + $(T1LIB_TREE)/lib/t1lib/t1set.c \ + $(T1LIB_TREE)/lib/t1lib/t1subset.c \ + $(T1LIB_TREE)/lib/t1lib/t1trans.c + +lib_type1_sources = \ + $(T1LIB_TREE)/lib/type1/arith.c \ + $(T1LIB_TREE)/lib/type1/bstring.c \ + $(T1LIB_TREE)/lib/type1/curves.c \ + $(T1LIB_TREE)/lib/type1/fontfcn.c \ + $(T1LIB_TREE)/lib/type1/hints.c \ + $(T1LIB_TREE)/lib/type1/lines.c \ + $(T1LIB_TREE)/lib/type1/objects.c \ + $(T1LIB_TREE)/lib/type1/paths.c \ + $(T1LIB_TREE)/lib/type1/regions.c \ + $(T1LIB_TREE)/lib/type1/scanfont.c \ + $(T1LIB_TREE)/lib/type1/spaces.c \ + $(T1LIB_TREE)/lib/type1/t1io.c \ + $(T1LIB_TREE)/lib/type1/t1snap.c \ + $(T1LIB_TREE)/lib/type1/t1stub.c \ + $(T1LIB_TREE)/lib/type1/token.c \ + $(T1LIB_TREE)/lib/type1/type1.c \ + $(T1LIB_TREE)/lib/type1/util.c + +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 + |