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