]> git.lyx.org Git - features.git/blob - src/support/tests/Makefile.am
move tex2lyx and client subdir handling to the main Makefile.am, so they won't be...
[features.git] / src / support / tests / Makefile.am
1 include $(top_srcdir)/config/common.am
2
3 EXTRA_DIST = pch.h test_convert test_filetools test_lstrings regfiles
4
5 BUILT_SOURCES = $(PCH_FILE)
6
7 TESTS = \
8         test_convert \
9         test_filetools \
10         test_lstrings
11
12 check_PROGRAMS = \
13         convert \
14         filetools \
15         lstrings
16
17 AM_CPPFLAGS += $(BOOST_INCLUDES) -I$(srcdir)/../..
18
19
20 convert_LDADD = ../../debug.o ../convert.o ../docstring.o ../lstrings.o ../unicode.o ../qstring_helpers.o $(BOOST_REGEX) $(QT4_CORE_LIB)
21 convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
22 convert_SOURCES = \
23         convert.cpp \
24         boost.cpp
25
26 filetools_LDADD = ../../debug.o ../libsupport.la $(BOOST_REGEX) $(BOOST_FILESYSTEM)
27 filetools_SOURCES = \
28         filetools.cpp \
29         boost.cpp
30
31 lstrings_LDADD = ../../debug.o ../lstrings.o ../convert.o ../docstring.o ../unicode.o ../qstring_helpers.o $(QT4_CORE_LIB)
32 lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
33 lstrings_SOURCES = \
34         lstrings.cpp \
35         boost.cpp
36
37 makeregfiles: ${check_PROGRAMS}
38         for all in ${check_PROGRAMS} ; do \
39                 ./$$all > ${srcdir}/regfiles/$$all ; \
40         done