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 ######################### Qt stuff #############################
18 CLEANFILES += $(MOCEDFILES)
19 BUILT_SOURCES += $(MOCEDFILES)
21 MOCEDFILES = $(MOCHEADER:%.h=%_moc.cpp)
28 liblyxsupport_la_DEPENDENCIES = $(MOCEDFILES)
31 ##################################################################
33 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
34 AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES) -I$(srcdir)/minizip
36 # force the use of C++ compiler for minizip/*.c files, because
37 # gcc can not go through the included boost files.
38 liblyxsupport_la_CFLAGS = -x c++
40 liblyxsupport_la_SOURCES = \
120 ############################## Tests ##################################
124 tests/test_filetools \
125 tests/test_lstrings \
126 tests/regfiles/convert \
127 tests/regfiles/filetools \
128 tests/regfiles/lstrings
141 check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
142 $(BOOST_LIBS) $(QT4_CORE_LIB)
143 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
144 check_convert_SOURCES = \
145 tests/check_convert.cpp \
148 check_filetools_LDADD = ../debug.o libsupport.la $(BOOST_LIBS)
149 check_filetools_SOURCES = \
150 tests/check_filetools.cpp \
153 check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
155 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
156 check_lstrings_SOURCES = \
157 tests/check_lstrings.cpp \
160 makeregfiles: ${check_PROGRAMS}
161 for all in ${check_PROGRAMS} ; do \
162 ./$$all > ${srcdir}/regfiles/$$all ; \