| 1 |
## Makefile.am for the TeX Live subdirectory texk/ttf2pk2/ |
| 2 |
## |
| 3 |
## Copyright (C) 2011-2015 Peter Breitenlohner <[email protected]> |
| 4 |
## You may freely use, modify and/or distribute this file. |
| 5 |
## |
| 6 |
AM_CPPFLAGS = -I$(top_srcdir)/include $(KPATHSEA_INCLUDES) $(FREETYPE2_INCLUDES) |
| 7 |
AM_CPPFLAGS += -DHAVE_LIBKPATHSEA |
| 8 |
AM_CFLAGS = $(WARNING_CFLAGS) |
| 9 |
|
| 10 |
bin_PROGRAMS = ttf2pk ttf2tfm |
| 11 |
|
| 12 |
common_sources = \ |
| 13 |
errormsg.c \ |
| 14 |
errormsg.h \ |
| 15 |
filesrch.c \ |
| 16 |
filesrch.h \ |
| 17 |
ftlib.c \ |
| 18 |
ftlib.h \ |
| 19 |
ligkern.c \ |
| 20 |
ligkern.h \ |
| 21 |
newobj.c \ |
| 22 |
newobj.h \ |
| 23 |
parse.c \ |
| 24 |
parse.h \ |
| 25 |
subfont.c \ |
| 26 |
subfont.h \ |
| 27 |
texenc.c \ |
| 28 |
texenc.h \ |
| 29 |
ttfenc.c \ |
| 30 |
ttfenc.h |
| 31 |
|
| 32 |
ttf2pk_SOURCES = \ |
| 33 |
$(common_sources) \ |
| 34 |
pklib.c \ |
| 35 |
pklib.h \ |
| 36 |
ttf2pk.c \ |
| 37 |
ttflib.c \ |
| 38 |
ttflib.h |
| 39 |
|
| 40 |
ttf2tfm_SOURCES = \ |
| 41 |
$(common_sources) \ |
| 42 |
case.c \ |
| 43 |
case.h \ |
| 44 |
tfmaux.c \ |
| 45 |
tfmaux.h \ |
| 46 |
ttf2tfm.c \ |
| 47 |
ttf2tfm.h \ |
| 48 |
ttfaux.c \ |
| 49 |
ttfaux.h \ |
| 50 |
vplaux.c \ |
| 51 |
vplaux.h |
| 52 |
|
| 53 |
$(ttf2pk_OBJECTS) $(ttf2tfm_OBJECTS): config.force |
| 54 |
|
| 55 |
config.force: $(KPATHSEA_DEPEND) $(FREETYPE2_DEPEND) |
| 56 |
echo timestamp >config.force |
| 57 |
$(SHELL) ./config.status --recheck |
| 58 |
|
| 59 |
DISTCLEANFILES = config.force |
| 60 |
|
| 61 |
LDADD = $(KPATHSEA_LIBS) $(FREETYPE2_LIBS) $(ZLIB_LIBS) |
| 62 |
|
| 63 |
## Rebuild libkpathsea |
| 64 |
@KPATHSEA_RULE@ |
| 65 |
## Rebuild libfreetype |
| 66 |
@FREETYPE2_RULE@ |
| 67 |
|
| 68 |
dist_man1_MANS = ttf2pk.1 ttf2tfm.1 |
| 69 |
|
| 70 |
## Data |
| 71 |
## |
| 72 |
cfgdatadir = $(datarootdir)/texmf-dist/ttf2pk |
| 73 |
dist_cfgdata_DATA = data/VPS.rpl data/ttf2pk.cfg |
| 74 |
|
| 75 |
encdatadir = $(datarootdir)/texmf-dist/fonts/enc/ttf2pk/base |
| 76 |
dist_encdata_DATA = data/T1-WGL4.enc |
| 77 |
|
| 78 |
mapdatadir = $(datarootdir)/texmf-dist/source/fonts/zhmetrics |
| 79 |
dist_mapdata_DATA = data/ttfonts.map |
| 80 |
|
| 81 |
sfddatadir = $(datarootdir)/texmf-dist/fonts/sfd/ttf2pk |
| 82 |
dist_sfddata_DATA = \ |
| 83 |
data/Big5.sfd \ |
| 84 |
data/EUC.sfd \ |
| 85 |
data/HKSCS.sfd \ |
| 86 |
data/KS-HLaTeX.sfd \ |
| 87 |
data/SJIS.sfd \ |
| 88 |
data/UBg5plus.sfd \ |
| 89 |
data/UBig5.sfd \ |
| 90 |
data/UGB.sfd \ |
| 91 |
data/UGBK.sfd \ |
| 92 |
data/UJIS.sfd \ |
| 93 |
data/UKS-HLaTeX.sfd \ |
| 94 |
data/UKS.sfd \ |
| 95 |
data/Unicode.sfd |
| 96 |
|
| 97 |
## Tests. |
| 98 |
## |
| 99 |
TESTS = tests/ttf2pk.test |
| 100 |
tests/ttf2pk.log: ttf2pk$(EXEEXT) ttf2tfm$(EXEEXT) |
| 101 |
EXTRA_DIST = $(TESTS) |
| 102 |
## tests/ttf2pk.test |
| 103 |
EXTRA_DIST += tests/GenR102.ttf tests/gentium-ec.enc tests/ttf2pk.cfg \ |
| 104 |
tests/GenR102-ec.map tests/GenR102-h.map tests/GenR102-v.map \ |
| 105 |
tests/GenR-ec.vpl tests/GenR102-ec.pl \ |
| 106 |
tests/Test.sfd tests/ipaexg.ttf tests/ipaexg-h.map tests/ipaexg-h03.pl \ |
| 107 |
tests/ipaexg-v.map tests/ipaexg-v03.pl |
| 108 |
DISTCLEANFILES += GenR-ec.vpl GenR102-* ipaexg-* |
| 109 |
|
| 110 |
## Not used |
| 111 |
## |
| 112 |
EXTRA_DIST += \ |
| 113 |
BUGS \ |
| 114 |
MakeSub.in \ |
| 115 |
Makefile.dm \ |
| 116 |
dvidrv.btm \ |
| 117 |
dvidrv.doc \ |
| 118 |
emdir.c \ |
| 119 |
emdir.h \ |
| 120 |
emtexdir.c \ |
| 121 |
emtexdir.h \ |
| 122 |
ttf2pk.doc |
| 123 |
|