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_CORE_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 += \
123 linkback/LinkBack.h \
124 linkback/LinkBack.m \
125 linkback/LinkBackProxy.h \
126 linkback/LinkBackProxy.m \
127 linkback/LinkBackServer.h \
128 linkback/LinkBackServer.m
131 ############################## Tests ##################################
135 tests/test_filetools \
136 tests/test_lstrings \
137 tests/regfiles/convert \
138 tests/regfiles/filetools \
139 tests/regfiles/lstrings
144 tests/test_filetools \
152 check_convert_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
153 check_convert_LDFLAGS = $(QT4_LDFLAGS)
154 check_convert_SOURCES = \
155 tests/check_convert.cpp \
158 check_filetools_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
159 check_filetools_LDFLAGS = $(QT4_CORE_LDFLAGS)
160 check_filetools_SOURCES = \
161 tests/check_filetools.cpp \
164 check_lstrings_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
165 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
166 check_lstrings_SOURCES = \
167 tests/check_lstrings.cpp \
170 makeregfiles: ${check_PROGRAMS}
171 for all in ${check_PROGRAMS} ; do \
172 ./$$all > ${srcdir}/tests/regfiles/$$all ; \