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 = \
75 numpunct_lyx_char_type.h \
104 mythes/license.readme
107 liblyxsupport_a_SOURCES += \
108 linkback/LinkBack.h \
109 linkback/LinkBack.m \
110 linkback/LinkBackProxy.h \
111 linkback/LinkBackProxy.m \
112 linkback/LinkBackServer.h \
113 linkback/LinkBackServer.m
116 ############################## Tests ##################################
120 tests/test_filetools \
121 tests/test_lstrings \
122 tests/regfiles/convert \
123 tests/regfiles/filetools \
124 tests/regfiles/lstrings
129 tests/test_filetools \
137 check_convert_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
138 check_convert_LDFLAGS = $(QT4_LDFLAGS)
139 check_convert_SOURCES = \
140 tests/check_convert.cpp \
143 check_filetools_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
144 check_filetools_LDFLAGS = $(QT4_CORE_LDFLAGS)
145 check_filetools_SOURCES = \
146 tests/check_filetools.cpp \
149 check_lstrings_LDADD = liblyxsupport.a $(INTLLIBS) $(LIBICONV) $(BOOST_LIBS) $(QT4_CORE_LIBS)
150 check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
151 check_lstrings_SOURCES = \
152 tests/check_lstrings.cpp \
155 makeregfiles: ${check_PROGRAMS}
156 for all in ${check_PROGRAMS} ; do \
157 ./$$all > ${srcdir}/tests/regfiles/$$all ; \