1 include $(top_srcdir)/config/common.am
3 CLEANFILES += $(BUILT_SOURCES)
6 os_cygwin.cpp os_unix.cpp os_win32.cpp os_win32.h
8 noinst_LTLIBRARIES = liblyxsupport.la
10 liblyxsupport_la_LIBADD = $(LIBSHLWAPI) $(QT4_CORE_LIB) $(BOOST_SIGNALS)
11 liblyxsupport_la_LDFLAGS = $(QT4_CORE_LDFLAGS)
13 BUILT_SOURCES = $(PCH_FILE)
15 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
16 AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES) -I$(srcdir)/minizip
18 # force the use of C++ compiler for minizip/*.c files, because
19 # gcc can not go through the included boost files.
20 liblyxsupport_la_CFLAGS = -x c++
22 liblyxsupport_la_SOURCES = \
51 ForkedcallsController.cpp \
52 ForkedcallsController.h \
105 ############################## Tests ##################################
109 tests/test_filetools \
110 tests/test_lstrings \
111 tests/regfiles/convert \
112 tests/regfiles/filetools \
113 tests/regfiles/lstrings
126 check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
127 qstring_helpers.o $(BOOST_LIBS) $(QT4_CORE_LIB)
128 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
129 check_convert_SOURCES = \
130 tests/check_convert.cpp \
133 check_filetools_LDADD = ../debug.o libsupport.la $(BOOST_LIBS)
134 check_filetools_SOURCES = \
135 tests/check_filetools.cpp \
138 check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
139 qstring_helpers.o $(QT4_CORE_LIB)
140 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
141 check_lstrings_SOURCES = \
142 tests/check_lstrings.cpp \
145 makeregfiles: ${check_PROGRAMS}
146 for all in ${check_PROGRAMS} ; do \
147 ./$$all > ${srcdir}/regfiles/$$all ; \