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 \
104 ############################## Tests ##################################
108 tests/test_filetools \
109 tests/test_lstrings \
110 tests/regfiles/convert \
111 tests/regfiles/filetools \
112 tests/regfiles/lstrings
125 check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
126 $(BOOST_LIBS) $(QT4_CORE_LIB)
127 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
128 check_convert_SOURCES = \
129 tests/check_convert.cpp \
132 check_filetools_LDADD = ../debug.o libsupport.la $(BOOST_LIBS)
133 check_filetools_SOURCES = \
134 tests/check_filetools.cpp \
137 check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
139 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
140 check_lstrings_SOURCES = \
141 tests/check_lstrings.cpp \
144 makeregfiles: ${check_PROGRAMS}
145 for all in ${check_PROGRAMS} ; do \
146 ./$$all > ${srcdir}/regfiles/$$all ; \