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 = SystemcallPrivate.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_INCLUDES)
33 liblyxsupport_a_SOURCES = \
78 numpunct_lyx_char_type.h \
109 if USE_INCLUDED_MYTHES
110 liblyxsupport_a_SOURCES += \
113 mythes/license.readme
117 #liblyxsupport_a_SOURCES += \
118 # AppleSpellChecker.h \
119 # AppleSpellChecker.mm
123 liblyxsupport_a_SOURCES += \
128 AppleScriptProxy.cpp \
129 linkback/LinkBack.h \
130 linkback/LinkBack.m \
131 linkback/LinkBackProxy.h \
132 linkback/LinkBackProxy.m \
133 linkback/LinkBackServer.h \
134 linkback/LinkBackServer.m
137 ############################## Tests ##################################
141 tests/test_filetools \
142 tests/test_lstrings \
143 tests/regfiles/convert \
144 tests/regfiles/filetools \
145 tests/regfiles/lstrings
150 tests/test_filetools \
158 check_convert_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS) $(LIBSHLWAPI)
159 check_convert_LDFLAGS = $(QT4_LDFLAGS)
160 check_convert_SOURCES = \
161 tests/check_convert.cpp \
162 tests/dummy_functions.cpp \
165 check_filetools_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS) $(LIBSHLWAPI)
166 check_filetools_LDFLAGS = $(QT4_CORE_LDFLAGS)
167 check_filetools_SOURCES = \
168 tests/check_filetools.cpp \
169 tests/dummy_functions.cpp \
172 check_lstrings_LDADD = liblyxsupport.a $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS) $(LIBSHLWAPI)
173 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
174 check_lstrings_SOURCES = \
175 tests/check_lstrings.cpp \
176 tests/dummy_functions.cpp \
179 makeregfiles: ${check_PROGRAMS}
180 for all in ${check_PROGRAMS} ; do \
181 ./$$all > ${srcdir}/tests/regfiles/$$all ; \