summaryrefslogtreecommitdiff
path: root/Build/source/texk/ptexenc/Makefile.am
blob: 3c0adc35afe2ab4905fe0e536c00ffda95658984 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
## Makefile.am for the TeX Live subdirectory texk/ptexenc/
##
## Copyright (C) 2010-2012 Peter Breitenlohner <tex-live@tug.org>
## You may freely use, modify and/or distribute this file.
##
ACLOCAL_AMFLAGS = -I ../../m4

# Rebuild
.PHONY: rebuild
rebuild: all

AM_CPPFLAGS = $(KPATHSEA_INCLUDES)
AM_CFLAGS = $(WARNING_CFLAGS)

lib_LTLIBRARIES = libptexenc.la

libptexenc_la_CPPFLAGS = $(AM_CPPFLAGS) -DMAKE_PTENC_DLL

libptexenc_la_LDFLAGS = -no-undefined -version-info $(PTEXENC_LT_VERSINFO)

# Note: jisx0208.h is a copy of ../../libs/gd/gd-2.0.35/jisx0208.h.
#
libptexenc_la_SOURCES = \
	jisx0208.h \
	kanjicnv.c \
	ptexenc.c \
	ptexenc/kanjicnv.h \
	ptexenc/unicode-jp.h \
	unicode-jp.c \
	unicode.c

$(libptexenc_la_OBJECTS): $(KPATHSEA_DEPEND)

libptexenc_la_LIBADD = $(KPATHSEA_LIBS)

## Rebuild libkpathsea
@KPATHSEA_RULE@

nobase_include_HEADERS = \
	ptexenc/ptexenc.h \
	ptexenc/unicode.h

EXTRA_DIST = COPYRIGHT ChangeLog.jp