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 = \
76 numpunct_lyx_char_type.h \
106 mythes/license.readme
109 #liblyxsupport_a_SOURCES += \
110 # AppleSpellChecker.h \
111 # AppleSpellChecker.mm
115 liblyxsupport_a_SOURCES += \
118 linkback/LinkBack.h \
119 linkback/LinkBack.m \
120 linkback/LinkBackProxy.h \
121 linkback/LinkBackProxy.m \
122 linkback/LinkBackServer.h \
123 linkback/LinkBackServer.m
126 ############################## Tests ##################################
130 tests/test_filetools \
131 tests/test_lstrings \
132 tests/regfiles/convert \
133 tests/regfiles/filetools \
134 tests/regfiles/lstrings
139 tests/test_filetools \
147 check_convert_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
148 check_convert_LDFLAGS = $(QT4_LDFLAGS)
149 check_convert_SOURCES = \
150 tests/check_convert.cpp \
153 check_filetools_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
154 check_filetools_LDFLAGS = $(QT4_CORE_LDFLAGS)
155 check_filetools_SOURCES = \
156 tests/check_filetools.cpp \
159 check_lstrings_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
160 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
161 check_lstrings_SOURCES = \
162 tests/check_lstrings.cpp \
165 makeregfiles: ${check_PROGRAMS}
166 for all in ${check_PROGRAMS} ; do \
167 ./$$all > ${srcdir}/tests/regfiles/$$all ; \