]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
8f53955bf6db767ff573c1f2cb76ce8c6f886e12
[lyx.git] / src / tex2lyx / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = 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         ../FloatList.cpp \
33         ../Floating.cpp \
34         ../Counters.cpp \
35         ../insets/InsetLayout.cpp \
36         ../LayoutFile.h \
37         ../Layout.h \
38         ../Layout.cpp \
39         ../LayoutModuleList.h \
40         ../LayoutModuleList.cpp \
41         ../ModuleList.h \
42         ../ModuleList.cpp \
43         ../TextClass.cpp \
44         ../TextClass.h \
45         ../Lexer.cpp \
46         ../lengthcommon.cpp \
47         ../Color.cpp \
48         ../Color.h \
49         ../Encoding.cpp
50
51 BUILT_SOURCES = $(PCH_FILE)
52
53 tex2lyx_SOURCES = \
54         $(LINKED_FILES) \
55         Spacing.h \
56         boost.cpp \
57         Context.cpp \
58         Context.h \
59         Font.cpp \
60         Font.h \
61         gettext.cpp \
62         Parser.cpp \
63         Parser.h \
64         tex2lyx.cpp \
65         tex2lyx.h \
66         preamble.cpp \
67         math.cpp \
68         table.cpp \
69         text.cpp
70
71 tex2lyx_LDADD = \
72         $(top_builddir)/src/support/liblyxsupport.a \
73         $(LIBICONV) $(BOOST_LIBS) \
74         $(QT4_LIB) $(QT4_LDFLAGS) \
75         @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)