]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
tex2lyx: fix a regression
[lyx.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/DummyDocument.tex \
27         test/foo.eps \
28         test/foo.png \
29         test/test-insets.tex \
30         test/test.ltx \
31         test/test-structure.tex \
32         test/XeTeX-polyglossia.tex
33
34 TESTS = test/runtests.py
35
36 LINKED_FILES = \
37         ../Author.cpp \
38         ../Color.cpp \
39         ../Counters.cpp \
40         ../Encoding.cpp \
41         ../FloatList.cpp \
42         ../Floating.cpp \
43         ../FontInfo.cpp \
44         ../graphics/GraphicsParams.cpp \
45         ../insets/ExternalTemplate.cpp \
46         ../insets/ExternalTransforms.cpp \
47         ../insets/InsetLayout.cpp \
48         ../LaTeXPackages.cpp \
49         ../Layout.cpp \
50         ../LayoutFile.cpp \
51         ../LayoutModuleList.cpp \
52         ../Length.cpp \
53         ../lengthcommon.cpp \
54         ../Lexer.cpp \
55         ../ModuleList.cpp \
56         ../Spacing.cpp \
57         ../TextClass.cpp \
58         ../version.cpp
59
60 BUILT_SOURCES = $(PCH_FILE)
61
62 tex2lyx_SOURCES = \
63         $(LINKED_FILES) \
64         boost.cpp \
65         Context.cpp \
66         Context.h \
67         math.cpp \
68         Parser.cpp \
69         Parser.h \
70         Preamble.cpp \
71         Preamble.h \
72         table.cpp \
73         tex2lyx.cpp \
74         tex2lyx.h \
75         text.cpp
76
77 tex2lyx_LDADD = \
78         $(top_builddir)/src/support/liblyxsupport.a \
79         $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \
80         $(QT4_LIB) $(QT4_LDFLAGS) \
81         @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)
82
83 if INSTALL_MACOSX
84 tex2lyx_LDFLAGS = -framework AppKit
85 endif