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)
36 liblyxsupport_la_SOURCES = \
92 SignalSlotPrivate.cpp \
106 liblyxsupport_la_SOURCES += \
107 linkback/LinkBack.h \
108 linkback/LinkBack.m \
109 linkback/LinkBackProxy.h \
110 linkback/LinkBackProxy.m \
111 linkback/LinkBackServer.h \
112 linkback/LinkBackServer.m
115 ############################## Tests ##################################
119 tests/test_filetools \
120 tests/test_lstrings \
121 tests/regfiles/convert \
122 tests/regfiles/filetools \
123 tests/regfiles/lstrings
128 tests/test_filetools \
136 check_convert_LDADD = liblyxsupport.la \
137 $(BOOST_LIBS) $(QT4_CORE_LIB)
138 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
139 check_convert_SOURCES = \
140 tests/check_convert.cpp \
143 check_filetools_LDADD = liblyxsupport.la $(BOOST_LIBS)
144 check_filetools_SOURCES = \
145 tests/check_filetools.cpp \
148 check_lstrings_LDADD = liblyxsupport.la $(BOOST_LIBS) $(QT4_CORE_LIB)
149 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
150 check_lstrings_SOURCES = \
151 tests/check_lstrings.cpp \
154 makeregfiles: ${check_PROGRAMS}
155 for all in ${check_PROGRAMS} ; do \
156 ./$$all > ${srcdir}/tests/regfiles/$$all ; \