svn path=/trunk/KDE/kdegraphics/doc/kpdf/; revision=517816remotes/origin/kpdf
parent
389fe48666
commit
a59ae53b59
8 changed files with 279 additions and 0 deletions
@ -0,0 +1,70 @@ |
||||
kde4_header() |
||||
|
||||
add_subdirectory( conf ) |
||||
add_subdirectory( core ) |
||||
add_subdirectory( ui ) |
||||
add_subdirectory( shell ) |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(kpdfpart_PART_SRCS error.cpp part.cpp ) |
||||
|
||||
kde4_automoc(${kpdfpart_PART_SRCS}) |
||||
|
||||
kde4_add_dcop_skels(kpdfpart_PART_SRCS dcop.h ) |
||||
|
||||
kde4_add_plugin(kpdfpart WITH_PREFIX ${kpdfpart_PART_SRCS}) |
||||
|
||||
kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kpdfpart ) |
||||
|
||||
target_link_libraries(kpdfpart ${QT_AND_KDECORE_LIBS} kpdfconf kpdfcore kpdfui kparts kdeprint kutils m ) |
||||
|
||||
install_targets(${LIB_INSTALL_DIR}/kde4 kpdfpart ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${SERVICES_INSTALL_DIR} FILES kpdf_part.desktop ) |
||||
install_files( ${DATA_INSTALL_DIR}/kpdfpart FILES part.rc ) |
||||
|
||||
kde4_install_icons( ${ICON_INSTALL_DIR} hicolor ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#SUBDIRS = conf core ui shell |
||||
# |
||||
#INCLUDES = -I$(top_builddir)/kpdf $(all_includes) $(POPPLER_CFLAGS) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#messages: rc.cpp |
||||
# $(EXTRACTRC) `find . -name "*.rc" -o -name "*.ui"` >> rc.cpp |
||||
# $(XGETTEXT) `find . -name "*.cpp" -o -name "*.cc" -o -name "*.h"` -o $(podir)/kpdf.pot |
||||
# |
||||
#KDE_ICON = kpdf |
||||
# |
||||
########################################################################## |
||||
## KPART SECTION |
||||
########################################################################## |
||||
#kde_module_LTLIBRARIES = libkpdfpart.la |
||||
# |
||||
#libkpdfpart_la_SOURCES = dcop.skel error.cpp part.cpp |
||||
#libkpdfpart_la_LDFLAGS = -module $(KDE_PLUGIN) $(all_libraries) |
||||
#libkpdfpart_la_LIBADD = $(POPPLER_LIBS) conf/libkpdfconf.la \ |
||||
# core/libkpdfcore.la ui/libkpdfui.la $(LIB_KPARTS) \ |
||||
# $(LIB_KFILE) $(LIB_KDEPRINT) $(LIB_KUTILS) -lm |
||||
# |
||||
#partdesktopdir = $(kde_servicesdir) |
||||
#partdesktop_DATA = kpdf_part.desktop |
||||
# |
||||
#partrcdir = $(kde_datadir)/kpdfpart |
||||
#partrc_DATA = part.rc |
||||
# |
||||
#part.lo: conf/settings.h |
||||
@ -0,0 +1,31 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${KCFG_INSTALL_DIR} FILES kpdf.kcfg ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(srcdir)/.. -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#libkpdfconf_la_SOURCES = dlggeneral.ui dlgperformance.ui dlgaccessibility.ui \ |
||||
# dlgpresentation.ui \ |
||||
# preferencesdialog.cpp settings.kcfgc |
||||
# |
||||
#noinst_LTLIBRARIES = libkpdfconf.la |
||||
# |
||||
#kde_kcfg_DATA = kpdf.kcfg |
||||
# |
||||
#preferencesdialog.lo: settings.h |
||||
@ -0,0 +1,33 @@ |
||||
kde4_header() |
||||
|
||||
add_subdirectory( generator_pdf ) |
||||
add_subdirectory( generator_kimgio ) |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#SUBDIRS = generator_pdf generator_kimgio |
||||
# |
||||
#INCLUDES = -I$(srcdir)/generator_pdf -I$(srcdir)/.. -I$(top_builddir)/kpdf $(POPPLER_CFLAGS) $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#libkpdfcore_la_LIBADD = ./generator_pdf/libgeneratorpdf.la ./generator_kimgio/libgeneratorkimgio.la |
||||
#libkpdfcore_la_SOURCES = document.cpp link.cpp page.cpp pagetransition.cpp |
||||
# |
||||
#noinst_LTLIBRARIES = libkpdfcore.la |
||||
# |
||||
#document.lo: ../conf/settings.h |
||||
#page.lo: ../conf/settings.h |
||||
@ -0,0 +1,23 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(srcdir)/../../ $(all_includes) |
||||
# |
||||
#libgeneratorkimgio_la_LDFLAGS = $(all_libraries) |
||||
#libgeneratorkimgio_la_SOURCES = generator_kimgio.cpp |
||||
# |
||||
#noinst_LTLIBRARIES = libgeneratorkimgio.la |
||||
@ -0,0 +1,27 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(srcdir)/../.. -I$(top_builddir)/kpdf $(POPPLER_CFLAGS) $(all_includes) |
||||
# |
||||
#libgeneratorpdf_la_LDFLAGS = $(all_libraries) |
||||
#libgeneratorpdf_la_SOURCES = generator_pdf.cpp gp_outputdev.cpp pagetransition.cpp |
||||
# |
||||
#noinst_LTLIBRARIES = libgeneratorpdf.la |
||||
# |
||||
#KDE_OPTIONS = nofinal |
||||
# |
||||
#generator_pdf.lo: ../../conf/settings.h |
||||
@ -0,0 +1,18 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
# |
||||
#KDE_LANG = en |
||||
#KDE_DOCS = AUTO |
||||
# |
||||
@ -0,0 +1,44 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
set(kpdf_SRCS main.cpp shell.cpp ) |
||||
|
||||
kde4_automoc(${kpdf_SRCS}) |
||||
|
||||
kde4_add_executable(kpdf ${kpdf_SRCS}) |
||||
|
||||
target_link_libraries(kpdf ${QT_AND_KDECORE_LIBS} kparts ) |
||||
|
||||
install_targets(/bin kpdf ) |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
install_files( ${XDG_APPS_DIR} FILES kpdf.desktop ) |
||||
install_files( ${DATA_INSTALL_DIR}/kpdf FILES shell.rc ) |
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#bin_PROGRAMS = kpdf |
||||
# |
||||
#kpdf_SOURCES = main.cpp shell.cpp |
||||
#kpdf_LDFLAGS = $(KDE_RPATH) $(all_libraries) |
||||
#kpdf_LDADD = $(LIB_KPARTS) |
||||
# |
||||
#EXTRA_DIST = kpdf.desktop |
||||
#xdg_apps_DATA = kpdf.desktop |
||||
# |
||||
#shellrcdir = $(kde_datadir)/kpdf |
||||
#shellrc_DATA = shell.rc |
||||
@ -0,0 +1,33 @@ |
||||
kde4_header() |
||||
|
||||
include_directories( ${KDE4_INCLUDE_DIR} ${QT_INCLUDES} ${CMAKE_CURRENT_SOURCE_DIR} ${CMAKE_CURRENT_BINARY_DIR} ) |
||||
|
||||
|
||||
########### next target ############### |
||||
|
||||
|
||||
########### install files ############### |
||||
|
||||
|
||||
kde4_footer() |
||||
|
||||
|
||||
|
||||
#original Makefile.am contents follow: |
||||
|
||||
#INCLUDES = -I$(srcdir)/.. -I$(top_builddir)/kpdf $(all_includes) |
||||
# |
||||
#METASOURCES = AUTO |
||||
# |
||||
#libkpdfui_la_SOURCES = pagepainter.cpp pageview.cpp pageviewutils.cpp \ |
||||
# minibar.cpp thumbnaillist.cpp searchwidget.cpp \ |
||||
# toc.cpp propertiesdialog.cpp presentationwidget.cpp |
||||
# |
||||
#noinst_LTLIBRARIES = libkpdfui.la |
||||
# |
||||
#pageview.lo: ../conf/settings.h |
||||
#pageviewutils.lo: ../conf/settings.h |
||||
#presentationwidget.lo: ../conf/settings.h |
||||
#searchwidget.lo: ../conf/settings.h |
||||
#thumbnaillist.lo: ../conf/settings.h |
||||
# |
||||
Loading…
Reference in new issue