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 \
108 mythes/license.readme
111 #liblyxsupport_a_SOURCES += \
112 # AppleSpellChecker.h \
113 # AppleSpellChecker.mm
117 liblyxsupport_a_SOURCES += \
120 linkback/LinkBack.h \
121 linkback/LinkBack.m \
122 linkback/LinkBackProxy.h \
123 linkback/LinkBackProxy.m \
124 linkback/LinkBackServer.h \
125 linkback/LinkBackServer.m
128 ############################## Tests ##################################
132 tests/test_filetools \
133 tests/test_lstrings \
134 tests/regfiles/convert \
135 tests/regfiles/filetools \
136 tests/regfiles/lstrings
141 tests/test_filetools \
149 check_convert_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
150 check_convert_LDFLAGS = $(QT4_LDFLAGS)
151 check_convert_SOURCES = \
152 tests/check_convert.cpp \
155 check_filetools_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
156 check_filetools_LDFLAGS = $(QT4_CORE_LDFLAGS)
157 check_filetools_SOURCES = \
158 tests/check_filetools.cpp \
161 check_lstrings_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
162 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
163 check_lstrings_SOURCES = \
164 tests/check_lstrings.cpp \
167 makeregfiles: ${check_PROGRAMS}
168 for all in ${check_PROGRAMS} ; do \
169 ./$$all > ${srcdir}/tests/regfiles/$$all ; \