BUILT_SOURCES = $(PCH_FILE)
+######################### Qt stuff #############################
+#
+
+CLEANFILES += $(MOCEDFILES)
+BUILT_SOURCES += $(MOCEDFILES)
+
+MOCEDFILES = $(MOCHEADER:%.h=%_moc.cpp)
+
+%_moc.cpp: %.h
+ $(MOC4) -o $@ $<
+
+MOCHEADER =
+
+liblyxsupport_la_DEPENDENCIES = $(MOCEDFILES)
+
+#
+##################################################################
+
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES) -I$(srcdir)/minizip
FileMonitor.cpp \
RandomAccessList.h \
abort.cpp \
- chdir.cpp \
convert.cpp \
convert.h \
copy.cpp \
copied_ptr.h \
- cow_ptr.h \
- debugstream.h \
+ debug.cpp \
+ debug.h \
docstream.cpp \
docstream.h \
docstring.cpp \
FileName.h \
filetools.cpp \
filetools.h \
- Forkedcall.cpp \
- Forkedcall.h \
- ForkedCallQueue.cpp \
- ForkedCallQueue.h \
- ForkedcallsController.cpp \
- ForkedcallsController.h \
- fs_extras.cpp \
- fs_extras.h \
+ ForkedCalls.cpp \
+ ForkedCalls.h \
+ gettext.cpp \
+ gettext.h \
getcwd.cpp \
gzstream.cpp \
gzstream.h \
lstrings.h \
lyxalgo.h \
lyxlib.h \
- lyxmanip.h \
lyxtime.cpp \
lyxtime.h \
lyxsum.cpp \
+ Messages.cpp \
+ Messages.h \
mkdir.cpp \
os.cpp \
os.h \
Path.h \
Package.cpp \
Package.h \
- qstring_helpers.cpp \
qstring_helpers.h \
rename.cpp \
socktools.cpp \
socktools.h \
- std_istream.h \
- std_ostream.h \
+ strfwd.h \
Systemcall.cpp \
Systemcall.h \
+ SignalSlot.cpp \
+ SignalSlot.h \
+ SignalSlotPrivate.h \
tempname.cpp \
- textutils.cpp \
textutils.h \
Translator.h \
Timeout.cpp \
userinfo.h \
unicode.cpp \
unicode.h \
- unlink.cpp \
minizip/crypt.h \
minizip/ioapi.c \
minizip/ioapi.h \
############################## Tests ##################################
-EXTRA_DIST += tests/test_convert tests/test_filetools \
- tests/test_lstrings tests/regfiles
+EXTRA_DIST += \
+ tests/test_convert \
+ tests/test_filetools \
+ tests/test_lstrings \
+ tests/regfiles/convert \
+ tests/regfiles/filetools \
+ tests/regfiles/lstrings
+
TESTS = \
test_convert \
check_lstrings
check_convert_LDADD = ../debug.o convert.o docstring.o lstrings.o unicode.o \
- qstring_helpers.o $(BOOST_LIBS) $(QT4_CORE_LIB)
+ $(BOOST_LIBS) $(QT4_CORE_LIB)
check_convert_LDFLAGS = $(QT4_CORE_LDFLAGS)
check_convert_SOURCES = \
tests/check_convert.cpp \
tests/boost.cpp
check_lstrings_LDADD = ../debug.o lstrings.o convert.o docstring.o unicode.o \
- qstring_helpers.o $(QT4_CORE_LIB)
+ $(QT4_CORE_LIB)
check_lstrings_LDFLAGS = $(QT4_CORE_LDFLAGS)
check_lstrings_SOURCES = \
tests/check_lstrings.cpp \