summaryrefslogtreecommitdiff
path: root/Build/source/libs/t1lib/Makefile.am
blob: 41db057ea67851f9a836fb6e126ce31ae7484ad8 (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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
## Proxy Makefile.am to build t1lib for TeX Live.
##
##   Copyright (C) 2009-2012 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

# 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

AM_CPPFLAGS = -Ilib -I$(top_srcdir)/$(T1LIB_TREE) $(T1LIB_DEFINES)
AM_CPPFLAGS += -DT1LIB_IDENT=\"@T1LIB_VERSIONSTRING@\"
AM_CPPFLAGS += -DGLOBAL_CONFIG_DIR=\"@T1LIB_DATA_DIR@\"

AM_CFLAGS = $(T1LIB_CFLAGS) # $(WARNING_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