]> git.lyx.org Git - features.git/blob - src/tex2lyx/Makefile.am
b6f31e7eabe7f067567a2aa77993edb7ad1b88ed
[features.git] / src / tex2lyx / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = TODO.txt tex2lyx.1in $(TEST_FILES) $(TEST_RESULTS) 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-refstyle-references.tex \
36         test/test-structure.tex \
37         test/XeTeX-polyglossia.tex \
38         test/xfigtest.fig \
39         test/xfigtest.pstex \
40         test/xfigtest.pstex_t
41
42 TEST_RESULTS = \
43         test/box-color-size-space-align.lyx.lyx \
44         test/CJK.lyx.lyx \
45         test/CJKutf8.lyx.lyx \
46         test/DummyDocument.lyx.lyx \
47         test/Dummy~Document.lyx.lyx \
48         test/Dummy\ Document.lyx.lyx \
49         test/test-insets.lyx.lyx \
50         test/test.lyx.lyx \
51         test/test-modules.lyx.lyx \
52         test/test-structure.lyx.lyx \
53         test/XeTeX-polyglossia.lyx.lyx
54
55 TESTS = test/runtests.py
56 updatetests: tex2lyx
57         $(PYTHON) "$(srcdir)/test/runtests.py" ./tex2lyx "$(top_srcdir)/lib/scripts" "$(srcdir)/test"
58
59 LINKED_FILES = \
60         ../Author.cpp \
61         ../Color.cpp \
62         ../Counters.cpp \
63         ../Encoding.cpp \
64         ../FloatList.cpp \
65         ../Floating.cpp \
66         ../FontInfo.cpp \
67         ../graphics/GraphicsParams.cpp \
68         ../insets/ExternalTemplate.cpp \
69         ../insets/ExternalTransforms.cpp \
70         ../insets/InsetLayout.cpp \
71         ../LaTeXPackages.cpp \
72         ../Layout.cpp \
73         ../LayoutFile.cpp \
74         ../LayoutModuleList.cpp \
75         ../Length.cpp \
76         ../lengthcommon.cpp \
77         ../Lexer.cpp \
78         ../ModuleList.cpp \
79         ../Spacing.cpp \
80         ../TextClass.cpp \
81         ../version.cpp
82
83 BUILT_SOURCES = $(PCH_FILE)
84
85 tex2lyx_SOURCES = \
86         $(LINKED_FILES) \
87         boost.cpp \
88         Context.cpp \
89         Context.h \
90         math.cpp \
91         Parser.cpp \
92         Parser.h \
93         Preamble.cpp \
94         Preamble.h \
95         table.cpp \
96         tex2lyx.cpp \
97         tex2lyx.h \
98         text.cpp
99
100 tex2lyx_LDADD = \
101         $(top_builddir)/src/support/liblyxsupport.a \
102         $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \
103         $(QT4_LIB) $(QT4_LDFLAGS) \
104         @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
105
106 if INSTALL_MACOSX
107 tex2lyx_LDFLAGS = -framework AppKit
108 endif