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_LIBRARIES = liblyxsupport.a
10 BUILT_SOURCES = $(PCH_FILE)
12 ######################### Qt stuff #############################
15 MOCHEADER = SignalSlotPrivate.h Systemcall.h
17 MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
19 CLEANFILES += $(MOCEDFILES)
20 BUILT_SOURCES += $(MOCEDFILES)
25 liblyxsupport_a_DEPENDENCIES = $(MOCEDFILES)
28 ##################################################################
30 AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
31 AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES)
33 liblyxsupport_a_SOURCES = \
89 SignalSlotPrivate.cpp \
105 liblyxsupport_a_SOURCES += \
106 linkback/LinkBack.h \
107 linkback/LinkBack.m \
108 linkback/LinkBackProxy.h \
109 linkback/LinkBackProxy.m \
110 linkback/LinkBackServer.h \
111 linkback/LinkBackServer.m
114 ############################## Tests ##################################
118 tests/test_filetools \
119 tests/test_lstrings \
120 tests/regfiles/convert \
121 tests/regfiles/filetools \
122 tests/regfiles/lstrings
127 tests/test_filetools \
135 check_convert_LDADD = liblyxsupport.a $(BOOST_LIBS) $(QT4_CORE_LIB)
136 check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
137 check_convert_SOURCES = \
138 tests/check_convert.cpp \
141 check_filetools_LDADD = liblyxsupport.a $(BOOST_LIBS) $(QT4_CORE_LIB)
142 check_filetools_LDFLAGS = $(QT4_CORE_LDFLAGS)
143 check_filetools_SOURCES = \
144 tests/check_filetools.cpp \
147 check_lstrings_LDADD = liblyxsupport.a $(BOOST_LIBS) $(QT4_CORE_LIB)
148 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
149 check_lstrings_SOURCES = \
150 tests/check_lstrings.cpp \
153 makeregfiles: ${check_PROGRAMS}
154 for all in ${check_PROGRAMS} ; do \
155 ./$$all > ${srcdir}/tests/regfiles/$$all ; \