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 = \
93 SignalSlotPrivate.cpp \
116 liblyxsupport_la_SOURCES += \
117 linkback/LinkBack.h \
118 linkback/LinkBack.m \
119 linkback/LinkBackProxy.h \
120 linkback/LinkBackProxy.m \
121 linkback/LinkBackServer.h \
122 linkback/LinkBackServer.m
125 ############################## Tests ##################################
129 tests/test_filetools \
130 tests/test_lstrings \
131 tests/regfiles/convert \
132 tests/regfiles/filetools \
133 tests/regfiles/lstrings
146 check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
147 $(BOOST_LIBS) $(QT4_CORE_LIB)
148 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
149 check_convert_SOURCES = \
150 tests/check_convert.cpp \
153 check_filetools_LDADD = ../debug.o libsupport.la $(BOOST_LIBS)
154 check_filetools_SOURCES = \
155 tests/check_filetools.cpp \
158 check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
160 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
161 check_lstrings_SOURCES = \
162 tests/check_lstrings.cpp \
165 makeregfiles: ${check_PROGRAMS}
166 for all in ${check_PROGRAMS} ; do \
167 ./$$all > ${srcdir}/regfiles/$$all ; \