| 1 |
## $Id: Makefile.am 77343 2026-01-12 02:21:43Z takuji $ |
| 2 |
## Makefile.am for the TeX Live subdirectory texk/upmendex/ |
| 3 |
## |
| 4 |
## Copyright 2015-2019 Karl Berry <[email protected]> |
| 5 |
## Copyright 2010-2015 Peter Breitenlohner <[email protected]> |
| 6 |
## You may freely use, modify and/or distribute this file. |
| 7 |
## |
| 8 |
AM_CPPFLAGS = $(KPATHSEA_INCLUDES) $(ICU_INCLUDES) |
| 9 |
AM_CFLAGS = $(WARNING_CFLAGS) |
| 10 |
|
| 11 |
bin_PROGRAMS = upmendex |
| 12 |
|
| 13 |
upmendex_SOURCES = \ |
| 14 |
convert.c \ |
| 15 |
exkana.h \ |
| 16 |
exvar.h \ |
| 17 |
fread.c \ |
| 18 |
fwrite.c \ |
| 19 |
kana.h \ |
| 20 |
kp.c \ |
| 21 |
kp.h \ |
| 22 |
main.c \ |
| 23 |
mendex.h \ |
| 24 |
version.h \ |
| 25 |
pageread.c \ |
| 26 |
qsort.c \ |
| 27 |
qsort.h \ |
| 28 |
sort.c \ |
| 29 |
styfile.c \ |
| 30 |
var.h |
| 31 |
|
| 32 |
# Force Automake to use CXXLD for linking |
| 33 |
nodist_EXTRA_upmendex_SOURCES = dummy.cxx |
| 34 |
|
| 35 |
$(upmendex_OBJECTS): $(KPATHSEA_DEPEND) $(ICU_DEPEND) |
| 36 |
|
| 37 |
LDADD = $(KPATHSEA_LIBS) $(ICU_LIBS) $(PTHREAD_LIB) $(ICU_LIBS_EXTRA) |
| 38 |
|
| 39 |
## Rebuild libkpathsea |
| 40 |
@KPATHSEA_RULE@ |
| 41 |
## Rebuild libsicuxxx |
| 42 |
@ICU_RULE@ |
| 43 |
|
| 44 |
EXTRA_DIST = \ |
| 45 |
COPYRIGHT |
| 46 |
|
| 47 |
## Eventually delete these files |
| 48 |
## |
| 49 |
EXTRA_DIST += \ |
| 50 |
indexsty \ |
| 51 |
upmendex.ja.txt |
| 52 |
|
| 53 |
## Tests |
| 54 |
## |
| 55 |
TESTS = tests/upmendex.test \ |
| 56 |
tests/pprec.test \ |
| 57 |
tests/nest.test \ |
| 58 |
tests/icu.test |
| 59 |
EXTRA_DIST += $(TESTS) |
| 60 |
|
| 61 |
## tests/upmendex.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/nested.ist tests/nested.ind \ |
| 85 |
tests/toodeep.idx |
| 86 |
DISTCLEANFILES += nested*.* toodeep*.* |
| 87 |
## tests/icu.test |
| 88 |
EXTRA_DIST += tests/locale1.ist tests/locale2.ist tests/locale3.ist tests/rule.idx \ |
| 89 |
tests/attr1.ist tests/attr1.ind tests/locale1.ind \ |
| 90 |
tests/locale2-rule.ind tests/locale3-rule.ind \ |
| 91 |
tests/rule1.ist tests/rule2.ist tests/rule3.ist tests/rule4.ist rule.ind |
| 92 |
DISTCLEANFILES += locale*.* attr*.* rule*.* |