1 include $(top_srcdir)/config/common.am
3 EXTRA_DIST = os_cygwin.cpp os_unix.cpp os_win32.cpp os_win32.h \
4 CMakeLists.txt tests/CMakeLists.txt tests/supporttest.cmake
6 noinst_LIBRARIES = liblyxsupport.a
9 ######################### Qt stuff #############################
13 ConsoleApplicationPrivate.h \
16 MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
18 CLEANFILES = $(MOCEDFILES)
19 BUILT_SOURCES = $(MOCEDFILES)
24 liblyxsupport_a_DEPENDENCIES = $(MOCEDFILES)
27 ##################################################################
29 AM_CPPFLAGS += -I$(srcdir)/.. \
30 $(BOOST_INCLUDES) $(ICONV_INCLUDES) $(ZLIB_INCLUDES) \
31 $(QT_CPPFLAGS) $(QT_INCLUDES)
33 liblyxsupport_a_SOURCES = \
39 ConsoleApplication.cpp \
40 ConsoleApplication.h \
41 ConsoleApplicationPrivate.h \
81 numpunct_lyx_char_type.h \
115 if USE_INCLUDED_MYTHES
116 liblyxsupport_a_SOURCES += \
119 mythes/license.readme
123 #liblyxsupport_a_SOURCES += \
124 # AppleSpellChecker.h \
125 # AppleSpellChecker.mm
129 liblyxsupport_a_SOURCES += \
134 AppleScriptProxy.cpp \
135 linkback/LinkBack.h \
136 linkback/LinkBack.m \
137 linkback/LinkBackProxy.h \
138 linkback/LinkBackProxy.m \
139 linkback/LinkBackServer.h \
140 linkback/LinkBackServer.m
143 ############################## Tests ##################################
147 tests/test_filetools \
148 tests/test_lstrings \
149 tests/test_trivstring \
150 tests/regfiles/convert \
151 tests/regfiles/filetools \
152 tests/regfiles/lstrings \
153 tests/regfiles/trivstring
158 tests/test_filetools \
159 tests/test_lstrings \
160 tests/test_trivstring
169 ADD_FRAMEWORKS = -framework QtCore -framework AppKit -framework ApplicationServices
172 check_convert_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@
173 check_convert_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
174 check_convert_SOURCES = \
175 tests/check_convert.cpp \
176 tests/dummy_functions.cpp \
179 check_filetools_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@
180 check_filetools_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
181 check_filetools_SOURCES = \
182 tests/check_filetools.cpp \
183 tests/dummy_functions.cpp \
186 check_lstrings_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@
187 check_lstrings_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
188 check_lstrings_SOURCES = \
189 tests/check_lstrings.cpp \
190 tests/dummy_functions.cpp \
193 check_trivstring_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@
194 check_trivstring_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
195 check_trivstring_SOURCES = \
196 tests/check_trivstring.cpp \
197 tests/dummy_functions.cpp \
200 makeregfiles: ${check_PROGRAMS}
201 for all in ${check_PROGRAMS} ; do \
202 ./$$all > ${srcdir}/tests/regfiles/$$all ; \