~ubuntu-branches/ubuntu/utopic/texlive-bin/utopic

« back to all changes in this revision

Viewing changes to libs/t1lib/Makefile.am

  • Committer: Package Import Robot
  • Author(s): Norbert Preining
  • Date: 2012-04-10 10:16:01 UTC
  • mfrom: (1.2.3)
  • Revision ID: package-import@ubuntu.com-20120410101601-7mt8nyn280xrgza6
Tags: 2011.20120410-1
* new upstream checkout:
  - remove decls of popen and pclose (Closes: #64524) (!yow, 5 digit bug!)
  - do not declare getopt in C++, fixes FTBFS with g++ >= 4.7 
    (Closes: #667392)
* add patches (maybe to be included upstream) that allows inclusion of
  one config file in another for (x)dvipdfmx. This will be
  used by the paper code.
* fix description of libptexenc-dev package (Closes: #667694)
* remove xdvik patch, included upstream
* remove conflict with ptex-bin, we are building a transitional package now
* build with internal t1lib, as t1lib is going to disappear in
  wheezy (Closes: #667912) (no, dropping xdvi is not an option!)
  (add a lintian override otherwise this gives a lintian error)

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
## Proxy Makefile.am to build t1lib for TeX Live.
 
2
##
 
3
##   Copyright (C) 2009-2011 Peter Breitenlohner <tex-live@tug.org>
 
4
##
 
5
##   This file is free software; the copyright holder
 
6
##   gives unlimited permission to copy and/or distribute it,
 
7
##   with or without modifications, as long as this notice is preserved.
 
8
##
 
9
ACLOCAL_AMFLAGS = -I ../../m4
 
10
 
 
11
# Rebuild
 
12
.PHONY: rebuild
 
13
rebuild: all
 
14
 
 
15
## We want to re-distribute the whole original t1lib source tree.
 
16
##
 
17
## With current automake (1.10.2) 'make distcheck' fails when
 
18
## DISTFILES contains a directory and files in that directory.
 
19
## Thus nodist_* for all files in $(T1LIB_TREE).
 
20
EXTRA_DIST = $(T1LIB_TREE)
 
21
 
 
22
## Changes applied to the original source tree
 
23
##
 
24
EXTRA_DIST += $(T1LIB_TREE)-PATCHES
 
25
 
 
26
# in case of an SVN repository
 
27
dist-hook:
 
28
        rm -rf `find $(distdir) -name .svn`
 
29
        rm -f $(distdir)/$(T1LIB_TREE)/ac-tools/config.guess \
 
30
          $(distdir)/$(T1LIB_TREE)/ac-tools/config.sub \
 
31
          $(distdir)/$(T1LIB_TREE)/ac-tools/install-sh \
 
32
          $(distdir)/$(T1LIB_TREE)/ac-tools/ltmain.sh \
 
33
          $(distdir)/$(T1LIB_TREE)/ac-tools/mkinstalldirs \
 
34
          $(distdir)/$(T1LIB_TREE)/lib/t1lib/t1lib.h
 
35
 
 
36
INCLUDES = -Ilib -I$(top_srcdir)/$(T1LIB_TREE)
 
37
AM_CPPFLAGS = $(T1LIB_DEFINES)
 
38
AM_CPPFLAGS += -DT1LIB_IDENT=\"@T1LIB_VERSIONSTRING@\"
 
39
AM_CPPFLAGS += -DGLOBAL_CONFIG_DIR=\"@T1LIB_DATA_DIR@\"
 
40
 
 
41
AM_CFLAGS = $(T1LIB_CFLAGS) # $(WARNING_CFLAGS)
 
42
 
 
43
LDADD = libt1.a
 
44
 
 
45
noinst_LIBRARIES = libt1.a
 
46
 
 
47
nodist_libt1_a_SOURCES = $(lib_t1lib_sources) $(lib_type1_sources)
 
48
 
 
49
lib_t1lib_sources = \
 
50
        $(T1LIB_TREE)/lib/t1lib/parseAFM.c \
 
51
        $(T1LIB_TREE)/lib/t1lib/parseAFM.h \
 
52
        $(T1LIB_TREE)/lib/t1lib/t1aaset.c \
 
53
        $(T1LIB_TREE)/lib/t1lib/t1aaset.h \
 
54
        $(T1LIB_TREE)/lib/t1lib/t1afmtool.c \
 
55
        $(T1LIB_TREE)/lib/t1lib/t1afmtool.h \
 
56
        $(T1LIB_TREE)/lib/t1lib/t1base.c \
 
57
        $(T1LIB_TREE)/lib/t1lib/t1base.h \
 
58
        $(T1LIB_TREE)/lib/t1lib/t1delete.c \
 
59
        $(T1LIB_TREE)/lib/t1lib/t1delete.h \
 
60
        $(T1LIB_TREE)/lib/t1lib/t1enc.c \
 
61
        $(T1LIB_TREE)/lib/t1lib/t1enc.h \
 
62
        $(T1LIB_TREE)/lib/t1lib/t1env.c \
 
63
        $(T1LIB_TREE)/lib/t1lib/t1env.h \
 
64
        $(T1LIB_TREE)/lib/t1lib/t1extern.h \
 
65
        $(T1LIB_TREE)/lib/t1lib/t1finfo.c \
 
66
        $(T1LIB_TREE)/lib/t1lib/t1finfo.h \
 
67
        $(T1LIB_TREE)/lib/t1lib/t1global.h \
 
68
        $(T1LIB_TREE)/lib/t1lib/t1load.c \
 
69
        $(T1LIB_TREE)/lib/t1lib/t1load.h \
 
70
        $(T1LIB_TREE)/lib/t1lib/t1misc.h \
 
71
        $(T1LIB_TREE)/lib/t1lib/t1outline.c \
 
72
        $(T1LIB_TREE)/lib/t1lib/t1outline.h \
 
73
        $(T1LIB_TREE)/lib/t1lib/t1set.c \
 
74
        $(T1LIB_TREE)/lib/t1lib/t1set.h \
 
75
        $(T1LIB_TREE)/lib/t1lib/t1subset.c \
 
76
        $(T1LIB_TREE)/lib/t1lib/t1subset.h \
 
77
        $(T1LIB_TREE)/lib/t1lib/t1trans.c \
 
78
        $(T1LIB_TREE)/lib/t1lib/t1trans.h \
 
79
        $(T1LIB_TREE)/lib/t1lib/t1types.h
 
80
 
 
81
lib_t1lib_generated = \
 
82
        lib/t1lib/sysconf.h \
 
83
        lib/t1lib/t1lib.h
 
84
 
 
85
lib_t1lib_unused = \
 
86
        $(T1LIB_TREE)/lib/t1lib/t1libx.h \
 
87
        $(T1LIB_TREE)/lib/t1lib/t1x11.c \
 
88
        $(T1LIB_TREE)/lib/t1lib/t1x11.h \
 
89
        $(T1LIB_TREE)/lib/type1/t1intf.h
 
90
 
 
91
lib_type1_sources = \
 
92
        $(T1LIB_TREE)/lib/type1/Xstuff.h \
 
93
        $(T1LIB_TREE)/lib/type1/arith.c \
 
94
        $(T1LIB_TREE)/lib/type1/arith.h \
 
95
        $(T1LIB_TREE)/lib/type1/blues.h \
 
96
        $(T1LIB_TREE)/lib/type1/cluts.h \
 
97
        $(T1LIB_TREE)/lib/type1/curves.c \
 
98
        $(T1LIB_TREE)/lib/type1/curves.h \
 
99
        $(T1LIB_TREE)/lib/type1/digit.h \
 
100
        $(T1LIB_TREE)/lib/type1/ffilest.h \
 
101
        $(T1LIB_TREE)/lib/type1/font.h \
 
102
        $(T1LIB_TREE)/lib/type1/fontfcn.c \
 
103
        $(T1LIB_TREE)/lib/type1/fontfcn.h \
 
104
        $(T1LIB_TREE)/lib/type1/fontfile.h \
 
105
        $(T1LIB_TREE)/lib/type1/fontmisc.h \
 
106
        $(T1LIB_TREE)/lib/type1/fonts.h \
 
107
        $(T1LIB_TREE)/lib/type1/fontstruct.h \
 
108
        $(T1LIB_TREE)/lib/type1/fontxlfd.h \
 
109
        $(T1LIB_TREE)/lib/type1/fsmasks.h \
 
110
        $(T1LIB_TREE)/lib/type1/hdigit.h \
 
111
        $(T1LIB_TREE)/lib/type1/hints.c \
 
112
        $(T1LIB_TREE)/lib/type1/hints.h \
 
113
        $(T1LIB_TREE)/lib/type1/lines.c \
 
114
        $(T1LIB_TREE)/lib/type1/lines.h \
 
115
        $(T1LIB_TREE)/lib/type1/objects.c \
 
116
        $(T1LIB_TREE)/lib/type1/objects.h \
 
117
        $(T1LIB_TREE)/lib/type1/paths.c \
 
118
        $(T1LIB_TREE)/lib/type1/paths.h \
 
119
        $(T1LIB_TREE)/lib/type1/paths_rmz.h \
 
120
        $(T1LIB_TREE)/lib/type1/pictures.h \
 
121
        $(T1LIB_TREE)/lib/type1/regions.c \
 
122
        $(T1LIB_TREE)/lib/type1/regions.h \
 
123
        $(T1LIB_TREE)/lib/type1/scanfont.c \
 
124
        $(T1LIB_TREE)/lib/type1/spaces.c \
 
125
        $(T1LIB_TREE)/lib/type1/spaces.h \
 
126
        $(T1LIB_TREE)/lib/type1/spaces_rmz.h \
 
127
        $(T1LIB_TREE)/lib/type1/strokes.h \
 
128
        $(T1LIB_TREE)/lib/type1/t1hdigit.h \
 
129
        $(T1LIB_TREE)/lib/type1/t1imager.h \
 
130
        $(T1LIB_TREE)/lib/type1/t1io.c \
 
131
        $(T1LIB_TREE)/lib/type1/t1snap.c \
 
132
        $(T1LIB_TREE)/lib/type1/t1stdio.h \
 
133
        $(T1LIB_TREE)/lib/type1/t1stub.c \
 
134
        $(T1LIB_TREE)/lib/type1/token.c \
 
135
        $(T1LIB_TREE)/lib/type1/token.h \
 
136
        $(T1LIB_TREE)/lib/type1/tokst.h \
 
137
        $(T1LIB_TREE)/lib/type1/trig.h \
 
138
        $(T1LIB_TREE)/lib/type1/type1.c \
 
139
        $(T1LIB_TREE)/lib/type1/types.h \
 
140
        $(T1LIB_TREE)/lib/type1/util.c \
 
141
        $(T1LIB_TREE)/lib/type1/util.h
 
142
 
 
143
lib_type1_unused = \
 
144
        $(T1LIB_TREE)/lib/type1/bstring.c \
 
145
        $(T1LIB_TREE)/lib/type1/t1intf.h
 
146
 
 
147
if build
 
148
check_PROGRAMS = type1afm
 
149
dist_check_SCRIPTS = type1afm.test
 
150
TESTS = type1afm.test
 
151
endif build
 
152
 
 
153
nodist_type1afm_SOURCES = $(T1LIB_TREE)/type1afm/type1afm.c
 
154
 
 
155
EXTRA_DIST += l047016t.pfa l047016t.xafm
 
156
 
 
157
CLEANFILES = l047016t.afmx x047016t.afm x047016t.pfa
 
158