]> git.lyx.org Git - lyx.git/blobdiff - src/support/Makefile.am
zipunzip.cpp: Replace makedir etc with versions in support::FileName, fix a bug in...
[lyx.git] / src / support / Makefile.am
index a2697a4b138ba49e9c123e34d615edce40be6013..9db3a24fb6ac60f5fd3e08864ad32e7330e5a928 100644 (file)
@@ -12,6 +12,24 @@ liblyxsupport_la_LDFLAGS = $(QT4_CORE_LDFLAGS)
 
 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
 
@@ -23,10 +41,8 @@ liblyxsupport_la_SOURCES = \
        FileMonitor.h \
        FileMonitor.cpp \
        RandomAccessList.h \
-       abort.cpp \
        convert.cpp \
        convert.h \
-       copy.cpp \
        copied_ptr.h \
        debug.cpp \
        debug.h \
@@ -47,7 +63,6 @@ liblyxsupport_la_SOURCES = \
        ForkedCalls.h \
        gettext.cpp \
        gettext.h \
-       getcwd.cpp \
        gzstream.cpp \
        gzstream.h \
        kill.cpp \
@@ -61,7 +76,6 @@ liblyxsupport_la_SOURCES = \
        lyxsum.cpp \
        Messages.cpp \
        Messages.h \
-       mkdir.cpp \
        os.cpp \
        os.h \
        Path.cpp \
@@ -69,19 +83,14 @@ liblyxsupport_la_SOURCES = \
        Package.cpp \
        Package.h \
        qstring_helpers.h \
-       rename.cpp \
        socktools.cpp \
        socktools.h \
        strfwd.h \
        Systemcall.cpp \
        Systemcall.h \
-       SystemcallPrivate.cpp \
-       SystemcallPrivate.h \
-       ProgressInterface.h \
        SignalSlot.cpp \
        SignalSlot.h \
        SignalSlotPrivate.h \
-       tempname.cpp \
        textutils.h \
        Translator.h \
        Timeout.cpp \