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 MOCHEADER = SignalSlotPrivate.h
20 MOCEDFILES = $(MOCHEADER:%.h=%_moc.cpp)
22 CLEANFILES += $(MOCEDFILES)
23 BUILT_SOURCES += $(MOCEDFILES)
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 = \
96 SignalSlotPrivate.cpp \
120 liblyxsupport_la_SOURCES += \
121 linkback/LinkBack.h \
122 linkback/LinkBack.m \
123 linkback/LinkBackProxy.h \
124 linkback/LinkBackProxy.m \
125 linkback/LinkBackServer.h \
126 linkback/LinkBackServer.m
129 ############################## Tests ##################################
133 tests/test_filetools \
134 tests/test_lstrings \
135 tests/regfiles/convert \
136 tests/regfiles/filetools \
137 tests/regfiles/lstrings
142 tests/test_filetools \
150 check_convert_LDADD = liblyxsupport.la \
151 $(BOOST_LIBS) $(QT4_CORE_LIB)
152 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
153 check_convert_SOURCES = \
154 tests/check_convert.cpp \
157 check_filetools_LDADD = liblyxsupport.la $(BOOST_LIBS)
158 check_filetools_SOURCES = \
159 tests/check_filetools.cpp \
162 check_lstrings_LDADD = liblyxsupport.la $(BOOST_LIBS) $(QT4_CORE_LIB)
163 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
164 check_lstrings_SOURCES = \
165 tests/check_lstrings.cpp \
168 makeregfiles: ${check_PROGRAMS}
169 for all in ${check_PROGRAMS} ; do \
170 ./$$all > ${srcdir}/tests/regfiles/$$all ; \