OSDN Git Service

c017b5ab399f5d5e8cf3c9134bc83ce38a09606f
[putex/putex.git] / src / texsourc / libtoua / ptexenc / Makefile.am
1 ## Makefile.am for the TeX Live subdirectory texk/ptexenc/
2 ##
3 ## Copyright (C) 2010-2013 Peter Breitenlohner <tex-live@tug.org>
4 ## You may freely use, modify and/or distribute this file.
5 ##
6 ACLOCAL_AMFLAGS = -I ../../m4
7
8 AM_CPPFLAGS = $(KPATHSEA_INCLUDES)
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
39 EXTRA_DIST = COPYRIGHT ChangeLog.jp
40
41 # Rebuild
42 rebuild_prereq =
43 rebuild_target = all
44 CLEANFILES =
45
46 include $(srcdir)/../../am/rebuild.am
47