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