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