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 = \
102 ############################## Tests ##################################
106 tests/test_filetools \
107 tests/test_lstrings \
108 tests/regfiles/convert \
109 tests/regfiles/filetools \
110 tests/regfiles/lstrings
123 check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
124 $(BOOST_LIBS) $(QT4_CORE_LIB)
125 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
126 check_convert_SOURCES = \
127 tests/check_convert.cpp \
130 check_filetools_LDADD = ../debug.o libsupport.la $(BOOST_LIBS)
131 check_filetools_SOURCES = \
132 tests/check_filetools.cpp \
135 check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
137 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
138 check_lstrings_SOURCES = \
139 tests/check_lstrings.cpp \
142 makeregfiles: ${check_PROGRAMS}
143 for all in ${check_PROGRAMS} ; do \
144 ./$$all > ${srcdir}/regfiles/$$all ; \