Make --without-include-boost compile (autotools)
[lyx.git] / src / tex2lyx / Makefile.am
blobc6df6470d2489e99a1342c7dc6c604841ed389a6
1 include $(top_srcdir)/config/common.am
3 EXTRA_DIST = tex2lyx.man test-structure.tex test-insets.tex
4 EXTRA_DIST += pch.h
6 DISTCLEANFILES += tex2lyx.1
8 #noinst_LTLIBRARIES = libtexparser.la
10 #libtexparser_la_SOURCES = \
11 #       Parser.cpp \
12 #       Parser.h
14 #tex2lyx_LDADD = libtexparser.la
16 man_MANS = tex2lyx.1
18 bin_PROGRAMS = tex2lyx
20 DEFAULT_INCLUDES = 
22 AM_CPPFLAGS += \
23         -DTEX2LYX \
24         $(PCH_FLAGS) \
25         -I$(top_srcdir)/src/tex2lyx \
26         -I$(top_srcdir)/src  \
27         -I$(top_builddir)/src \
28         $(BOOST_INCLUDES)
31 LINKED_FILES = \
32         ../FloatList.cpp \
33         ../Floating.cpp \
34         ../Counters.cpp \
35         ../Layout.h \
36         ../Layout.cpp \
37         ../TextClass.cpp \
38         ../TextClass.h \
39         ../Lexer.cpp \
40         ../Color.cpp \
41         ../Color.h
43 BUILT_SOURCES = $(PCH_FILE)
45 tex2lyx_SOURCES = \
46         $(LINKED_FILES) \
47         Spacing.h \
48         boost.cpp \
49         Context.cpp \
50         Context.h \
51         Font.cpp \
52         Font.h \
53         gettext.cpp \
54         lengthcommon.cpp \
55         Parser.cpp \
56         Parser.h \
57         tex2lyx.cpp \
58         tex2lyx.h \
59         preamble.cpp \
60         math.cpp \
61         table.cpp \
62         text.cpp
64 tex2lyx_LDADD = \
65         $(top_builddir)/src/support/liblyxsupport.la \
66         $(LIBICONV) $(BOOST_LIBS) @LIBS@
68 tex2lyx.1:
69         cp -p $(srcdir)/tex2lyx.man tex2lyx.1