]> git.lyx.org Git - lyx.git/blob - src/tex2lyx/Makefile.am
Rename .C ==> .cpp for files in src/tex2lyx, part two
[lyx.git] / src / tex2lyx / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = tex2lyx.man pch.h test-structure.tex test-insets.tex
4
5 DISTCLEANFILES += tex2lyx.1 $(LINKED_FILES)
6
7 #noinst_LTLIBRARIES = libtexparser.la
8 #
9 #libtexparser_la_SOURCES = \
10 #       Parser.cpp \
11 #       Parser.h
12 #
13 #tex2lyx_LDADD = libtexparser.la
14
15 man_MANS = tex2lyx.1
16
17 bin_PROGRAMS = tex2lyx
18
19 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
20
21 BOOST_LIBS = $(BOOST_REGEX) $(BOOST_FILESYSTEM) $(BOOST_IOSTREAMS)
22
23 COMPRESSIONLIB = -lz
24
25 LINKED_FILES = \
26         FloatList.cpp \
27         Floating.cpp \
28         Counters.cpp \
29         LyXLayout.h \
30         LyXLayout.cpp \
31         LyXTextClass.cpp \
32         LyXTextClass.h \
33         LyXLex.cpp 
34
35 BUILT_SOURCES = $(PCH_FILE) $(LINKED_FILES)
36
37 tex2lyx_SOURCES = \
38         $(LINKED_FILES) \
39         Spacing.h \
40         boost.cpp \
41         Context.cpp \
42         Context.h \
43         gettext.cpp \
44         lengthcommon.cpp \
45         LyXFont.cpp \
46         LyXFont.h \
47         Parser.cpp \
48         Parser.h \
49         tex2lyx.cpp \
50         tex2lyx.h \
51         preamble.cpp \
52         math.cpp \
53         table.cpp \
54         text.cpp
55
56 tex2lyx_LDADD = \
57         $(top_builddir)/src/support/libsupport.la \
58         $(BOOST_LIBS) $(LIBICONV) @LIBS@ $(COMPRESSIONLIB)
59
60 $(LINKED_FILES) :
61         @rm -f $@ ; \
62         $(LN_S) $(top_srcdir)/src/$@ .
63
64 rm_link_files:
65         rm -f $(LINKED_FILES)
66
67 tex2lyx.1:
68         cp -p $(srcdir)/tex2lyx.man tex2lyx.1