From 5742211486673b28df6cb15e56874b38b3cd71d3 Mon Sep 17 00:00:00 2001 From: Hib Eris Date: Fri, 30 May 2014 11:20:06 +0200 Subject: [PATCH] Cleanup qt5/src/Makefile.am https://bugs.freedesktop.org/show_bug.cgi?id=79411 --- qt5/src/Makefile.am | 27 ++++++++++++++------------- 1 file changed, 14 insertions(+), 13 deletions(-) diff --git a/qt5/src/Makefile.am b/qt5/src/Makefile.am index 81dba68..245a478 100644 --- a/qt5/src/Makefile.am +++ b/qt5/src/Makefile.am @@ -1,13 +1,6 @@ -INCLUDES = \ - -I$(top_srcdir) \ - -I$(top_srcdir)/poppler \ - $(POPPLER_QT5_CFLAGS) \ - $(LCMS_CFLAGS) - -SUFFIXES: .moc +lib_LTLIBRARIES = libpoppler-qt5.la poppler_includedir = $(includedir)/poppler/qt5 - poppler_include_HEADERS = \ poppler-qt5.h \ poppler-link.h \ @@ -18,8 +11,6 @@ poppler_include_HEADERS = \ poppler-media.h \ poppler-page-transition.h -lib_LTLIBRARIES = libpoppler-qt5.la - libpoppler_qt5_la_SOURCES = \ poppler-document.cc \ poppler-page.cc \ @@ -55,18 +46,28 @@ libpoppler_qt5_la_SOURCES = \ ArthurOutputDev.h \ ArthurOutputDev.cc -libpoppler_qt5_la_CXXFLAGS = \ +libpoppler_qt5_la_CPPFLAGS = \ + -I$(top_srcdir) \ + -I$(top_srcdir)/poppler \ + $(POPPLER_QT5_CFLAGS) \ + $(LCMS_CFLAGS) + +libpoppler_qt5_la_CXXFLAGS = \ -Dpoppler_qt5_EXPORTS -fPIC -libpoppler_qt5_la_LIBADD = \ +libpoppler_qt5_la_LIBADD = \ $(top_builddir)/poppler/libpoppler.la \ $(POPPLER_QT5_LIBS) -libpoppler_qt5_la_LDFLAGS = -version-info 2:0:1 @create_shared_lib@ @auto_import_flags@ +libpoppler_qt5_la_LDFLAGS = \ + -version-info 2:0:1 \ + @create_shared_lib@ \ + @auto_import_flags@ # This rule lets GNU make create any *.moc from the equivalent *.h .h.moc: $(AM_V_GEN) $(MOCQT5) -i $< -o $@ +SUFFIXES: .moc BUILT_SOURCES = poppler-optcontent.moc -- 1.8.3.2