Another minor change, but this should almost get us to the point that we
[lyx.git] / src / tex2lyx / Makefile.am
blob975195e3525ab9c6704cb2d3c9fbf04fe000ebcb
1 include $(top_srcdir)/config/common.am
3 EXTRA_DIST = tex2lyx.1in $(TEST_FILES) pch.h
5 #noinst_LIBRARIES = libtexparser.a
7 #libtexparser_a_SOURCES = \
8 #       Parser.cpp \
9 #       Parser.h
11 #tex2lyx_LDADD = libtexparser.a
13 man_MANS = tex2lyx.1
15 bin_PROGRAMS = tex2lyx
17 DEFAULT_INCLUDES = 
19 AM_CPPFLAGS += -DTEX2LYX $(PCH_FLAGS) -I$(top_srcdir)/src/tex2lyx \
20         -I$(top_srcdir)/src -I$(top_builddir) $(BOOST_INCLUDES)
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
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         ../Layout.cpp \
40         ../LayoutModuleList.cpp \
41         ../lengthcommon.cpp \
42         ../Lexer.cpp \
43         ../ModuleList.cpp \
44         ../Spacing.cpp \
45         ../TextClass.cpp \
46         ../TextClass.h
48 BUILT_SOURCES = $(PCH_FILE)
50 tex2lyx_SOURCES = \
51         $(LINKED_FILES) \
52         boost.cpp \
53         Context.cpp \
54         Context.h \
55         math.cpp \
56         Parser.cpp \
57         Parser.h \
58         preamble.cpp \
59         table.cpp \
60         tex2lyx.cpp \
61         tex2lyx.h \
62         text.cpp
64 tex2lyx_LDADD = \
65         $(top_builddir)/src/support/liblyxsupport.a \
66         $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) \
67         $(QT4_LIB) $(QT4_LDFLAGS) \
68         @LIBS@ $(LIBSHLWAPI) $(LIBPSAPI)