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 \
106 if USE_INCLUDED_MYTHES
107 liblyxsupport_a_SOURCES += \
110 mythes/license.readme
114 #liblyxsupport_a_SOURCES += \
115 # AppleSpellChecker.h \
116 # AppleSpellChecker.mm
120 liblyxsupport_a_SOURCES += \
125 AppleScriptProxy.cpp \
126 linkback/LinkBack.h \
127 linkback/LinkBack.m \
128 linkback/LinkBackProxy.h \
129 linkback/LinkBackProxy.m \
130 linkback/LinkBackServer.h \
131 linkback/LinkBackServer.m
134 ############################## Tests ##################################
138 tests/test_filetools \
139 tests/test_lstrings \
140 tests/regfiles/convert \
141 tests/regfiles/filetools \
142 tests/regfiles/lstrings
147 tests/test_filetools \
155 check_convert_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS) $(LIBSHLWAPI)
156 check_convert_LDFLAGS = $(QT4_LDFLAGS)
157 check_convert_SOURCES = \
158 tests/check_convert.cpp \
159 tests/dummy_functions.cpp \
162 check_filetools_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS) $(LIBSHLWAPI)
163 check_filetools_LDFLAGS = $(QT4_CORE_LDFLAGS)
164 check_filetools_SOURCES = \
165 tests/check_filetools.cpp \
166 tests/dummy_functions.cpp \
169 check_lstrings_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS) $(LIBSHLWAPI)
170 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
171 check_lstrings_SOURCES = \
172 tests/check_lstrings.cpp \
173 tests/dummy_functions.cpp \
176 makeregfiles: ${check_PROGRAMS}
177 for all in ${check_PROGRAMS} ; do \
178 ./$$all > ${srcdir}/tests/regfiles/$$all ; \