Debian Codegraph @

texk/ptexenc/Makefile.am

raw
1 ## $Id$
2 ## Makefile.am for the TeX Live subdirectory texk/ptexenc/
3 ##
4 ## Copyright (C) 2015-2025 Karl Berry <[email protected]>
5 ## Copyright (C) 2010-2014 Peter Breitenlohner <[email protected]>
6 ## You may freely use, modify and/or distribute this file.
7 ##
8 AM_CPPFLAGS = $(PTEXENC_INCLUDES) $(KPATHSEA_INCLUDES) -DKPATHSEA -DPTEXENC
9 AM_CFLAGS = $(WARNING_CFLAGS)
10
11 lib_LTLIBRARIES = libptexenc.la
12
13 libptexenc_la_CPPFLAGS = $(AM_CPPFLAGS) -DMAKE_PTENC_DLL
14
15 libptexenc_la_LDFLAGS = -bindir @bindir@ -no-undefined -version-info $(PTEXENC_LT_VERSINFO)
16
17 # Note: jisx0208.h is a copy of ../../libs/gd/gd-2.0.35/jisx0208.h.
18 #
19 libptexenc_la_SOURCES = \
20 jisx0208.h \
21 kanjicnv.c \
22 ptexenc.c \
23 ptexenc/kanjicnv.h \
24 ptexenc/unicode-jp.h \
25 unicode-jp.c \
26 unicode.c
27
28 $(libptexenc_la_OBJECTS): $(KPATHSEA_DEPEND)
29
30 libptexenc_la_LIBADD = $(KPATHSEA_LIBS)
31
32 ## Rebuild libkpathsea
33 @KPATHSEA_RULE@
34
35 nobase_include_HEADERS = \
36 ptexenc/ptexenc.h \
37 ptexenc/unicode.h \
38 ptexenc/unicode-jp.h
39
40 pkgconfigdir = ${libdir}/pkgconfig
41
42 pkgconfig_DATA = ptexenc.pc
43
44 EXTRA_DIST = COPYRIGHT ChangeLog.jp
45
46 ## The programs
47 bin_PROGRAMS = ptekf
48 ptekf_LDADD = libptexenc.la
49 man1_MANS = ptekf.1
50
51 LDADD = $(KPATHSEA_LIBS)
52
53 ## Tests
54 #
55 TESTS = tests/ptekf-smoke.test tests/ptekf-guess.test tests/ptekf-conv.test tests/ptekf-eol.test
56 #
57 tests/ptekf-smoke.log tests/ptekf-guess.log tests/ptekf-conv.log tests/ptekf-eol.log \
58 : ptekf$(EXEEXT)
59 #
60 EXTRA_DIST += $(TESTS)
61 #
62 ## ptekf-conv.test
63 EXTRA_DIST += \
64 tests/enc-amb0.bib-euc tests/enc-amb0.bib-euc-utf8 tests/enc-amb0.bib-jis \
65 tests/enc-amb0.bib-sjis tests/enc-amb0.bib-sjis-utf8 tests/enc-amb0.bib-utf8 \
66 tests/enc-amb1.bib-euc tests/enc-amb1.bib-jis tests/enc-amb1.bib-sjis \
67 tests/enc-amb1.bib-sjis-utf8 tests/enc-amb1.bib-utf8 \
68 tests/enc-amb2.bib-euc-utf8 tests/enc-amb2.bib-sjis-utf8 \
69 tests/enc-euc.bib-utf8 tests/enc-jis.bib-utf8 tests/enc-sjis.bib-utf8 \
70 tests/enc-utf8.bib-euc tests/enc-utf8.bib-jis tests/enc-utf8.bib-sjis tests/enc-utf8.bib-utf8 \
71 tests/enc-utf8a.bib-euc tests/enc-utf8a.bib-jis tests/enc-utf8a.bib-sjis tests/enc-utf8a.bib-utf8 \
72 tests/enc-utf8b.bib-euc tests/enc-utf8b.bib-jis tests/enc-utf8b.bib-sjis tests/enc-utf8b.bib-utf8
73 DISTCLEANFILES = enc-*.bib* saza-*.txt*
74
75
76 # Rebuild
77 rebuild_prereq =
78 rebuild_target = all
79 CLEANFILES =
80
81 include $(srcdir)/../../am/rebuild.am
82