| 1 |
## Makefile.am for the TeX Live subdirectory texk/mendexk/ |
| 2 |
## |
| 3 |
## Copyright (C) 2010-2015 Peter Breitenlohner <[email protected]> |
| 4 |
## You may freely use, modify and/or distribute this file. |
| 5 |
## |
| 6 |
AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) |
| 7 |
AM_CFLAGS = $(WARNING_CFLAGS) |
| 8 |
|
| 9 |
bin_PROGRAMS = mendex |
| 10 |
|
| 11 |
mendex_SOURCES = \ |
| 12 |
convert.c \ |
| 13 |
exkana.h \ |
| 14 |
exvar.h \ |
| 15 |
fread.c \ |
| 16 |
fwrite.c \ |
| 17 |
kana.h \ |
| 18 |
kp.c \ |
| 19 |
kp.h \ |
| 20 |
ktable.h \ |
| 21 |
main.c \ |
| 22 |
mendex.h \ |
| 23 |
version.h \ |
| 24 |
pageread.c \ |
| 25 |
qsort.c \ |
| 26 |
qsort.h \ |
| 27 |
sort.c \ |
| 28 |
styfile.c \ |
| 29 |
var.h |
| 30 |
|
| 31 |
$(mendex_OBJECTS): $(KPATHSEA_DEPEND) $(PTEXENC_DEPEND) |
| 32 |
|
| 33 |
LDADD = $(PTEXENC_LIBS) $(KPATHSEA_LIBS) |
| 34 |
|
| 35 |
## Rebuild libkpathsea & libptexenc |
| 36 |
@KPATHSEA_RULE@ |
| 37 |
@PTEXENC_RULE@ |
| 38 |
|
| 39 |
dist_man1_MANS = mendex.1 |
| 40 |
|
| 41 |
EXTRA_DIST = \ |
| 42 |
COPYRIGHT \ |
| 43 |
COPYRIGHT.ja \ |
| 44 |
ChangeLog.ja |
| 45 |
|
| 46 |
## Eventually delete these files |
| 47 |
## |
| 48 |
EXTRA_DIST += \ |
| 49 |
indexsty \ |
| 50 |
mendex.ja.txt mendex.1 mendex.1.ja |
| 51 |
|
| 52 |
## Tests |
| 53 |
## |
| 54 |
TESTS = tests/mendex.test \ |
| 55 |
tests/pprec.test \ |
| 56 |
tests/nest.test \ |
| 57 |
tests/encode.test |
| 58 |
tests/mendex.log: mendex$(EXEEXT) |
| 59 |
EXTRA_DIST += $(TESTS) |
| 60 |
|
| 61 |
## tests/mendex.test |
| 62 |
EXTRA_DIST += tests/sample.idx tests/sample.ind \ |
| 63 |
tests/foo.idx tests/foo.ind \ |
| 64 |
tests/uni.idx tests/uni.dict tests/uni.ist \ |
| 65 |
tests/uni1.ist tests/uni2.ist tests/uni.ind \ |
| 66 |
tests/tort.idx tests/tortW.idx tests/head1.ist \ |
| 67 |
tests/ok-tort.ind tests/ok-tort2.ind |
| 68 |
DISTCLEANFILES = foo.* uni.* tort*.* |
| 69 |
## tests/pprec.test |
| 70 |
EXTRA_DIST += tests/range.idx \ |
| 71 |
tests/range1.ist tests/range2.ist tests/range3.ist tests/range4.ist \ |
| 72 |
tests/range1.ind tests/range2.ind tests/range3.ind tests/range4.ind \ |
| 73 |
tests/pprec0.ist tests/pprec1.ist tests/pprec2.ist tests/pprec3.ist \ |
| 74 |
tests/pprec4.ist tests/pprec5.ist tests/pprec6.ist tests/pprec7.ist \ |
| 75 |
tests/pprecA.idx tests/pprecA-0.ind tests/pprecA-1.ind tests/pprecA-2.ind \ |
| 76 |
tests/pprecB.idx tests/pprecB-0.ind tests/pprecB-3.ind tests/pprecB-4.ind \ |
| 77 |
tests/romalpA.idx tests/romalpA-5.ind tests/romalpA-6.ind \ |
| 78 |
tests/romalpB.idx tests/romalpB-5.ind tests/romalpB-6.ind tests/romalpB-7.ind \ |
| 79 |
tests/romalpC.idx tests/romalpC-5.ind \ |
| 80 |
tests/romalpD.idx tests/romalpD-5.ind tests/romalpD-6.ind tests/romalpD-7.ind |
| 81 |
DISTCLEANFILES += range*.* pprec*.* romalp*.* |
| 82 |
## tests/nest.test |
| 83 |
EXTRA_DIST += tests/nested3.ist tests/nested3.ind \ |
| 84 |
tests/toodeep.idx |
| 85 |
DISTCLEANFILES += nested*.* toodeep*.* |
| 86 |
## tests/encode.test |
| 87 |
EXTRA_DIST += tests/sjis.ist tests/euc.ist tests/jis.ist \ |
| 88 |
tests/enc-e.idx tests/enc-j.idx tests/enc-s.idx tests/enc-u.idx \ |
| 89 |
tests/enc-x.ind tests/enc.dic |
| 90 |
DISTCLEANFILES += sjis.* euc.* enc*.* |
| 91 |
|