]> git.lyx.org Git - lyx.git/blobdiff - src/Makefile.am
Routines for calculating numerical labels for BibTeX citations.
[lyx.git] / src / Makefile.am
index b6c4242226079705e418facdf6af44d333322f59..bc0d3682a16a3dfe3eb944df43468d24df489c03 100644 (file)
@@ -67,6 +67,8 @@ lyx_SOURCES = \
        BiblioInfo.cpp \
        Box.cpp \
        Box.h \
+       Compare.cpp \
+       Compare.h \
        Dimension.cpp \
        Dimension.h \
        $(HUNSPELL) \
@@ -297,9 +299,16 @@ liblyxcore_a_SOURCES = $(SOURCEFILESCORE) $(STANDALONEFILES) $(HEADERFILESCORE)
 
 endif
 
+#########################  Qt stuff  ##############################
+
+MOCHEADER = Compare.h
+
 if INSTALL_WINDOWS
 
-MOCHEADER = Server.h
+MOCHEADER += Server.h
+MOCFLAG = -D_WIN32
+
+endif
 
 MOCEDFILES = $(MOCHEADER:%.h=moc_%.cpp)
 
@@ -307,12 +316,10 @@ BUILT_SOURCES += $(MOCEDFILES)
 CLEANFILES += $(MOCEDFILES)
 
 moc_%.cpp: %.h
-       $(MOC4) -D_WIN32 -o $@ $<
+       $(MOC4) $(MOCFLAG) -o $@ $<
 
 liblyxcore_a_DEPENDENCIES = $(MOCEDFILES)
 
-endif
-
 ############################### Graphics ##############################
 
 noinst_LIBRARIES += liblyxgraphics.a