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 = \
38 ConsoleApplication.cpp \
39 ConsoleApplication.h \
40 ConsoleApplicationPrivate.h \
81 numpunct_lyx_char_type.h \
114 if USE_INCLUDED_MYTHES
115 liblyxsupport_a_SOURCES += \
118 mythes/license.readme
122 #liblyxsupport_a_SOURCES += \
123 # AppleSpellChecker.h \
124 # AppleSpellChecker.mm
128 liblyxsupport_a_SOURCES += \
133 AppleScriptProxy.cpp \
134 linkback/LinkBack.h \
135 linkback/LinkBack.m \
136 linkback/LinkBackProxy.h \
137 linkback/LinkBackProxy.m \
138 linkback/LinkBackServer.h \
139 linkback/LinkBackServer.m
142 ############################## Tests ##################################
146 tests/test_filetools \
147 tests/test_lstrings \
148 tests/test_trivstring \
149 tests/regfiles/convert \
150 tests/regfiles/filetools \
151 tests/regfiles/lstrings \
152 tests/regfiles/trivstring
157 tests/test_filetools \
158 tests/test_lstrings \
159 tests/test_trivstring
168 ADD_FRAMEWORKS = -framework QtCore -framework AppKit -framework ApplicationServices
171 check_convert_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@
172 check_convert_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
173 check_convert_SOURCES = \
174 tests/check_convert.cpp \
175 tests/dummy_functions.cpp \
178 check_filetools_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@
179 check_filetools_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
180 check_filetools_SOURCES = \
181 tests/check_filetools.cpp \
182 tests/dummy_functions.cpp \
185 check_lstrings_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@
186 check_lstrings_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
187 check_lstrings_SOURCES = \
188 tests/check_lstrings.cpp \
189 tests/dummy_functions.cpp \
192 check_trivstring_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT_CORE_LIBS) $(LIBSHLWAPI) @LIBS@
193 check_trivstring_LDFLAGS = $(QT_CORE_LDFLAGS) $(ADD_FRAMEWORKS)
194 check_trivstring_SOURCES = \
195 tests/check_trivstring.cpp \
196 tests/dummy_functions.cpp \
199 makeregfiles: ${check_PROGRAMS}
200 for all in ${check_PROGRAMS} ; do \
201 ./$$all > ${srcdir}/tests/regfiles/$$all ; \