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 = \
116 ############################## Tests ##################################
120 tests/test_filetools \
121 tests/test_lstrings \
122 tests/regfiles/convert \
123 tests/regfiles/filetools \
124 tests/regfiles/lstrings
137 check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
138 $(BOOST_LIBS) $(QT4_CORE_LIB)
139 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
140 check_convert_SOURCES = \
141 tests/check_convert.cpp \
144 check_filetools_LDADD = ../debug.o libsupport.la $(BOOST_LIBS)
145 check_filetools_SOURCES = \
146 tests/check_filetools.cpp \
149 check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
151 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
152 check_lstrings_SOURCES = \
153 tests/check_lstrings.cpp \
156 makeregfiles: ${check_PROGRAMS}
157 for all in ${check_PROGRAMS} ; do \
158 ./$$all > ${srcdir}/regfiles/$$all ; \