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)
29 liblyxsupport_la_DEPENDENCIES = $(MOCEDFILES)
32 #################################################################
34 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
35 AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES) -I$(srcdir)/minizip
37 # force the use of C++ compiler for minizip/*.c files, because
38 # gcc can not go through the included boost files.
39 liblyxsupport_la_CFLAGS = -x c++
41 liblyxsupport_la_SOURCES = \
98 SystemcallPrivate.cpp \
102 SignalSlotPrivate.h \
124 ############################## Tests ##################################
128 tests/test_filetools \
129 tests/test_lstrings \
130 tests/regfiles/convert \
131 tests/regfiles/filetools \
132 tests/regfiles/lstrings
145 check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
146 $(BOOST_LIBS) $(QT4_CORE_LIB)
147 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
148 check_convert_SOURCES = \
149 tests/check_convert.cpp \
152 check_filetools_LDADD = ../debug.o libsupport.la $(BOOST_LIBS)
153 check_filetools_SOURCES = \
154 tests/check_filetools.cpp \
157 check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
159 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
160 check_lstrings_SOURCES = \
161 tests/check_lstrings.cpp \
164 makeregfiles: ${check_PROGRAMS}
165 for all in ${check_PROGRAMS} ; do \
166 ./$$all > ${srcdir}/regfiles/$$all ; \