]> git.lyx.org Git - features.git/blob - src/tex2lyx/Makefile.am
Fix bug #8468: Wrong import of UTF8 CJK.
[features.git] / src / tex2lyx / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = TODO.txt tex2lyx.1in $(TEST_FILES) pch.h
4
5 #noinst_LIBRARIES = libtexparser.a
6 #
7 #libtexparser_a_SOURCES = \
8 #       Parser.cpp \
9 #       Parser.h
10 #
11 #tex2lyx_LDADD = libtexparser.a
12
13 man_MANS = tex2lyx.1
14
15 bin_PROGRAMS = tex2lyx
16
17 DEFAULT_INCLUDES = 
18
19 AM_CPPFLAGS += -DTEX2LYX $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
20         -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
21
22 TEST_FILES = \
23         test/runtests.py \
24         test/box-color-size-space-align.tex \
25         test/CJK.tex \
26         test/CJKutf8.tex \
27         test/DummyDocument.tex \
28         test/Dummy~Document.tex \
29         test/Dummy\ Document.tex \
30         test/foo.eps \
31         test/foo.png \
32         test/test-insets.tex \
33         test/test.ltx \
34         test/test-modules.tex \
35         test/test-structure.tex \
36         test/XeTeX-polyglossia.tex \
37         test/xfigtest.fig \
38         test/xfigtest.pstex \
39         test/xfigtest.pstex_t
40
41 TESTS = test/runtests.py
42 updatetests: tex2lyx
43         $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
44
45 LINKED_FILES = \
46         ../Author.cpp \
47         ../Color.cpp \
48         ../Counters.cpp \
49         ../Encoding.cpp \
50         ../FloatList.cpp \
51         ../Floating.cpp \
52         ../FontInfo.cpp \
53         ../graphics/GraphicsParams.cpp \
54         ../insets/ExternalTemplate.cpp \
55         ../insets/ExternalTransforms.cpp \
56         ../insets/InsetLayout.cpp \
57         ../LaTeXPackages.cpp \
58         ../Layout.cpp \
59         ../LayoutFile.cpp \
60         ../LayoutModuleList.cpp \
61         ../Length.cpp \
62         ../lengthcommon.cpp \
63         ../Lexer.cpp \
64         ../ModuleList.cpp \
65         ../Spacing.cpp \
66         ../TextClass.cpp \
67         ../version.cpp
68
69 BUILT_SOURCES = $(PCH_FILE)
70
71 tex2lyx_SOURCES = \
72         $(LINKED_FILES) \
73         boost.cpp \
74         Context.cpp \
75         Context.h \
76         math.cpp \
77         Parser.cpp \
78         Parser.h \
79         Preamble.cpp \
80         Preamble.h \
81         table.cpp \
82         tex2lyx.cpp \
83         tex2lyx.h \
84         text.cpp
85
86 tex2lyx_LDADD = \
87         $(top_builddir)/src/support/liblyxsupport.a \
88         $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \
89         $(QT4_LIB) $(QT4_LDFLAGS) \
90         @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
91
92 if INSTALL_MACOSX
93 tex2lyx_LDFLAGS = -framework AppKit
94 endif