also check for moc files in src/support

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@22044 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Peter Kümmel 2007-12-09 17:31:25 +00:00
parent a11ae22aa3
commit c8c44cc3a1

View File

@ -12,6 +12,25 @@ 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 = \
SystemcallPrivate.h
liblyxsupport_la_DEPENDENCIES = $(MOCEDFILES)
#
#################################################################
AM_CPPFLAGS += $(PCH_FLAGS) -I$(srcdir)/.. $(BOOST_INCLUDES)
AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES) -I$(srcdir)/minizip
@ -20,6 +39,7 @@ AM_CPPFLAGS += $(QT4_CPPFLAGS) $(QT4_CORE_INCLUDES) -I$(srcdir)/minizip
liblyxsupport_la_CFLAGS = -x c++
liblyxsupport_la_SOURCES = \
$(MOCHEADER) \
FileMonitor.h \
FileMonitor.cpp \
RandomAccessList.h \
@ -76,7 +96,6 @@ liblyxsupport_la_SOURCES = \
Systemcall.cpp \
Systemcall.h \
SystemcallPrivate.cpp \
SystemcallPrivate.h \
ProgressInterface.h \
SignalSlot.cpp \
SignalSlot.h \