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 pkglib_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 \
107 ############################## Tests ##################################
109 EXTRA_DIST += tests/test_convert tests/test_filetools \
110 tests/test_lstrings tests/regfiles
122 check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
123 qstring_helpers.o $(BOOST_LIBS) $(QT4_CORE_LIB)
124 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
125 check_convert_SOURCES = \
126 tests/check_convert.cpp \
129 check_filetools_LDADD = ../debug.o libsupport.la $(BOOST_LIBS)
130 check_filetools_SOURCES = \
131 tests/check_filetools.cpp \
134 check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
135 qstring_helpers.o $(QT4_CORE_LIB)
136 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
137 check_lstrings_SOURCES = \
138 tests/check_lstrings.cpp \
141 makeregfiles: ${check_PROGRAMS}
142 for all in ${check_PROGRAMS} ; do \
143 ./$$all > ${srcdir}/regfiles/$$all ; \