diff --git a/akonadi/CMakeLists.txt b/akonadi/CMakeLists.txt index a25adaa98..49b5c13bf 100644 --- a/akonadi/CMakeLists.txt +++ b/akonadi/CMakeLists.txt @@ -1,58 +1,56 @@ -kde4_header() add_subdirectory( tests ) include_directories( ${CMAKE_SOURCE_DIR}/ ${CMAKE_SOURCE_DIR}/libakonadi ${CMAKE_SOURCE_DIR}/libkmime ) ########### next target ############### set( akonadi_LIB_SRC datarequest.cpp job.cpp query.cpp collection.cpp collectionlistjob.cpp collectionmodel.cpp collectionfetchjob.cpp collectionview.cpp messagecollection.cpp messagecollectionmodel.cpp message.cpp messagemodel.cpp messagequery.cpp monitor.cpp ) kde4_automoc( ${akonadi_LIB_SRC} ) kde4_add_library( akonadi SHARED ${akonadi_LIB_SRC} ) target_link_libraries( akonadi ${KDE4_KDECORE_LIBS} kmime ) set_target_properties( akonadi PROPERTIES VERSION 1.0.0 SOVERSION 1 ) install_targets( ${LIB_INSTALL_DIR} akonadi ) ########### install files ############### install_files( /include/libakonadi FILES datarequest.h job.h query.h collection.h collectionlistjob.h collectionmodel.h collectionfetchjob.h collectionview.h messagecollection.h messagecollectionmodel.h message.h messagemodel.h messagequery.h monitor.h ) -kde4_footer() diff --git a/akonadi/tests/CMakeLists.txt b/akonadi/tests/CMakeLists.txt index 6c04f2eca..30e447d54 100644 --- a/akonadi/tests/CMakeLists.txt +++ b/akonadi/tests/CMakeLists.txt @@ -1,36 +1,34 @@ -kde4_header() if(KDE4_BUILD_TESTS) include_directories( ${CMAKE_SOURCE_DIR}/libakonadi ${CMAKE_SOURCE_DIR}/libakonadi/tests ) ########### next target ############### set(collectionbrowser_SRCS collectionbrowser.cpp ) kde4_automoc(${collectionbrowser_SRCS}) kde4_add_executable(collectionbrowser RUN_UNINSTALLED ${collectionbrowser_SRCS}) target_link_libraries(collectionbrowser akonadi ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(messagebrowser_SRCS messagebrowser.cpp ) kde4_automoc(${messagebrowser_SRCS}) kde4_add_executable(messagebrowser RUN_UNINSTALLED ${messagebrowser_SRCS}) target_link_libraries(messagebrowser akonadi ${KDE4_KDECORE_LIBS} ) ########### install files ############### endif(KDE4_BUILD_TESTS) -kde4_footer() diff --git a/gpgme++/CMakeLists.txt b/gpgme++/CMakeLists.txt index 120467175..d3f6ec2f5 100644 --- a/gpgme++/CMakeLists.txt +++ b/gpgme++/CMakeLists.txt @@ -1,105 +1,103 @@ -kde4_header() find_package( Gpgme ) configure_file(${CMAKE_CURRENT_SOURCE_DIR}/config-gpgmepp.h.cmake ${CMAKE_CURRENT_BINARY_DIR}/config-gpgmepp.h ) add_subdirectory( interfaces ) include_directories( ${GPGME_INCLUDES} ) ########### next target ############### set(gpgme_LIB_SRCS context.cpp key.cpp trustitem.cpp data.cpp callbacks.cpp eventloopinteractor.cpp keylistresult.cpp keygenerationresult.cpp importresult.cpp decryptionresult.cpp verificationresult.cpp signingresult.cpp encryptionresult.cpp engineinfo.cpp ) kde4_automoc(${gpgme_LIB_SRCS}) kde4_add_library(gpgme++ SHARED ${gpgme_LIB_SRCS}) #Laurent test it ! target_link_libraries(gpgme++ ${KDE4_KDECORE_LIBS} ${GPGME_LIBRARIES}) set_target_properties(gpgme++ PROPERTIES VERSION 1.0.0 SOVERSION 1 ) install_targets(${LIB_INSTALL_DIR} gpgme++ ) ########### install files ############### install_files( /include/gpgme++ FILES context.h key.h trustitem.h eventloopinteractor.h data.h gpgmefw.h result.h keylistresult.h keygenerationresult.h importresult.h decryptionresult.h verificationresult.h signingresult.h encryptionresult.h engineinfo.h ) -kde4_footer() #original Makefile.am contents follow: #KDE_OPTIONS = foreign ##AM_CXXFLAGS = -Wno-deprecated-declarations # #SUBDIRS = interfaces . # #INCLUDES = -I$(srcdir) -I$(top_srcdir) \ # $(GPGME_CFLAGS) $(all_includes) # #gpgmeppdir = $(includedir)/gpgme++ #gpgmepp_HEADERS = context.h \ # key.h \ # trustitem.h \ # eventloopinteractor.h \ # data.h \ # gpgmefw.h \ # result.h \ # keylistresult.h \ # keygenerationresult.h \ # importresult.h \ # decryptionresult.h \ # verificationresult.h \ # signingresult.h \ # encryptionresult.h \ # engineinfo.h # #noinst_HEADERS = context_p.h data_p.h shared.h callbacks.h gpgme-0-3-compat.h result_p.h util.h # #lib_LTLIBRARIES = libgpgme++.la #libgpgme___la_SOURCES = context.cpp \ # key.cpp \ # trustitem.cpp \ # data.cpp \ # callbacks.cpp \ # eventloopinteractor.cpp \ # keylistresult.cpp \ # keygenerationresult.cpp \ # importresult.cpp \ # decryptionresult.cpp \ # verificationresult.cpp \ # signingresult.cpp \ # encryptionresult.cpp \ # engineinfo.cpp # ## --version-info CURRENT:REVISION:AGE ## (Code changed: REVISION++) ## (Interfaces added/removed/changed: CURRENT++, REVISION=0) ## (Interfaces added: AGE++) ## (Interfaces removed/changed: AGE=0) #libgpgme___la_LDFLAGS = -no-undefined -version-info 2:0:2 #libgpgme___la_LIBADD = $(GPGME_LIBS) # #include $(top_srcdir)/admin/Doxyfile.am diff --git a/gpgme++/interfaces/CMakeLists.txt b/gpgme++/interfaces/CMakeLists.txt index e9d9827f5..c91a10f76 100644 --- a/gpgme++/interfaces/CMakeLists.txt +++ b/gpgme++/interfaces/CMakeLists.txt @@ -1,18 +1,16 @@ -kde4_header() ########### install files ############### install_files( /include/gpgme++/interfaces FILES ) -kde4_footer() #original Makefile.am contents follow: #gpgmeppinterfacesdir = $(includedir)/gpgme++/interfaces #gpgmeppinterfaces_HEADERS = editinteractor.h \ # passphraseprovider.h progressprovider.h diff --git a/kcal/CMakeLists.txt b/kcal/CMakeLists.txt index b025d27b3..112f90990 100644 --- a/kcal/CMakeLists.txt +++ b/kcal/CMakeLists.txt @@ -1,412 +1,410 @@ -kde4_header() ADD_DEFINITIONS(-DPACKAGE_DATA_DIR=\\""${CMAKE_INSTALL_PREFIX}${DATA_INSTALL_DIR}/libical"\\" ) # added manually include_directories( ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/ ${CMAKE_BINARY_DIR}/libkcal/libical/src/libicalss/ ${CMAKE_SOURCE_DIR}/libkcal/versit/ ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/ ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/ ${CMAKE_SOURCE_DIR}/ ${CMAKE_SOURCE_DIR}/ktnef ${CMAKE_SOURCE_DIR}/libemailfunctions ) set(ICALSCRIPTS ${CMAKE_SOURCE_DIR}/libkcal/libical/scripts/ ) set(PROPERTYDEPS ${ICALSCRIPTS}/mkderivedproperties.pl ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/properties.csv ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/value-types.csv ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedproperty.h.in ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedproperty.c.in ) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.h COMMAND ${PERL_EXECUTABLE} ARGS -I ${ICALSCRIPTS} ${ICALSCRIPTS}/mkderivedproperties.pl -i ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedproperty.h.in -h ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/properties.csv ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/value-types.csv > ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.h DEPENDS ${PROPERTYDEPS} ) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.c COMMAND ${PERL_EXECUTABLE} ARGS -I${ICALSCRIPTS} ${ICALSCRIPTS}/mkderivedproperties.pl -i ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedproperty.c.in -c ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/properties.csv ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/value-types.csv > ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.c DEPENDS ${PROPERTYDEPS} ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.h ) # files generated via add_custom_command are added automatically to the clean files, Alex #macro_additional_clean_files( # ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.c # ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.h #) set(PARAMETERDEPS ${ICALSCRIPTS}/mkderivedparameters.pl ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/parameters.csv ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedparameter.c.in ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedparameter.h.in ) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.h COMMAND ${PERL_EXECUTABLE} ARGS -I ${ICALSCRIPTS} ${ICALSCRIPTS}/mkderivedparameters.pl -i ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedparameter.h.in -h ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/parameters.csv > ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.h DEPENDS ${PARAMETERDEPS} ) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.c COMMAND ${PERL_EXECUTABLE} ARGS -I ${ICALSCRIPTS} ${ICALSCRIPTS}/mkderivedparameters.pl -i ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedparameter.c.in -c ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/parameters.csv > ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.c DEPENDS ${PARAMETERDEPS} ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.h ) #files generated via add_custom_command are added automatically to the clean files, Alex #macro_additional_clean_files( # ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.c # ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.h #) set(RESTRICTIONDEPS ${ICALSCRIPTS}/mkrestrictiontable.pl ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/restrictions.csv ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalrestriction.c.in ) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalrestriction.c COMMAND ${PERL_EXECUTABLE} ARGS -I ${ICALSCRIPTS} ${ICALSCRIPTS}/mkrestrictiontable.pl -i ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalrestriction.c.in ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/restrictions.csv > ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalrestriction.c DEPENDS ${RESTRICTIONDEPS} ) #files generated via add_custom_command are added automatically to the clean files, Alex #macro_additional_clean_files( ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalrestriction.c) set(VALUEDEPS ${CMAKE_SOURCE_DIR}/libkcal/libical/scripts/mkderivedvalues.pl ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/value-types.csv ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedvalue.c.in ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedvalue.h.in ) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.h COMMAND ${PERL_EXECUTABLE} ARGS -I${ICALSCRIPTS} ${ICALSCRIPTS}/mkderivedvalues.pl -i ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedvalue.h.in -h ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/value-types.csv > ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.h DEPENDS ${VALUEDEPS} ) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.c COMMAND ${PERL_EXECUTABLE} ARGS -I${ICALSCRIPTS} ${ICALSCRIPTS}/mkderivedvalues.pl -i ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalderivedvalue.c.in -c ${CMAKE_SOURCE_DIR}/libkcal/libical/design-data/value-types.csv > ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.c DEPENDS ${VALUEDEPS} ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.h ) #files generated via add_custom_command are added automatically to the clean files, Alex #macro_additional_clean_files( # ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.h # ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.c #) set(libversit_SRCS ${CMAKE_SOURCE_DIR}/libkcal/versit/vcc.c ${CMAKE_SOURCE_DIR}/libkcal/versit/vobject.c ) set(libical_SRCS ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/caldate.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalarray.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalattach.c ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalrecur.c ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalrestriction.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalcomponent.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalenums.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalerror.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalmemory.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalmime.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalparameter.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalparser.c ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalproperty.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icaltime.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalduration.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalperiod.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icaltimezone.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icaltypes.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icalvalue.c ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/pvl.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/sspm.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/vsnprintf.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libical/icallangbind.c ) set(libicalss_SRCS ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalcalendar.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalcalendar.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalclassify.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalclassify.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalcluster.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalcluster.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalclusterimpl.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalgauge.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalgauge.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalgaugeimpl.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icaldirset.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icaldirset.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icaldirsetimpl.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalfileset.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalfileset.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalfilesetimpl.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalset.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalset.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalssyacc.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalspanlist.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalspanlist.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalmessage.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalmessage.h ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalsslexer.c ${CMAKE_SOURCE_DIR}/libkcal/libical/src/libicalss/icalssyacc.c ) macro_additional_clean_files(${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/ical.h) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/ical.h COMMAND ${CMAKE_COMMAND} -DTOPS:FILEPATH=${CMAKE_SOURCE_DIR} -DTOPB:FILEPATH=${CMAKE_BINARY_DIR} -DKDE_FILE_H_FILE:FILEPATH=${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/ical.h -P ${CMAKE_SOURCE_DIR}/libkcal/ical_file.cmake DEPENDS ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedproperty.h ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedparameter.h ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/icalderivedvalue.h ) macro_additional_clean_files(${CMAKE_BINARY_DIR}/libical/src/libicalss/icalss.h) add_custom_command(OUTPUT ${CMAKE_BINARY_DIR}/libkcal/libical/src/libicalss/icalss.h COMMAND ${CMAKE_COMMAND} -DTOP:FILEPATH=${CMAKE_SOURCE_DIR} -DKDE_FILE_H_FILE:FILEPATH=${CMAKE_BINARY_DIR}/libkcal/libical/src/libicalss/icalss.h -P ${CMAKE_SOURCE_DIR}/libkcal/icalss_file.cmake ) ########### next target ############### set(kcal_LIB_SRCS ${libversit_SRCS} ${libical_SRCS} ${libicalss_SRCS} ${libemailfunctions_SRCS} incidencebase.cpp incidence.cpp journal.cpp todo.cpp event.cpp freebusy.cpp attendee.cpp attachment.cpp recurrencerule.cpp recurrence.cpp alarm.cpp customproperties.cpp calendar.cpp calendarlocal.cpp calformat.cpp vcalformat.cpp icalformat.cpp icalformatimpl.cpp incidenceformatter.cpp vcaldrag.cpp icaldrag.cpp exceptions.cpp scheduler.cpp imipscheduler.cpp dummyscheduler.cpp calfilter.cpp person.cpp period.cpp duration.cpp dndfactory.cpp filestorage.cpp compat.cpp resourcecalendar.cpp resourcelocal.cpp resourcelocalconfig.cpp resourcelocaldir.cpp resourcelocaldirconfig.cpp resourcecached.cpp resourcecachedconfig.cpp calendarresources.cpp qtopiaformat.cpp htmlexport.cpp calendarnull.cpp freebusyurlstore.cpp confirmsavedialog.cpp icaltimezones.cpp ) kde4_automoc(${kcal_LIB_SRCS}) kde4_add_kcfg_files(kcal_LIB_SRCS htmlexportsettings.kcfgc ) kde4_add_library(kcal SHARED ${kcal_LIB_SRCS}) target_link_libraries(kcal ${KDE4_KDE3SUPPORT_LIBS} ${QT_QTXML_LIBRARY} ktnef kresources kabc ) set_target_properties(kcal PROPERTIES VERSION 4.0.0 SOVERSION 4 ) install_targets(${LIB_INSTALL_DIR} kcal ) # hack to force ical[ss].h creation add_custom_target(ical-headers DEPENDS ${CMAKE_BINARY_DIR}/libkcal/libical/src/libical/ical.h ${CMAKE_BINARY_DIR}/libkcal/libical/src/libicalss/icalss.h ) add_dependencies(kcal ical-headers) ########### next target ############### set(kcal_local_PART_SRCS resourcelocal_plugin.cpp ) kde4_automoc(${kcal_local_PART_SRCS}) kde4_add_plugin(kcal_local ${kcal_local_PART_SRCS}) kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcal_local ) target_link_libraries(kcal_local ${KDE4_KDECORE_LIBS} kcal ) install_targets(${PLUGIN_INSTALL_DIR} kcal_local ) ########### next target ############### set(kcal_localdir_PART_SRCS resourcelocaldir_plugin.cpp ) kde4_automoc(${kcal_localdir_PART_SRCS}) kde4_add_plugin(kcal_localdir ${kcal_localdir_PART_SRCS}) kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kcal_localdir ) target_link_libraries(kcal_localdir ${KDE4_KDECORE_LIBS} kcal ) install_targets(${PLUGIN_INSTALL_DIR} kcal_localdir ) ########### next target ############### set(convertqtopia_SRCS convertqtopia.cpp ) kde4_automoc(${convertqtopia_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(convertqtopia ${convertqtopia_SRCS}) target_link_libraries(convertqtopia ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) add_subdirectory( libical ) add_subdirectory( versit ) add_subdirectory( tests ) ########### install files ############### install_files( ${SERVICES_INSTALL_DIR}/kresources/kcal FILES local.desktop localdir.desktop ) install_files( /include/libkcal FILES alarm.h attachment.h attendee.h calendar.h calendarlocal.h calendarnull.h calendarresources.h calfilter.h calformat.h calstorage.h customproperties.h dndfactory.h duration.h event.h exceptions.h filestorage.h freebusy.h htmlexportsettings.h htmlexport.h icaldrag.h icalformat.h icaltimezones.h incidencebase.h incidence.h incidenceformatter.h journal.h kcalversion.h listbase.h period.h person.h qtopiaformat.h recurrencerule.h recurrence.h resourcecached.h resourcecalendar.h resourcelocalconfig.h resourcelocaldirconfig.h resourcelocaldir.h resourcelocal.h scheduler.h libkcal_export.h todo.h vcaldrag.h vcalformat.h ) install_files( ${SERVICES_INSTALL_DIR}/kresources FILES kcal_manager.desktop ) -kde4_footer() #original Makefile.am contents follow: #SUBDIRS = libical versit tests # #INCLUDES = -I$(srcdir)/libical/src/libical \ # -I$(srcdir)/libical/src/libicalss -I./libical/src/libical \ # -I./libical/src/libicalss -I$(srcdir)/versit -I$(top_srcdir)/ \ # -I$(top_srcdir)/ktnef \ # -I$(top_srcdir)/libemailfunctions \ # -I$(top_srcdir)/libkmime \ # $(all_includes) # #lib_LTLIBRARIES = libkcal.la #libkcal_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 2:0:0 #libkcal_la_LIBADD = versit/libversit.la $(LIB_KIO) \ # ./libical/src/libical/libical.la \ # ./libical/src/libicalss/libicalss.la \ # $(top_builddir)/ktnef/lib/libktnef.la \ # ../libemailfunctions/libemailfunctions.la \ # $(top_builddir)/libkmime/libkmime.la \ # -lkresources -lkabc $(LIB_KDE3SUPPORT) # #libkcal_la_COMPILE_FIRST = ./libical/src/libical/ical.h ./libical/src/libicalss/icalss.h #libkcal_la_SOURCES = \ # incidencebase.cpp incidence.cpp journal.cpp todo.cpp event.cpp \ # freebusy.cpp attendee.cpp attachment.cpp recurrencerule.cpp recurrence.cpp alarm.cpp \ # customproperties.cpp calendar.cpp calendarlocal.cpp \ # calformat.cpp vcalformat.cpp icalformat.cpp icalformatimpl.cpp \ # incidenceformatter.cpp \ # vcaldrag.cpp icaldrag.cpp \ # exceptions.cpp \ # scheduler.cpp imipscheduler.cpp dummyscheduler.cpp \ # calfilter.cpp \ # person.cpp period.cpp duration.cpp \ # dndfactory.cpp \ # filestorage.cpp \ # compat.cpp \ # resourcecalendar.cpp resourcelocal.cpp resourcelocalconfig.cpp \ # resourcelocaldir.cpp resourcelocaldirconfig.cpp \ # resourcecached.cpp resourcecachedconfig.cpp \ # calendarresources.cpp \ # qtopiaformat.cpp \ # htmlexportsettings.kcfgc htmlexport.cpp calendarnull.cpp \ # freebusyurlstore.cpp \ # confirmsavedialog.cpp icaltimezones.cpp # #libkcalincludedir = $(includedir)/libkcal #libkcalinclude_HEADERS = alarm.h attachment.h attendee.h calendar.h \ # calendarlocal.h calendarnull.h calendarresources.h calfilter.h calformat.h \ # calstorage.h customproperties.h dndfactory.h duration.h event.h \ # exceptions.h filestorage.h freebusy.h htmlexportsettings.h htmlexport.h icaldrag.h \ # icalformat.h icaltimezones.h incidencebase.h incidence.h incidenceformatter.h \ # journal.h kcalversion.h listbase.h period.h person.h \ # qtopiaformat.h recurrencerule.h recurrence.h resourcecached.h resourcecalendar.h \ # resourcelocalconfig.h resourcelocaldirconfig.h resourcelocaldir.h \ # resourcelocal.h scheduler.h libkcal_export.h \ # todo.h vcaldrag.h vcalformat.h # #kde_module_LTLIBRARIES = kcal_local.la kcal_localdir.la # #kcal_local_la_SOURCES = resourcelocal_plugin.cpp #kcal_local_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) #kcal_local_la_LIBADD = libkcal.la # #kcal_localdir_la_SOURCES = resourcelocaldir_plugin.cpp #kcal_localdir_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) #kcal_localdir_la_LIBADD = libkcal.la # #EXTRA_PROGRAMS = convertqtopia #convertqtopia_SOURCES = convertqtopia.cpp #convertqtopia_LDADD = libkcal.la # #servicedir = $(kde_servicesdir)/kresources/kcal #service_DATA = local.desktop localdir.desktop # #manager_DATA = kcal_manager.desktop #managerdir = $(kde_servicesdir)/kresources # #METASOURCES = AUTO # #messages: rc.cpp # $(XGETTEXT) *.cpp -o $(podir)/libkcal.pot # #DOXYGEN_EXCLUDE = libical #DOXYGEN_REFERENCES=kresources #include $(top_srcdir)/admin/Doxyfile.am diff --git a/kcal/libical/CMakeLists.txt b/kcal/libical/CMakeLists.txt index 8f4b6ff5f..84e0963c5 100644 --- a/kcal/libical/CMakeLists.txt +++ b/kcal/libical/CMakeLists.txt @@ -1,30 +1,28 @@ -kde4_header() add_subdirectory( doc ) add_subdirectory( scripts ) add_subdirectory( src ) add_subdirectory( zoneinfo ) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: # #KDE_OPTIONS = foreign # #EXTRA_DIST = \ # ChangeLog \ # README \ # TEST \ # TODO # #SUBDIRS = doc scripts src zoneinfo # diff --git a/kcal/libical/design-data/CMakeLists.txt b/kcal/libical/design-data/CMakeLists.txt index 25215d2c6..4cd44d6d0 100644 --- a/kcal/libical/design-data/CMakeLists.txt +++ b/kcal/libical/design-data/CMakeLists.txt @@ -1,20 +1,18 @@ -kde4_header() ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #EXTRA_DIST =\ # properties.csv \ # parameters.csv \ # restrictions.csv \ # status.txt \ # value-types.csv diff --git a/kcal/libical/doc/CMakeLists.txt b/kcal/libical/doc/CMakeLists.txt index 46a4b9baf..bc66e9dde 100644 --- a/kcal/libical/doc/CMakeLists.txt +++ b/kcal/libical/doc/CMakeLists.txt @@ -1,15 +1,13 @@ -kde4_header() ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #EXTRA_DIST = UsingLibical.lyx UsingLibical.ps UsingLibical.txt diff --git a/kcal/libical/examples/CMakeLists.txt b/kcal/libical/examples/CMakeLists.txt index ba4163ae5..57f2a73bf 100644 --- a/kcal/libical/examples/CMakeLists.txt +++ b/kcal/libical/examples/CMakeLists.txt @@ -1,46 +1,44 @@ -kde4_header() ########### next target ############### set(doesnothing_SRCS access_components.c access_properties_and_parameters.c errors.c main.c parse_text.c ) kde4_automoc(${doesnothing_SRCS}) kde4_add_executable(doesnothing ${doesnothing_SRCS}) target_link_libraries(doesnothing ${KDE4_KDECORE_LIBS} ical icalss icalvcal ) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: # #noinst_PROGRAMS = doesnothing # #doesnothing_LDADD = ../src/libical/libical.la ../src/libicalss/libicalss.la ../src/libicalvcal/libicalvcal.la # ##LIBS = @PTHREAD_LIBS@ # #INCLUDES = -I. -I../src/libical -I../src/libicalss -I../src/libicalvcal # #doesnothing_SOURCES = \ # access_components.c \ # access_properties_and_parameters.c \ # errors.c \ # main.c \ # parse_text.c # diff --git a/kcal/libical/scripts/CMakeLists.txt b/kcal/libical/scripts/CMakeLists.txt index d7f4304c3..8e165e66d 100644 --- a/kcal/libical/scripts/CMakeLists.txt +++ b/kcal/libical/scripts/CMakeLists.txt @@ -1,23 +1,21 @@ -kde4_header() ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #EXTRA_DIST = \ #mkderivedcomponents.pl \ #mkderivedparameters.pl \ #mkderivedproperties.pl \ #mkderivedvalues.pl \ #mkparameterrestrictions.pl \ #mkrestrictionrecords.pl \ #mkrestrictiontable.pl \ #readvaluesfile.pl diff --git a/kcal/libical/src/CMakeLists.txt b/kcal/libical/src/CMakeLists.txt index 18b96ff37..5ed435d3d 100644 --- a/kcal/libical/src/CMakeLists.txt +++ b/kcal/libical/src/CMakeLists.txt @@ -1,18 +1,16 @@ -kde4_header() add_subdirectory( libical ) add_subdirectory( libicalss ) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #SUBDIRS = libical libicalss diff --git a/kcal/libical/src/libical/CMakeLists.txt b/kcal/libical/src/libical/CMakeLists.txt index 72b67ac45..47f1e14d0 100644 --- a/kcal/libical/src/libical/CMakeLists.txt +++ b/kcal/libical/src/libical/CMakeLists.txt @@ -1,257 +1,255 @@ -kde4_header() include_directories( ${CMAKE_SOURCE_DIR}/libkcal/libical/src ) ########### next target ############### ########### install files ############### -kde4_footer() #original Makefile.am contents follow: ##====================================================================== ## FILE: Makefile.am ## CREATOR: eric ## ## $Id$ ## ## ## (C) COPYRIGHT 2000, Eric Busboom, http://www.softwarestudio.org ## ## This program is free software; you can redistribute it and/or modify ## it under the terms of either: ## ## The LGPL as published by the Free Software Foundation, version ## 2.1, available at: http://www.fsf.org/copyleft/lesser.html ## ## Or: ## ## The Mozilla Public License Version 1.0. You may obtain a copy of ## the License at http://www.mozilla.org/MPL/ ## ## The original code is icalcomponent.c ## ##====================================================================== # # #DESIGNDATA = $(srcdir)/../../design-data #ICALSCRIPTS = $(srcdir)/../../scripts # #noinst_LTLIBRARIES = libical.la # #AM_CPPFLAGS = -DPACKAGE_DATA_DIR=\""$(kde_datadir)/libical"\" # #AM_YFLAGS = -d -v -t -pical_yy #AM_LFLAGS = -Pical_yy -olex.yy.c # #INCLUDES = \ # -I$(top_builddir)/libkcal/libical \ # -I$(top_srcdir)/libkcal/libical/src \ # -I$(top_builddir)/libkcal/libical/src \ # -I$(srcdir) # #libical_la_LDFLAGS = -no-undefined # ## Order is important! #libical_la_SOURCES = \ # caldate.c \ # icalarray.c \ # icalattach.c \ # icalderivedparameter.c \ # icalrecur.c \ # icalrestriction.c \ # icalcomponent.c \ # icalenums.c \ # icalerror.c \ # icalmemory.c \ # icalmime.c \ # icalparameter.c \ # icalparser.c \ # icalderivedproperty.c \ # icalproperty.c \ # icaltime.c \ # icalduration.c \ # icalperiod.c \ # icaltimezone.c \ # icaltypes.c \ # icalvalue.c \ # icalderivedvalue.c \ # pvl.c \ # sspm.c \ # vsnprintf.c \ # icallangbind.c # # #noinst_HEADERS = ical.h \ # astime.h \ # icalarray.h \ # icalattach.h \ # icalattachimpl.h \ # icalderivedparameter.h \ # icalrecur.h \ # icalcomponent.h \ # icalenums.h \ # icalerror.h \ # icalmemory.h \ # icalmime.h \ # icalparameter.h \ # icalparameterimpl.h \ # icalparser.h \ # icalderivedproperty.h \ # icalproperty.h \ # icaltime.h \ # icalduration.h \ # icalperiod.h \ # icaltimezone.h \ # icaltypes.h \ # icalvalue.h \ # icalvalueimpl.h \ # icalderivedvalue.h \ # pvl.h \ # sspm.h \ # icallangbind.h # ## ORDERING OF HEADERS IS SIGNIFICANT. Don't change this ordering. It ## is required to make the combined header ical.h properly #COMBINEDHEADERS = \ # $(srcdir)/icalversion.h \ # $(srcdir)/icaltime.h \ # $(srcdir)/icalduration.h \ # $(srcdir)/icalperiod.h \ # $(srcdir)/icalenums.h \ # $(srcdir)/icaltypes.h \ # $(srcdir)/icalrecur.h \ # $(srcdir)/icalattach.h \ # icalderivedvalue.h \ # icalderivedparameter.h \ # $(srcdir)/icalvalue.h \ # $(srcdir)/icalparameter.h \ # icalderivedproperty.h \ # $(srcdir)/icalproperty.h \ # $(srcdir)/pvl.h \ # $(srcdir)/icalarray.h \ # $(srcdir)/icalcomponent.h \ # $(srcdir)/icaltimezone.h \ # $(srcdir)/icalparser.h \ # $(srcdir)/icalmemory.h \ # $(srcdir)/icalerror.h \ # $(srcdir)/icalrestriction.h \ # $(srcdir)/sspm.h \ # $(srcdir)/icalmime.h \ # $(srcdir)/icallangbind.h # #ical.h: $(COMBINEDHEADERS) # echo '#ifdef __cplusplus' > ical.h # echo 'extern "C" {' >> ical.h # echo '#endif' >> ical.h # echo '/*' >> ical.h # echo ' $$''Id''$$' >> ical.h # echo '*/' >> ical.h # cat $(COMBINEDHEADERS) \ # | egrep -v "#include.*\"ical" \ # | egrep -v "#include.*\"config" \ # | egrep -v "#include.*\"pvl\.h\"" \ # | egrep -v '\$$(Id|Locker): .+\$$'>> ical.h # echo '#ifdef __cplusplus' >> ical.h # echo '}' >> ical.h # echo '#endif' >> ical.h # ## parameters # #PARAMETERDEPS = \ # $(ICALSCRIPTS)/mkderivedparameters.pl \ # $(DESIGNDATA)/parameters.csv \ # icalderivedparameter.c.in \ # icalderivedparameter.h.in # #icalderivedparameter.h: $(PARAMETERDEPS) # $(PERL) -I $(ICALSCRIPTS) $(ICALSCRIPTS)/mkderivedparameters.pl -i $(srcdir)/icalderivedparameter.h.in -h $(DESIGNDATA)/parameters.csv > icalderivedparameter.h || rm -f icalderivedparameter.h # # #icalderivedparameter.c: $(PARAMETERDEPS) icalparameter.h # $(PERL) -I $(ICALSCRIPTS) $(ICALSCRIPTS)/mkderivedparameters.pl -i $(srcdir)/icalderivedparameter.c.in -c $(DESIGNDATA)/parameters.csv > icalderivedparameter.c || rm -f icalderivedparameter.c # # ## properties # #PROPERTYDEPS = \ # $(ICALSCRIPTS)/mkderivedproperties.pl \ # $(DESIGNDATA)/properties.csv \ # $(DESIGNDATA)/value-types.csv \ # icalderivedproperty.c.in \ # icalderivedproperty.h.in # # #icalderivedproperty.h: $(PROPERTYDEPS) # $(PERL) -I$(ICALSCRIPTS) $(ICALSCRIPTS)/mkderivedproperties.pl \ # -i $(srcdir)/icalderivedproperty.h.in -h $(DESIGNDATA)/properties.csv\ # ${DESIGNDATA}/value-types.csv > icalderivedproperty.h || rm -f icalderivedproperty.h # #icalderivedproperty.c: $(PROPERTYDEPS) icalproperty.h # $(PERL) -I$(ICALSCRIPTS) $(ICALSCRIPTS)/mkderivedproperties.pl \ # -i $(srcdir)/icalderivedproperty.c.in -c $(DESIGNDATA)/properties.csv \ # ${DESIGNDATA}/value-types.csv > icalderivedproperty.c || rm -f icalderivedproperty.c # ## restrictions # #RESTRICTIONDEPS = \ # $(ICALSCRIPTS)/mkrestrictiontable.pl \ # $(DESIGNDATA)/restrictions.csv \ # icalrestriction.c.in # #icalrestriction.c: $(RESTRICTIONDEPS) # $(PERL) $(ICALSCRIPTS)/mkrestrictiontable.pl -i $(srcdir)/icalrestriction.c.in \ # $(DESIGNDATA)/restrictions.csv > icalrestriction.c || rm -f icalrestriction.c # ## values # #VALUEDEPS = \ # $(ICALSCRIPTS)/mkderivedvalues.pl \ # $(DESIGNDATA)/value-types.csv \ # icalderivedvalue.c.in \ # icalderivedvalue.h.in # #icalderivedvalue.h: $(VALUEDEPS) # $(PERL) -I$(ICALSCRIPTS) $(ICALSCRIPTS)/mkderivedvalues.pl \ # -i $(srcdir)/icalderivedvalue.h.in -h $(DESIGNDATA)/value-types.csv > icalderivedvalue.h || rm -f icalderivedvalue.h # #icalderivedvalue.c: $(VALUEDEPS) icalderivedvalue.h # $(PERL) -I$(ICALSCRIPTS) $(ICALSCRIPTS)/mkderivedvalues.pl \ # -i $(srcdir)/icalderivedvalue.c.in -c $(DESIGNDATA)/value-types.csv > icalderivedvalue.c || rm -f icalderivedvalue.c # ## housekeeping #CLEANFILES = y.output \ # icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h ical.h \ # icalderivedvalue.c icalderivedproperty.c icalderivedparameter.c \ # icalrestriction.c # #EXTRA_DIST = \ # icalderivedparameter.c.in \ # icalderivedparameter.h.in \ # icalderivedproperty.c.in \ # icalderivedproperty.h.in \ # icalrestriction.c.in \ # icalderivedvalue.c.in \ # icalderivedvalue.h.in \ # icalversion.h.in # # #icalcomponent.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalderivedparameter.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalderivedproperty.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalderivedvalue.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalduration.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icallangbind.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalmime.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalparameter.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalparser.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalproperty.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalrestriction.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icaltime.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h #icalvalue.lo: icalderivedvalue.h icalderivedproperty.h icalderivedparameter.h diff --git a/kcal/libical/src/libicalss/CMakeLists.txt b/kcal/libical/src/libicalss/CMakeLists.txt index eaa02d41b..ddf98d4a6 100644 --- a/kcal/libical/src/libicalss/CMakeLists.txt +++ b/kcal/libical/src/libicalss/CMakeLists.txt @@ -1,89 +1,87 @@ -kde4_header() ########### next target ############### ########### install files ############### -kde4_footer() #original Makefile.am contents follow: # #noinst_LTLIBRARIES = libicalss.la # #AM_YFLAGS =-d -v -p ss #AM_LFLAGS = -Pss #LEX_OUTPUT_ROOT = lex.ss # #INCLUDES = -I../libical -I$(srcdir)/../libical # #libicalss_la_SOURCES = \ # icalcalendar.c \ # icalcalendar.h \ # icalclassify.c \ # icalclassify.h \ # icalcluster.c \ # icalcluster.h \ # icalclusterimpl.h \ # icalgauge.c \ # icalgauge.h \ # icalgaugeimpl.h \ # icaldirset.c \ # icaldirset.h \ # icaldirsetimpl.h \ # icalfileset.c \ # icalfileset.h \ # icalfilesetimpl.h \ # icalset.c \ # icalset.h \ # icalssyacc.h \ # icalspanlist.c \ # icalspanlist.h \ # icalmessage.c \ # icalmessage.h \ # icalsslexer.c \ # icalssyacc.c # ## We don't need icalss.h, but it needs to be built... #libicalss_la_COMPILE_FIRST = ../libical/ical.h icalss.h # #COMBINEDHEADERS = \ # $(srcdir)/icalgauge.h \ # $(srcdir)/icalset.h \ # $(srcdir)/icalcluster.h \ # $(srcdir)/icalfileset.h \ # $(srcdir)/icaldirset.h \ # $(srcdir)/icalcalendar.h \ # $(srcdir)/icalclassify.h \ # $(srcdir)/icalspanlist.h \ # $(srcdir)/icalmessage.h # #icalss.h: $(COMBINEDHEADERS) # echo '#ifdef __cplusplus' > icalss.h # echo 'extern "C" {' >> icalss.h # echo '#endif' >> icalss.h # echo '/*' >> icalss.h # echo ' $$''Id''$$' >> icalss.h # echo '*/' >> icalss.h # cat $(COMBINEDHEADERS) \ # | egrep -v "#include.*\"ical" \ # | egrep -v "#include.*\"pvl\.h\"" \ # | egrep -v '\$$(Id|Locker): .+\$$'>> icalss.h # echo '#ifdef __cplusplus' >> icalss.h # echo '}' >> icalss.h # echo '#endif' >> icalss.h # #noinst_HEADERS = icalss.h icalcalendar.h icalclassify.h icalcluster.h \ # icaldirset.h icaldirsetimpl.h icalfileset.h icalfilesetimpl.h \ # icalgauge.h icalgaugeimpl.h icalmessage.h icalset.h \ # icalspanlist.h icalssyacc.h # #CLEANFILES = y.output icalss.h # diff --git a/kcal/libical/src/test/CMakeLists.txt b/kcal/libical/src/test/CMakeLists.txt index efa366ca4..92b619695 100644 --- a/kcal/libical/src/test/CMakeLists.txt +++ b/kcal/libical/src/test/CMakeLists.txt @@ -1,142 +1,140 @@ -kde4_header() ########### next target ############### set(copycluster_SRCS copycluster.c ) kde4_automoc(${copycluster_SRCS}) kde4_add_executable(copycluster ${copycluster_SRCS}) target_link_libraries(copycluster ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(regression_SRCS regression.c regression.h regression-component.c regression-classify.c regression-utils.c regression-recur.c regression-storage.c ) kde4_automoc(${regression_SRCS}) kde4_add_executable(regression ${regression_SRCS}) target_link_libraries(regression ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(parser_SRCS icaltestparser.c ) kde4_automoc(${parser_SRCS}) kde4_add_executable(parser ${parser_SRCS}) target_link_libraries(parser ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(stow_SRCS stow.c ) kde4_automoc(${stow_SRCS}) kde4_add_executable(stow ${stow_SRCS}) target_link_libraries(stow ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(recur_SRCS recur.c ) kde4_automoc(${recur_SRCS}) kde4_add_executable(recur ${recur_SRCS}) target_link_libraries(recur ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(testmime_SRCS testmime.c ) kde4_automoc(${testmime_SRCS}) kde4_add_executable(testmime ${testmime_SRCS}) target_link_libraries(testmime ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(testvcal_SRCS testvcal.c ) kde4_automoc(${testvcal_SRCS}) kde4_add_executable(testvcal ${testvcal_SRCS}) target_link_libraries(testvcal ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(process_SRCS process.c ) kde4_automoc(${process_SRCS}) kde4_add_executable(process ${process_SRCS}) target_link_libraries(process ${KDE4_KDECORE_LIBS} ) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #noinst_PROGRAMS = copycluster regression parser stow recur testmime testvcal process # #LDADD = ../libicalss/.libs/libicalss.a ../libicalvcal/.libs/libicalvcal.a ../libical/.libs/libical.a # ##LIBS = @PTHREAD_LIBS@ # #INCLUDES = \ # -I. \ # -I../libicalvcal \ # -I$(srcdir)/../libicalvcal \ # -I$(srcdir) \ # -I../libical \ # -I$(srcdir)/../libical \ # -I../libicalss \ # -I$(srcdir)/../libicalss # #TESTS=regression #copycluster_SOURCES = copycluster.c #regression_SOURCES = \ # regression.c \ # regression.h \ # regression-component.c \ # regression-classify.c \ # regression-utils.c \ # regression-recur.c \ # regression-storage.c # #parser_SOURCES = icaltestparser.c #stow_SOURCES = stow.c #testvcal_SOURCES = testvcal.c #recur_SOURCES = recur.c #testmime_SOURCES = testmime.c #process_SOURCES = process.c diff --git a/kcal/libical/test-data/CMakeLists.txt b/kcal/libical/test-data/CMakeLists.txt index 0738f2d77..a0adf0de8 100644 --- a/kcal/libical/test-data/CMakeLists.txt +++ b/kcal/libical/test-data/CMakeLists.txt @@ -1,41 +1,39 @@ -kde4_header() ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #EXTRA_DIST = \ #0 \ #1 \ #1.1 \ #2 \ #2445.ics \ #2446.ics \ #3 \ #4 \ #5 \ #6 \ #7 \ #smallcluster.ics \ #recur.txt \ #user-cal.vcf \ #complex-mime.txt \ #simple-mime.txt \ #stresstest.ics \ #classify.ics \ #incoming.ics \ #process-incoming.ics \ #calendar.ics \ #restriction.ics \ #overlaps.ics \ #spanlist.ics # # diff --git a/kcal/libical/zoneinfo/CMakeLists.txt b/kcal/libical/zoneinfo/CMakeLists.txt index e9bc9abf4..f59ee22c0 100644 --- a/kcal/libical/zoneinfo/CMakeLists.txt +++ b/kcal/libical/zoneinfo/CMakeLists.txt @@ -1,52 +1,50 @@ -kde4_header() ########### install files ############### install_files( ${DATA_INSTALL_DIR}/libical/zoneinfo FILES zones.tab ) -kde4_footer() #original Makefile.am contents follow: # #zoneinfodir = $(kde_datadir)/libical/zoneinfo # #zoneinfo_DATA = zones.tab # #DIRS = \ # Africa \ # America \ # America/Indiana \ # America/Kentucky \ # Antarctica \ # Arctic \ # Asia \ # Atlantic \ # Australia \ # Europe \ # Indian \ # Pacific # # #install-data-local: # for dir in $(DIRS); do \ # $(mkinstalldirs) $(DESTDIR)$(zoneinfodir)/$$dir; \ # for tzfile in $(srcdir)/$$dir/*.ics; do \ # $(INSTALL_DATA) $$tzfile $(DESTDIR)$(zoneinfodir)/$$dir; \ # done \ # done # #dist-hook: # for dir in $(DIRS); do \ # mkdir $(distdir)/$$dir; \ # for tzfile in $(srcdir)/$$dir/*.ics; do \ # cp -p $$tzfile $(distdir)/$$dir; \ # done \ # done # #EXTRA_DIST = $(zoneinfo_DATA) diff --git a/kcal/tests/CMakeLists.txt b/kcal/tests/CMakeLists.txt index 12a706232..b69e1bf84 100644 --- a/kcal/tests/CMakeLists.txt +++ b/kcal/tests/CMakeLists.txt @@ -1,352 +1,350 @@ -kde4_header() # Test apps should be in the bin dir so that add_test can locate them set(EXECUTABLE_OUTPUT_PATH ${CMAKE_CURRENT_BINARY_DIR} ) include_directories( ${CMAKE_SOURCE_DIR}/libkcal ${CMAKE_BINARY_DIR}/libkcal/libical/src ) ########### next target ############### set(loadcalendar_SRCS loadcalendar.cpp ) kde4_automoc(${loadcalendar_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(loadcalendar ${loadcalendar_SRCS}) target_link_libraries(loadcalendar ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testtostring_SRCS testtostring.cpp ) kde4_automoc(${testtostring_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testtostring ${testtostring_SRCS}) target_link_libraries(testtostring ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testincidence_SRCS testincidence.cpp ) kde4_automoc(${testincidence_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testincidence ${testincidence_SRCS}) target_link_libraries(testincidence ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testcalendar_SRCS testcalendar.cpp ) kde4_automoc(${testcalendar_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testcalendar ${testcalendar_SRCS}) target_link_libraries(testcalendar ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(readandwrite_SRCS readandwrite.cpp ) kde4_automoc(${readandwrite_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(readandwrite ${readandwrite_SRCS}) target_link_libraries(readandwrite ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testresource_SRCS testresource.cpp ) kde4_automoc(${testresource_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testresource ${testresource_SRCS}) target_link_libraries(testresource ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testfields_SRCS testfields.cpp ) set_source_files_properties( ${testfields_SRCS} PROPERTIES COMPILE_FLAGS -DINPUT='"$(srcdir)/data/test_pilot.ics"' ) kde4_automoc(${testfields_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testfields ${testfields_SRCS}) target_link_libraries(testfields ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testrecurrence_SRCS testrecurrence.cpp ) kde4_automoc(${testrecurrence_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testrecurrence RUN_UNINSTALLED ${testrecurrence_SRCS}) target_link_libraries(testrecurrence ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testrecurprevious_SRCS testrecurprevious.cpp ) kde4_automoc(${testrecurprevious_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testrecurprevious RUN_UNINSTALLED ${testrecurprevious_SRCS}) target_link_libraries(testrecurprevious ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testrecurson_SRCS testrecurson.cpp ) kde4_automoc(${testrecurson_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testrecurson RUN_UNINSTALLED ${testrecurson_SRCS}) target_link_libraries(testrecurson ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testrecurrencetype_SRCS testrecurrencetype.cpp ) kde4_automoc(${testrecurrencetype_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testrecurrencetype RUN_UNINSTALLED ${testrecurrencetype_SRCS}) target_link_libraries(testrecurrencetype ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testicaltimezones_SRCS testicaltimezones.cpp ) kde4_automoc(${testicaltimezones_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testicaltimezones RUN_UNINSTALLED ${testicaltimezones_SRCS}) target_link_libraries(testicaltimezones ${KDE4_KDECORE_LIBS} kcal ${QT_QTTEST_LIBRARY}) add_test(libkcal-testicaltimezones ${EXECUTABLE_OUTPUT_PATH}/testicaltimezones) endif(KDE4_BUILD_TESTS) ########### next target ############### set(testvcalexport_SRCS testvcalexport.cpp ) kde4_automoc(${testvcalexport_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(testvcalexport RUN_UNINSTALLED ${testvcalexport_SRCS}) target_link_libraries(testvcalexport ${KDE4_KDECORE_LIBS} kcal ) endif(KDE4_BUILD_TESTS) ########### install files ############### ########### Tests ####################### if(KDE4_BUILD_TESTS) FILE( GLOB_RECURSE testFiles data/RecurrenceRule/*.ics ) FILE( GLOB_RECURSE compatFiles data/Compat/*.ics ) FILE( GLOB_RECURSE vCalFilesAsIcal data/vCalendar/*.ics ) FILE( GLOB_RECURSE vCalFiles data/vCalendar/*.vcs ) FOREACH( file ${testFiles} ) GET_FILENAME_COMPONENT( fn ${file} NAME) ADD_TEST( RecurNext-${fn} ${CMAKE_CURRENT_SOURCE_DIR}/runsingletestcase.pl ${EXECUTABLE_OUTPUT_PATH}/testrecurrence "next" ${file} ) ENDFOREACH(file) FOREACH( file ${testFiles} ) GET_FILENAME_COMPONENT( fn ${file} NAME) ADD_TEST( RecurPrev-${fn} ${CMAKE_CURRENT_SOURCE_DIR}/runsingletestcase.pl ${EXECUTABLE_OUTPUT_PATH}/testrecurprevious "prev" ${file} ) ENDFOREACH(file) FOREACH( file ${testFiles} ) GET_FILENAME_COMPONENT( fn ${file} NAME) ADD_TEST( RecursOn-${fn} ${CMAKE_CURRENT_SOURCE_DIR}/runsingletestcase.pl ${EXECUTABLE_OUTPUT_PATH}/testrecurson "recurson" ${file} ) ENDFOREACH(file) FOREACH( file ${compatFiles} ) GET_FILENAME_COMPONENT( fn ${file} NAME) ADD_TEST( Compat-${fn} ${CMAKE_CURRENT_SOURCE_DIR}/runsingletestcase.pl ${EXECUTABLE_OUTPUT_PATH}/readandwrite "ical" ${file} ) ENDFOREACH(file) FOREACH( file ${vCalFilesAsIcal} ) GET_FILENAME_COMPONENT( fn ${file} NAME) ADD_TEST( VCalOut-${fn} ${CMAKE_CURRENT_SOURCE_DIR}/runsingletestcase.pl ${EXECUTABLE_OUTPUT_PATH}/textvcalexport "vcal" ${file} ) ENDFOREACH(file) FOREACH( file ${vCalFiles} ) GET_FILENAME_COMPONENT( fn ${file} NAME) ADD_TEST( VCalIn-${fn} ${CMAKE_CURRENT_SOURCE_DIR}/runsingletestcase.pl ${EXECUTABLE_OUTPUT_PATH}/readandwrite "ical" ${file} ) ENDFOREACH(file) # ADD_TEST( TestRecurrence runtestcase.pl testrecurrence "next" ${CMAKE_CURRENT_SOURCE_DIR} data/RecurrenceRule/ "*.ics" ) # ADD_TEST( TestRecPrevious runtestcase.pl testrecurprevious "prev" ${CMAKE_CURRENT_SOURCE_DIR} data/RecurrenceRule/ "*.ics" ) # ADD_TEST( TestRecursOn runtestcase.pl testrecurson "recurson" ${CMAKE_CURRENT_SOURCE_DIR} data/RecurrenceRule/ "*.ics" ) # ADD_TEST( TestCompat runtestcase.pl readandwrite "ical" ${CMAKE_CURRENT_SOURCE_DIR} data/Compat/ "*.ics" ) # ADD_TEST( TestVCal runtestcase.pl testvcalexport "vcal" ${CMAKE_CURRENT_SOURCE_DIR} data/vCalendar/ "*.ics" ) # ADD_TEST( TestFromVCal runtestcase.pl readandwrite "ical" ${CMAKE_CURRENT_SOURCE_DIR} data/vCalendar/ "*.vcs" ) endif(KDE4_BUILD_TESTS) -kde4_footer() #original Makefile.am contents follow: #INCLUDES = -I$(top_srcdir)/libkcal -I$(top_builddir)/libkcal/libical/src \ # -Iqttestlib $(all_includes) # # #check_PROGRAMS = loadcalendar \ # testtostring \ # testincidence \ # testcalendar \ # readandwrite \ # testresource \ # testfields \ # testrecurrence \ # testrecurprevious \ # testrecurson \ # testrecurrencetype \ # testicaltimezones \ # testvcalexport # # #METASOURCES = AUTO # #loadcalendar_SOURCES = loadcalendar.cpp #loadcalendar_LDFLAGS = $(all_libraries) $(KDE_RPATH) #loadcalendar_LDADD = ../libkcal.la # #testincidence_SOURCES = testincidence.cpp #testincidence_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testincidence_LDADD = ../libkcal.la # #testcalendar_SOURCES = testcalendar.cpp #testcalendar_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testcalendar_LDADD = ../libkcal.la # #testtostring_SOURCES = testtostring.cpp #testtostring_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testtostring_LDADD = ../libkcal.la # #readandwrite_SOURCES = readandwrite.cpp #readandwrite_LDFLAGS = $(all_libraries) $(KDE_RPATH) #readandwrite_LDADD = ../libkcal.la # #testresource_SOURCES = testresource.cpp #testresource_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testresource_LDADD = ../libkcal.la # #testrecurrence_SOURCES = testrecurrence.cpp #testrecurrence_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testrecurrence_LDADD = ../libkcal.la # #testrecurprevious_SOURCES = testrecurprevious.cpp #testrecurprevious_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testrecurprevious_LDADD = ../libkcal.la # #testrecurson_SOURCES = testrecurson.cpp #testrecurson_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testrecurson_LDADD = ../libkcal.la # #testrecurrencetype_SOURCES = testrecurrencetype.cpp #testrecurrencetype_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testrecurrencetype_LDADD = ../libkcal.la # #testicaltimezones_SOURCES = testicaltimezones.cpp #testicaltimezones_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testicaltimezones_LDADD = ../libkcal.la -lQtTest_debug # #testvcalexport_SOURCES = testvcalexport.cpp #testvcalexport_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testvcalexport_LDADD = ../libkcal.la # #testfields_SOURCES = testfields.cpp #testfields_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testfields_LDADD = ../libkcal.la #testfields_CXXFLAGS= -DINPUT='"$(srcdir)/data/test_pilot.ics"' # #TESTFILES = test1.ics test2.ics test3.ics test4.ics test5.ics test_Mozilla.ics # #check-local: readandwrite testrecurrence testrecurprevious testrecurson testvcalexport testicaltimezones # rm -f FAILED; \ # for i in `find $(srcdir)/data/RecurrenceRule/ -name "*.ics"`; do \ # perl $(srcdir)/runtestcase.pl testrecurrence "next" $$i; \ # done; \ # for i in `find $(srcdir)/data/RecurrenceRule/ -name "*.ics"`; do \ # perl $(srcdir)/runtestcase.pl testrecurprevious "prev" $$i; \ # done; \ # for i in `find $(srcdir)/data/RecurrenceRule/ -name "*.ics"`; do \ # perl $(srcdir)/runtestcase.pl testrecurson "recurson" $$i; \ # done; \ # for i in `find $(srcdir)/data/Compat/ -name "*.ics"`; do \ # perl $(srcdir)/runtestcase.pl readandwrite "ical" $$i; \ # done; \ # for i in `find $(srcdir)/data/vCalendar/ -name "*.ics"`; do \ # perl $(srcdir)/runtestcase.pl testvcalexport "vcal" $$i; \ # done; # for i in `find $(srcdir)/data/vCalendar/ -name "*.vcs"`; do \ # perl $(srcdir)/runtestcase.pl readandwrite "ical" $$i; \ # done; # [ ! -e FAILED ] # diff --git a/kcal/versit/CMakeLists.txt b/kcal/versit/CMakeLists.txt index 43036d7dc..4ea2f0beb 100644 --- a/kcal/versit/CMakeLists.txt +++ b/kcal/versit/CMakeLists.txt @@ -1,23 +1,21 @@ -kde4_header() ########### next target ############### ########### install files ############### -kde4_footer() #original Makefile.am contents follow: ## $Id: Makefile.am 331880 2004-07-22 21:51:23Z dfaure $ # #noinst_LTLIBRARIES = libversit.la # #libversit_la_SOURCES = vcc.c vobject.c # diff --git a/kholidays/CMakeLists.txt b/kholidays/CMakeLists.txt index 71d88ef75..2ab2537e8 100644 --- a/kholidays/CMakeLists.txt +++ b/kholidays/CMakeLists.txt @@ -1,64 +1,62 @@ -kde4_header() add_subdirectory( holidays ) ########### next target ############### set(kholidays_LIB_SRCS kholidays.cpp scanholiday.c parseholiday.h parseholiday.c lunarphase.cpp ) kde4_automoc(${kholidays_LIB_SRCS}) kde4_add_library(kholidays SHARED ${kholidays_LIB_SRCS}) target_link_libraries(kholidays ${KDE4_KIO_LIBS} ) set_target_properties(kholidays PROPERTIES VERSION 1.0.0 SOVERSION 1 ) install_targets(${LIB_INSTALL_DIR} kholidays ) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #SUBDIRS=holidays # #METASOURCES = AUTO # #INCLUDES = -I$(top_srcdir) $(all_includes) # #lib_LTLIBRARIES = libkholidays.la # #libkholidays_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 1:0:0 #libkholidays_la_LIBADD = $(LIB_KIO) #libkholidays_la_SOURCES = kholidays.cpp scanholiday.c parseholiday.h parseholiday.c lunarphase.cpp # ##the lex/flex and yacc/bison files are in CVS and NOT generated ##we do this to eliminate the need for those programs ##parseholiday.c: ## $(YACC) -p kcal -d -o parseholiday.c parseholiday.y ## ##parseholiday.h: ## $(YACC) -p kcal -d -o parseholiday.c parseholiday.y ## ##scanholiday.c: parseholiday.h ## $(LEX) -Pkcal -B -oscanholiday.c scanholiday.lex ## ##clean: ## -rm -f scanholiday.c parseholiday.h parseholiday.c # #messages: rc.cpp # $(XGETTEXT) *.cpp -o $(podir)/libkholidays.pot # #include $(top_srcdir)/admin/Doxyfile.am diff --git a/kholidays/holidays/CMakeLists.txt b/kholidays/holidays/CMakeLists.txt index 087ad4b3c..39cbb6e0d 100644 --- a/kholidays/holidays/CMakeLists.txt +++ b/kholidays/holidays/CMakeLists.txt @@ -1,32 +1,30 @@ -kde4_header() ########### install files ############### install_files( ${DATA_INSTALL_DIR}/libkholidays FILES holiday_at holiday_au holiday_bavarian holiday_be holiday_ca holiday_catalan holiday_co holiday_ch holiday_cz holiday_de holiday_dk holiday_ee holiday_es holiday_fi holiday_fr holiday_frswiss holiday_gb holiday_gt holiday_hu holiday_is holiday_il holiday_it holiday_ja holiday_lt holiday_mx holiday_nl holiday_no holiday_nz holiday_pl holiday_pt holiday_py holiday_quebec holiday_ro holiday_se holiday_si holiday_th holiday_us holiday_uy holiday_ie holiday_Suedtirol ) -kde4_footer() #original Makefile.am contents follow: # #holidaysdir = $(kde_datadir)/libkholidays # #holidays_DATA = holiday_at holiday_au holiday_bavarian holiday_be holiday_ca \ # holiday_catalan holiday_co \ # holiday_ch holiday_cz holiday_de holiday_dk holiday_ee \ # holiday_es holiday_fi holiday_fr holiday_frswiss holiday_gb \ # holiday_gt \ # holiday_hu holiday_is holiday_il holiday_it holiday_ja \ # holiday_lt holiday_mx \ # holiday_nl \ # holiday_no holiday_nz holiday_pl holiday_pt holiday_py \ # holiday_quebec \ # holiday_ro holiday_se holiday_si holiday_th holiday_us \ # holiday_uy holiday_ie \ # holiday_Suedtirol # diff --git a/kholidays/tests/CMakeLists.txt b/kholidays/tests/CMakeLists.txt index d38fe207e..1d50188fd 100644 --- a/kholidays/tests/CMakeLists.txt +++ b/kholidays/tests/CMakeLists.txt @@ -1,46 +1,44 @@ -kde4_header() if(KDE4_BUILD_TESTS) include_directories( ${CMAKE_SOURCE_DIR}/libkholidays_ng ${CMAKE_SOURCE_DIR}/libkholidays_ng/tests ) ########### next target ############### set(testlunar_SRCS testlunar.cpp ) kde4_automoc(${testlunar_SRCS}) kde4_add_executable(testlunar RUN_UNINSTALLED ${testlunar_SRCS}) target_link_libraries(testlunar kholidays_ng ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(testseason_SRCS testseasons.cpp ) kde4_automoc(${testseason_SRCS}) kde4_add_executable(testseason RUN_UNINSTALLED ${testseason_SRCS}) target_link_libraries(testseason kholidays_ng ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(testzodiac_SRCS testzodiac.cpp ) kde4_automoc(${testzodiac_SRCS}) kde4_add_executable(testzodiac RUN_UNINSTALLED ${testzodiac_SRCS}) target_link_libraries(testzodiac kholidays_ng ${KDE4_KDECORE_LIBS} ) ########### install files ############### endif(KDE4_BUILD_TESTS) -kde4_footer() diff --git a/kioslave/CMakeLists.txt b/kioslave/CMakeLists.txt index d0e38b008..e7269b798 100644 --- a/kioslave/CMakeLists.txt +++ b/kioslave/CMakeLists.txt @@ -1,33 +1,31 @@ -kde4_header() if(SASL2_FOUND) add_subdirectory( imap4 ) add_subdirectory( sieve ) endif(SASL2_FOUND) add_subdirectory( mbox ) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: ### $Id: Makefile.am 427821 2005-06-21 23:40:49Z adridg $ # #if compile_kio_sieve # SIEVE_SUBDIR = sieve #endif # #SUBDIRS = imap4 mbox $(SIEVE_SUBDIR) # #DOXYGEN_REFERENCES = kioslaves/imap4 kioslaves/mbox #include $(top_srcdir)/admin/Doxyfile.am # diff --git a/kioslave/imap4/CMakeLists.txt b/kioslave/imap4/CMakeLists.txt index 4f8f09622..d452dd0a4 100644 --- a/kioslave/imap4/CMakeLists.txt +++ b/kioslave/imap4/CMakeLists.txt @@ -1,67 +1,65 @@ -kde4_header() include_directories( ${CMAKE_SOURCE_DIR}/libkmime ${SASL2_INCLUDE_DIR} ) ########### next target ############### set(kio_imap4_PART_SRCS imapcommand.cc imaplist.cc mailaddress.cc mimeheader.cc rfcdecoder.cc imap4.cc imapinfo.cc imapparser.cc mailheader.cc mimehdrline.cc mimeio.cc ) kde4_automoc(${kio_imap4_PART_SRCS}) kde4_add_plugin(kio_imap4 ${kio_imap4_PART_SRCS}) kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kio_imap4 ) target_link_libraries(kio_imap4 ${KDE4_KDE3SUPPORT_LIBS} ${SASL2_LIBRARIES} kmime ) install_targets(${PLUGIN_INSTALL_DIR} kio_imap4 ) ########### install files ############### install_files( ${SERVICES_INSTALL_DIR} FILES imap4.protocol imaps.protocol ) -kde4_footer() #original Makefile.am contents follow: #INCLUDES= -I$(top_srcdir)/libkmime \ # -I$(srcdir)/.. $(SSL_INCLUDES) \ # -I$(top_srcdir)/libemailfunctions \ # $(all_includes) # ######## Files # #kde_module_LTLIBRARIES = kio_imap4.la # #kio_imap4_la_SOURCES = imapcommand.cc imaplist.cc mailaddress.cc \ # mimeheader.cc rfcdecoder.cc imap4.cc imapinfo.cc imapparser.cc mailheader.cc \ # mimehdrline.cc mimeio.cc #kio_imap4_la_LIBADD = $(LIB_KIO) $(SASL2_LIBS) ../../libkmime/libkmime.la \ # ../../libemailfunctions/libemailfunctions.la #kio_imap4_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module $(KDE_PLUGIN) # #noinst_HEADERS = imap4.h #EXTRA_DIST = README # #kdelnk_DATA = imap4.protocol imaps.protocol #kdelnkdir = $(kde_servicesdir) # #messages: # $(XGETTEXT) *.cc -o $(podir)/kio_imap4.pot # #include $(top_srcdir)/admin/Doxyfile.am diff --git a/kioslave/mbox/CMakeLists.txt b/kioslave/mbox/CMakeLists.txt index 1602a534d..e50c05945 100644 --- a/kioslave/mbox/CMakeLists.txt +++ b/kioslave/mbox/CMakeLists.txt @@ -1,65 +1,63 @@ -kde4_header() ########### next target ############### set(kio_mbox_PART_SRCS mbox.cc mboxfile.cc readmbox.cc stat.cc urlinfo.cc ) kde4_automoc(${kio_mbox_PART_SRCS}) kde4_add_plugin(kio_mbox ${kio_mbox_PART_SRCS}) kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kio_mbox ) target_link_libraries(kio_mbox ${KDE4_KIO_LIBS} ) install_targets(${PLUGIN_INSTALL_DIR} kio_mbox ) ########### install files ############### install_files( ${SERVICES_INSTALL_DIR} FILES mbox.protocol ) -kde4_footer() #original Makefile.am contents follow: #INCLUDES= $(all_includes) # ######## Files # #METASOURCES = AUTO # #kde_module_LTLIBRARIES = kio_mbox.la # #kio_mbox_la_SOURCES = \ # mbox.cc \ # mboxfile.cc \ # readmbox.cc \ # stat.cc \ # urlinfo.cc #kio_mbox_la_LIBADD = $(LIB_KIO) #kio_mbox_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -module $(KDE_PLUGIN) # #noinst_HEADERS = \ # mbox.h \ # mboxfile.h \ # readmbox.h \ # stat.h \ # urlinfo.h # #kdelnk_DATA = mbox.protocol #kdelnkdir = $(kde_servicesdir) # # #include $(top_srcdir)/admin/Doxyfile.am # diff --git a/kioslave/opengroupware/CMakeLists.txt b/kioslave/opengroupware/CMakeLists.txt index b4e1df0d0..33daf8e5b 100644 --- a/kioslave/opengroupware/CMakeLists.txt +++ b/kioslave/opengroupware/CMakeLists.txt @@ -1,47 +1,45 @@ -kde4_header() include_directories( ${CMAKE_SOURCE_DIR}/kresources/opengroupware/soap ) ########### next target ############### set(kio_opengroupware_PART_SRCS opengroupware.cpp webdavhandler.cpp ) kde4_automoc(${kio_opengroupware_PART_SRCS}) kde4_add_plugin(kio_opengroupware ${kio_opengroupware_PART_SRCS}) kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kio_opengroupware ) target_link_libraries(kio_opengroupware ${KDE4_KDECORE_LIBS} kcal kdepim kio ) install_targets(${PLUGIN_INSTALL_DIR} kio_opengroupware ) ########### install files ############### install_files( ${SERVICES_INSTALL_DIR} FILES opengroupware.protocol opengroupwares.protocol ) -kde4_footer() #original Makefile.am contents follow: #INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/kresources/opengroupware/soap \ # $(all_includes) # #noinst_HEADERS = opengroupware.h # #METASOURCES = AUTO # #kdelnkdir = $(kde_servicesdir) #kdelnk_DATA = opengroupware.protocol opengroupwares.protocol # #kde_module_LTLIBRARIES = kio_opengroupware.la # #kio_opengroupware_la_SOURCES = opengroupware.cpp webdavhandler.cpp #kio_opengroupware_la_LIBADD = $(top_builddir)/libkcal/libkcal.la \ # $(top_builddir)/libkdepim/libkdepim.la $(LIB_KIO) #kio_opengroupware_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) # diff --git a/kioslave/sieve/CMakeLists.txt b/kioslave/sieve/CMakeLists.txt index c47609fda..af761ef64 100644 --- a/kioslave/sieve/CMakeLists.txt +++ b/kioslave/sieve/CMakeLists.txt @@ -1,45 +1,43 @@ -kde4_header() include_directories( ${SASL2_INCLUDE_DIR} ) ########### next target ############### set(kio_sieve_PART_SRCS sieve.cpp ) kde4_automoc(${kio_sieve_PART_SRCS}) kde4_add_plugin(kio_sieve ${kio_sieve_PART_SRCS}) kde4_install_libtool_file( ${PLUGIN_INSTALL_DIR} kio_sieve ) target_link_libraries(kio_sieve ${KDE4_KIO_LIBS} ${SASL2_LIBRARIES}) install_targets(${PLUGIN_INSTALL_DIR} kio_sieve ) ########### install files ############### install_files( ${SERVICES_INSTALL_DIR} FILES sieve.protocol ) -kde4_footer() #original Makefile.am contents follow: #INCLUDES= -I$(srcdir)/../.. -I$(srcdir)/.. $(all_includes) # #kde_module_LTLIBRARIES = kio_sieve.la # #kio_sieve_la_SOURCES = sieve.cpp #kio_sieve_la_LIBADD = $(LIB_KIO) $(SASL2_LIBS) #kio_sieve_la_LDFLAGS = $(all_libraries) -module $(KDE_PLUGIN) # #noinst_HEADERS = sieve.h # #kdelnk_DATA = sieve.protocol #kdelnkdir = $(kde_servicesdir) # #messages: # $(XGETTEXT) *.cpp -o $(podir)/kio_sieve.pot diff --git a/kmime/CMakeLists.txt b/kmime/CMakeLists.txt index f20631011..32a2ae2d7 100644 --- a/kmime/CMakeLists.txt +++ b/kmime/CMakeLists.txt @@ -1,83 +1,81 @@ -kde4_header() add_subdirectory( tests ) include_directories( ${CMAKE_SOURCE_DIR}/libkdepim/ ) ########### next target ############### set(kmime_LIB_SRCS kmime_charfreq.cpp kmime_util.cpp kmime_mdn.cpp kmime_codecs.cpp kmime_codec_base64.cpp kmime_codec_uuencode.cpp kmime_codec_qp.cpp kmime_codec_identity.cpp kmime_parsers.cpp kmime_header_parsing.cpp kmime_content.cpp kmime_headers.cpp kmime_message.cpp kmime_newsarticle.cpp boolflags.cpp kautodeletehash.cpp ) kde4_automoc(${kmime_LIB_SRCS}) kde4_add_library(kmime SHARED ${kmime_LIB_SRCS}) target_link_libraries(kmime ${KDE4_KIO_LIBS} ) set_target_properties(kmime PROPERTIES VERSION 2.2.0 SOVERSION 2 ) install_targets(${LIB_INSTALL_DIR} kmime ) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #INCLUDES= -I$(top_srcdir)/libemailfunctions \ # $(all_includes) #KDE_CXXFLAGS = -UQT3_SUPPORT # #lib_LTLIBRARIES = libkmime.la # #libkmime_la_SOURCES = \ # kmime_charfreq.cpp \ # kmime_util.cpp \ # kmime_mdn.cpp \ # kmime_codecs.cpp \ # kmime_codec_base64.cpp \ # kmime_codec_uuencode.cpp \ # kmime_codec_qp.cpp \ # kmime_codec_identity.cpp \ # kmime_parsers.cpp \ # kmime_header_parsing.cpp \ # kmime_content.cpp \ # kmime_headers.cpp \ # kmime_message.cpp \ # kmime_newsarticle.cpp \ # boolflags.cpp \ # kautodeletehash.cpp # #libkmime_la_LDFLAGS = $(all_libraries) -no-undefined -version-info 4:0:2 # #libkmime_la_LIBADD = $(top_builddir)/libemailfunctions/libemailfunctions.la \ # $(LIB_KDECORE) $(LIB_POLL) # #METASOURCES = AUTO # #messages: # $(XGETTEXT) *.cpp *.h -o $(podir)/libkmime.pot # #DOXYGEN_EXCLUDE = kmime_headers_obs.h #include $(top_srcdir)/admin/Doxyfile.am diff --git a/kmime/tests/CMakeLists.txt b/kmime/tests/CMakeLists.txt index 070a32e46..c1c359a1b 100644 --- a/kmime/tests/CMakeLists.txt +++ b/kmime/tests/CMakeLists.txt @@ -1,119 +1,117 @@ -kde4_header() if(KDE4_BUILD_TESTS) include_directories( ${CMAKE_SOURCE_DIR}/libkmime ) ########### next target ############### set(test_kmime_header_parsing_SRCS test_kmime_header_parsing.cpp ) kde4_automoc(${test_kmime_header_parsing_SRCS}) kde4_add_executable(test_kmime_header_parsing ${test_kmime_header_parsing_SRCS}) target_link_libraries(test_kmime_header_parsing kmime ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(test_charfreq_SRCS test_charfreq.cpp ) kde4_automoc(${test_charfreq_SRCS}) kde4_add_executable(test_charfreq ${test_charfreq_SRCS}) target_link_libraries(test_charfreq kmime ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(test_mdn_SRCS test_mdn.cpp ) kde4_automoc(${test_mdn_SRCS}) kde4_add_executable(test_mdn ${test_mdn_SRCS}) target_link_libraries(test_mdn kmime ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(test_dates_SRCS test_dates.cpp ) kde4_automoc(${test_dates_SRCS}) kde4_add_executable(test_dates ${test_dates_SRCS}) target_link_libraries(test_dates kmime ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(test_kmime_codec_SRCS test_kmime_codec.cpp ) kde4_automoc(${test_kmime_codec_SRCS}) kde4_add_executable(test_kmime_codec ${test_kmime_codec_SRCS}) target_link_libraries(test_kmime_codec kmime ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(rfc2047test_SRCS rfc2047test.cpp ) kde4_automoc(${rfc2047test_SRCS}) kde4_add_executable(rfc2047test RUN_UNINSTALLED ${rfc2047test_SRCS}) target_link_libraries(rfc2047test kmime ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY}) add_test(libkmime-rfc2047test ${EXECUTABLE_OUTPUT_PATH}/rfc2047test) ########### next target ############### set(kmime_util_test_SRCS kmime_util_test.cpp ) kde4_automoc(${kmime_util_test_SRCS}) kde4_add_executable(kmime_util_test RUN_UNINSTALLED ${kmime_util_test_SRCS}) target_link_libraries(kmime_util_test kmime ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY}) add_test(libkmime-kmime_util_test ${EXECUTABLE_OUPUT_PATH}/kmime_util_test) ########### install files ############### endif(KDE4_BUILD_TESTS) -kde4_footer() #original Makefile.am contents follow: #AM_CPPFLAGS = -I$(top_srcdir)/libkmime $(all_includes) #LDADD = ../libkmime.la -lQtTest_debug # #METASOURCES = AUTO #KDE_CXXFLAGS = -UQT3_SUPPORT # ## test programs: #check_PROGRAMS = test_kmime_header_parsing \ # test_charfreq \ # test_mdn \ # test_dates \ # test_kmime_codec \ # rfc2047test \ # kmime_util_test # #test_kmime_codec_SOURCES = test_kmime_codec.cpp #test_charfreq_SOURCES = test_charfreq.cpp #test_mdn_SOURCES = test_mdn.cpp #test_dates_SOURCES = test_dates.cpp #test_kmime_header_parsing_SOURCES = test_kmime_header_parsing.cpp #rfc2047test_SOURCES = rfc2047test.cpp #kmime_util_test_SOURCES = kmime_util_test.cpp # #TESTS = rfc2047test kmime_util_test # diff --git a/kpimidentities/CMakeLists.txt b/kpimidentities/CMakeLists.txt index 6b5eb55e3..f3e991095 100644 --- a/kpimidentities/CMakeLists.txt +++ b/kpimidentities/CMakeLists.txt @@ -1,44 +1,42 @@ -kde4_header() include_directories( ${CMAKE_SOURCE_DIR}/libkleo ) ########### next target ############### set(kpimidentities_LIB_SRCS identitymanager.cpp identity.cpp identitycombo.cpp ${libemailfunctions_SRCS}) kde4_automoc(${kpimidentities_LIB_SRCS}) kde4_add_dcop_skels(kpimidentities_LIB_SRCS identitymanager.h ) kde4_add_library(kpimidentities SHARED ${kpimidentities_LIB_SRCS}) target_link_libraries(kpimidentities ${KDE4_KDEUI_LIBS} kleopatra kdepim ) set_target_properties(kpimidentities PROPERTIES VERSION 1.0.0 SOVERSION 1 ) install_targets(${LIB_INSTALL_DIR} kpimidentities ) -kde4_footer() #original Makefile.am contents follow: #INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/libkleo $(all_includes) #KDE_CXXFLAGS = -UQT3_SUPPORT # #lib_LTLIBRARIES = libkpimidentities.la #libkpimidentities_la_SOURCES = \ # identitymanager.cpp identity.cpp identitymanager.skel \ # identitycombo.cpp #libkpimidentities_la_LIBADD = ../libkleo/libkleopatra.la \ # ../libkdepim/libkdepim.la ../libemailfunctions/libemailfunctions.la #libkpimidentities_la_LDFLAGS = $(all_libraries) -no-undefined \ # -version-info 1:0:0 # #METASOURCES = AUTO # #include $(top_srcdir)/admin/Doxyfile.am # ## No messages target. Those files are part of libkdepim.pot. diff --git a/kpimutils/tests/CMakeLists.txt b/kpimutils/tests/CMakeLists.txt index 0895c72ee..7e221d17c 100644 --- a/kpimutils/tests/CMakeLists.txt +++ b/kpimutils/tests/CMakeLists.txt @@ -1,39 +1,37 @@ -kde4_header() if(KDE4_BUILD_TESTS) include_directories( ${CMAKE_CURRENT_SOURCE_DIR}/.. ) ########### next target ############### set(testemail_SRCS ${libemailfunctions_SRCS} testemail.cpp ) kde4_automoc(${testemail_SRCS}) kde4_add_executable(testemail ${testemail_SRCS}) target_link_libraries(testemail ${KDE4_KDECORE_LIBS} ) ########### install files ############### endif(KDE4_BUILD_TESTS) -kde4_footer() #original Makefile.am contents follow: #AM_CPPFLAGS = -I$(top_srcdir)/libemailfunctions $(all_includes) #LDADD = ../libemailfunctions.la $(LIB_KDECORE) # #check_PROGRAMS = testidmapper testemail #TESTS = testidmapper testemail # #testidmapper_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testidmapper_SOURCES = testidmapper.cpp # #testemail_LDFLAGS = $(all_libraries) $(KDE_RPATH) #testemail_SOURCES = testemail.cpp # #METASOURCES = AUTO diff --git a/ktnef/ktnef/CMakeLists.txt b/ktnef/ktnef/CMakeLists.txt index 9faf7fef6..81a888133 100644 --- a/ktnef/ktnef/CMakeLists.txt +++ b/ktnef/ktnef/CMakeLists.txt @@ -1,19 +1,17 @@ -kde4_header() ########### install files ############### install_files( /include/ktnef FILES ktnefparser.h ktnefattach.h ktnefproperty.h ktnefpropertyset.h ktnefmessage.h ktnefwriter.h ktnefdefs.h ) -kde4_footer() #original Makefile.am contents follow: #ktnefinclude_HEADERS = ktnefparser.h ktnefattach.h ktnefproperty.h \ # ktnefpropertyset.h ktnefmessage.h ktnefwriter.h ktnefdefs.h #ktnefincludedir = $(includedir)/ktnef #INCLUDES = $(all_includes) diff --git a/ktnef/lib/CMakeLists.txt b/ktnef/lib/CMakeLists.txt index f1e639754..e0d906a84 100644 --- a/ktnef/lib/CMakeLists.txt +++ b/ktnef/lib/CMakeLists.txt @@ -1,47 +1,45 @@ -kde4_header() include_directories( ${CMAKE_SOURCE_DIR}/ktnef ) ########### next target ############### set(ktnef_LIB_SRCS ktnefparser.cpp ktnefproperty.cpp ktnefattach.cpp mapi.cpp ktnefpropertyset.cpp ktnefmessage.cpp ktnefwriter.cpp lzfu.cpp ) kde4_automoc(${ktnef_LIB_SRCS}) kde4_add_library(ktnef SHARED ${ktnef_LIB_SRCS}) target_link_libraries(ktnef ${KDE4_KIO_LIBS} ) set_target_properties(ktnef PROPERTIES VERSION 1.0.0 SOVERSION 1 ) install_targets(${LIB_INSTALL_DIR} ktnef ) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #INCLUDES = -I$(top_srcdir)/ktnef $(all_includes) # #lib_LTLIBRARIES = libktnef.la # #libktnef_la_SOURCES = ktnefparser.cpp ktnefproperty.cpp ktnefattach.cpp mapi.cpp \ # ktnefpropertyset.cpp ktnefmessage.cpp ktnefwriter.cpp lzfu.cpp #libktnef_la_LIBADD = $(LIB_KDECORE) $(LIB_KIO) #libktnef_la_LDFLAGS = $(all_libraries) -version-info 1:0:0 -no-undefined #libktnef_la_METASOURCES = AUTO # #noinst_HEADERS = mapi.h lzfu.h diff --git a/qgpgme/CMakeLists.txt b/qgpgme/CMakeLists.txt index f5a6ae0a1..fe3ccb144 100644 --- a/qgpgme/CMakeLists.txt +++ b/qgpgme/CMakeLists.txt @@ -1,52 +1,50 @@ -kde4_header() add_subdirectory( tests ) ########### next target ############### set(qgpgme_LIB_SRCS eventloopinteractor.cpp dataprovider.cpp ) kde4_automoc(${qgpgme_LIB_SRCS}) kde4_add_library(qgpgme SHARED ${qgpgme_LIB_SRCS}) #Laurent add test ! target_link_libraries(qgpgme ${KDE4_KDECORE_LIBS} gpgme++ ) set_target_properties(qgpgme PROPERTIES VERSION 1.0.0 SOVERSION 1 ) install_targets(${LIB_INSTALL_DIR} qgpgme ) ########### install files ############### install_files( /include/qgpgme FILES ) -kde4_footer() #original Makefile.am contents follow: #SUBDIRS = . tests # #INCLUDES = -I$(top_srcdir) $(all_includes) # #lib_LTLIBRARIES = libqgpgme.la # #qgpgmedir = $(includedir)/qgpgme #qgpgme_HEADERS = eventloopinteractor.h dataprovider.h # #libqgpgme_la_SOURCES = eventloopinteractor.cpp dataprovider.cpp #libqgpgme_la_LDFLAGS = $(all_libraries) $(KDE_RPATH) -no-undefined #libqgpgme_la_LIBADD = $(LIB_QT) ../gpgmepp/libgpgme++.la # #METASOURCES = AUTO # #messages: # $(XGETTEXT) *.cpp *.h -o $(podir)/libqgpgme.pot # #include $(top_srcdir)/admin/Doxyfile.am # diff --git a/qgpgme/tests/CMakeLists.txt b/qgpgme/tests/CMakeLists.txt index 33b5f7095..4cc9f79c8 100644 --- a/qgpgme/tests/CMakeLists.txt +++ b/qgpgme/tests/CMakeLists.txt @@ -1,34 +1,32 @@ -kde4_header() ########### next target ############### set(dataprovidertest_SRCS dataprovidertest.cpp ) kde4_automoc(${dataprovidertest_SRCS}) if(KDE4_BUILD_TESTS) kde4_add_executable(dataprovidertest ${dataprovidertest_SRCS}) target_link_libraries(dataprovidertest qgpgme ${KDE4_KDECORE_LIBS} ) endif(KDE4_BUILD_TESTS) ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #INCLUDES = -I$(top_srcdir) $(GPGME_CFLAGS) $(all_includes) # #check_PROGRAMS = dataprovidertest # #TESTS = $(check_PROGRAMS) # #dataprovidertest_SOURCES = dataprovidertest.cpp # #LDADD = ../libqgpgme.la #?$(LIB_QT) diff --git a/syndication/CMakeLists.txt b/syndication/CMakeLists.txt index 4366d0257..28601f618 100644 --- a/syndication/CMakeLists.txt +++ b/syndication/CMakeLists.txt @@ -1,174 +1,172 @@ -kde4_header() add_subdirectory( tests ) ########### next target ############### set(librss2local_SRCS ${CMAKE_SOURCE_DIR}/libsyndication/rss2/category.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/cloud.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/document.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/enclosure.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/image.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/item.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/parser.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/source.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/textinput.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rss2/tools_p.cpp ) set(librdflocal_la_SRCS ${CMAKE_SOURCE_DIR}/libsyndication/rdf/parser.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/dublincorevocab.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/dublincore.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/syndicationvocab.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/syndicationinfo.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/contentvocab.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/item.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/image.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/textinput.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/document.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/rssvocab.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/node.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/property.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/literal.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/resource.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/model.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/modelmaker.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/rdfvocab.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/sequence.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/statement.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/resourcewrapper.cpp ${CMAKE_SOURCE_DIR}/libsyndication/rdf/nodevisitor.cpp ) set(libatomlocal_SRCS ${CMAKE_SOURCE_DIR}/libsyndication/atom/category.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/constants.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/content.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/document.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/entry.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/generator.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/link.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/parser.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/person.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/source.cpp ${CMAKE_SOURCE_DIR}/libsyndication/atom/atomtools.cpp ) set(libmapperrss2local_SRCS ${CMAKE_SOURCE_DIR}/libsyndication/mapper/feedrss2impl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/itemrss2impl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/enclosurerss2impl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/categoryrss2impl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/imagerss2impl.cpp ) set(libmapperrdflocal_SRCS ${CMAKE_SOURCE_DIR}/libsyndication/mapper/feedrdfimpl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/itemrdfimpl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/imagerdfimpl.cpp ) set(libmapperatomlocal_SRCS ${CMAKE_SOURCE_DIR}/libsyndication/mapper/feedatomimpl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/itematomimpl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/enclosureatomimpl.cpp ${CMAKE_SOURCE_DIR}/libsyndication/mapper/categoryatomimpl.cpp ) set(syndication_LIB_SRCS ${librss2local_SRCS} ${librdflocal_la_SRCS} ${libatomlocal_SRCS} ${libmappercommonlocal_SRCS} ${libmapperrss2local_SRCS} ${libmapperrdflocal_SRCS} ${libmapperatomlocal_SRCS} documentsource.cpp documentvisitor.cpp elementwrapper.cpp constants.cpp feed.cpp item.cpp enclosure.cpp category.cpp image.cpp tools.cpp person.cpp personimpl.cpp loader.cpp global.cpp dataretriever.cpp specificitemvisitor.cpp specificitem.cpp specificdocument.cpp abstractparser.cpp) kde4_automoc(${syndication_LIB_SRCS}) kde4_add_library(syndication SHARED ${syndication_LIB_SRCS}) target_link_libraries(syndication ${KDE4_KIO_LIBS} ) set_target_properties(syndication PROPERTIES VERSION 1.0.0 SOVERSION 1 ) install_targets(${LIB_INSTALL_DIR} syndication ) ########### install files ############### install_files( /include/libsyndication FILES specificdocument.h abstractparser.h parsercollection.h documentvisitor.h documentsource.h elementwrapper.h item.h feed.h category.h image.h enclosure.h person.h global.h dataretriever.h loader.h ) -kde4_footer() #original Makefile.am contents follow: ##SUBDIRS = rss2 rdf atom #SUBDIRS = rss2 rdf atom mapper # #INCLUDES = $(all_includes) # #METASOURCES = AUTO # #lib_LTLIBRARIES = libsyndication.la # #libsyndication_la_SOURCES = parsercollection.cpp documentsource.cpp \ # documentvisitor.cpp elementwrapper.cpp constants.cpp \ # feed.cpp item.cpp enclosure.cpp category.cpp \ # image.cpp tools.cpp person.cpp \ # loader.cpp dataretriever.cpp # #libsyndication_include_HEADERS = specificdocument.h abstractparser.h \ # parsercollection.h documentvisitor.h \ # documentsource.h elementwrapper.h \ # item.h feed.h category.h image.h \ # enclosure.h person.h global.h \ # dataretriever.h loader.h # #libsyndication_includedir = $(includedir)/libsyndication # #libsyndication_la_LDFLAGS = $(all_libraries) $(LIB_KDECORE) $(LIB_KIO) -no-undefined -version-info 1:0:0 #libsyndication_la_LIBADD = rss2/librss2local.la \ # rdf/librdflocal.la \ # atom/libatomlocal.la \ # mapper/libmapperrss2local.la \ # mapper/libmapperrdflocal.la \ # mapper/libmapperatomlocal.la \ # mapper/libmappercommonlocal.la # ##bin_SCRIPTS = libsyndication-config # ##pkgconfigdir = $(libdir)/pkgconfig ##pkgconfig_DATA = libsyndication.pc # ## EXTRA_DIST = $(libsyndication_la_SOURCES) $(libsyndication_include_HEADERS) ## $(pkgconfig_DATA) # #DOXYGEN_EXCLUDE = mapper #include $(top_srcdir)/admin/Doxyfile.am diff --git a/syndication/atom/CMakeLists.txt b/syndication/atom/CMakeLists.txt index e191b71bb..301e28db5 100644 --- a/syndication/atom/CMakeLists.txt +++ b/syndication/atom/CMakeLists.txt @@ -1,34 +1,32 @@ -kde4_header() ########### install files ############### install_files( /include/libsyndication/atom FILES category.h constants.h content.h document.h entry.h generator.h link.h parser.h person.h source.h atom.h ) -kde4_footer() #original Makefile.am contents follow: #INCLUDES = $(all_includes) # #noinst_LTLIBRARIES = libatomlocal.la # #libatomlocal_include_HEADERS = category.h constants.h content.h document.h entry.h \ # generator.h link.h parser.h person.h source.h atom.h # #noinst_HEADERS = tools.h # #libatomlocal_la_SOURCES = category.cpp constants.cpp content.cpp document.cpp \ # entry.cpp generator.cpp link.cpp parser.cpp \ # person.cpp source.cpp tools.cpp # # #libatomlocal_includedir = $(includedir)/libsyndication/atom # ## libatomlocal_la_METASOURCES = AUTO # #include $(top_srcdir)/admin/Doxyfile.am diff --git a/syndication/mapper/CMakeLists.txt b/syndication/mapper/CMakeLists.txt index 5c97748e5..f08e200d0 100644 --- a/syndication/mapper/CMakeLists.txt +++ b/syndication/mapper/CMakeLists.txt @@ -1,47 +1,45 @@ -kde4_header() ########### next target ############### ########### next target ############### ########### next target ############### ########### next target ############### ########### install files ############### -kde4_footer() #original Makefile.am contents follow: #INCLUDES = $(all_includes) # #noinst_LTLIBRARIES = libmappercommonlocal.la libmapperrss2local.la \ # libmapperrdflocal.la libmapperatomlocal.la # #noinst_HEADERS = personimpl.h \ # feedrss2impl.h itemrss2impl.h enclosurerss2impl.h \ # categoryrss2impl.h imagerss2impl.h \ # feedrdfimpl.h itemrdfimpl.h imagerdfimpl.h \ # feedatomimpl.h itematomimpl.h enclosureatomimpl.h \ # categoryatomimpl.h # #libmappercommonlocal_la_SOURCES = personimpl.cpp # #libmapperrss2local_la_SOURCES = feedrss2impl.cpp itemrss2impl.cpp \ # enclosurerss2impl.cpp categoryrss2impl.cpp \ # imagerss2impl.cpp #libmapperrdflocal_la_SOURCES = feedrdfimpl.cpp itemrdfimpl.cpp \ # imagerdfimpl.cpp #libmapperatomlocal_la_SOURCES = feedatomimpl.cpp itematomimpl.cpp \ # enclosureatomimpl.cpp categoryatomimpl.cpp diff --git a/syndication/rdf/CMakeLists.txt b/syndication/rdf/CMakeLists.txt index 86afcef28..bfdcbaea3 100644 --- a/syndication/rdf/CMakeLists.txt +++ b/syndication/rdf/CMakeLists.txt @@ -1,45 +1,43 @@ -kde4_header() ########### install files ############### install_files( /include/libsyndication/rdf FILES parser.h dublincorevocab.h dublincore.h syndicationvocab.h syndicationinfo.h contentvocab.h item.h image.h textinput.h document.h rssvocab.h node.h property.h literal.h resource.h model.h modelmaker.h rdfvocab.h sequence.h statement.h resourcewrapper.h nodevisitor.h rdf.h ) -kde4_footer() #original Makefile.am contents follow: #INCLUDES = $(all_includes) # #noinst_LTLIBRARIES = librdflocal.la # #librdflocal_include_HEADERS = parser.h dublincorevocab.h dublincore.h \ # syndicationvocab.h syndication.h \ # contentvocab.h item.h image.h \ # textinput.h document.h rssvocab.h \ # node.h property.h literal.h resource.h \ # model.h modelmaker.h rdfvocab.h sequence.h \ # statement.h resourcewrapper.h nodevisitor.h rdf.h # # #librdflocal_la_SOURCES = parser.cpp dublincorevocab.cpp dublincore.cpp \ # syndicationvocab.cpp syndication.cpp \ # contentvocab.cpp item.cpp image.cpp \ # textinput.cpp document.cpp rssvocab.cpp \ # node.cpp property.cpp literal.cpp resource.cpp \ # model.cpp modelmaker.cpp rdfvocab.cpp sequence.cpp \ # statement.cpp resourcewrapper.cpp nodevisitor.cpp # #librdflocal_includedir = $(includedir)/libsyndication/rdf # ## librdflocal_la_METASOURCES = AUTO # #include $(top_srcdir)/admin/Doxyfile.am diff --git a/syndication/rss2/CMakeLists.txt b/syndication/rss2/CMakeLists.txt index 47cd72d02..90123ddd7 100644 --- a/syndication/rss2/CMakeLists.txt +++ b/syndication/rss2/CMakeLists.txt @@ -1,32 +1,30 @@ -kde4_header() ########### install files ############### install_files( /include/libsyndication/rss2 FILES category.h cloud.h document.h enclosure.h image.h item.h parser.h rss2.h source.h textinput.h ) -kde4_footer() #original Makefile.am contents follow: #INCLUDES = $(all_includes) # #noinst_LTLIBRARIES = librss2local.la # #librss2local_include_HEADERS = category.h cloud.h constants.h document.h enclosure.h \ # image.h item.h parser.h rss2.h source.h textinput.h tools.h # #librss2local_la_SOURCES = category.cpp cloud.cpp constants.cpp \ # document.cpp enclosure.cpp image.cpp \ # item.cpp parser.cpp source.cpp textinput.cpp \ # tools.cpp # #librss2local_includedir = $(includedir)/libsyndication/rss2 # ## librss2local_la_METASOURCES = AUTO # #include $(top_srcdir)/admin/Doxyfile.am diff --git a/syndication/tests/CMakeLists.txt b/syndication/tests/CMakeLists.txt index 805f440bf..9b6cd1d67 100644 --- a/syndication/tests/CMakeLists.txt +++ b/syndication/tests/CMakeLists.txt @@ -1,66 +1,64 @@ -kde4_header() if(KDE4_BUILD_TESTS) include_directories( ${CMAKE_SOURCE_DIR}/libsyndication/ ) ########### next target ############### set(testlibsyndication_SRCS testlibsyndication.cpp ) kde4_automoc(${testlibsyndication_SRCS}) kde4_add_executable(testlibsyndication ${testlibsyndication_SRCS}) target_link_libraries(testlibsyndication syndication ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(testloader_SRCS testloader.cpp ) kde4_automoc(${testloader_SRCS}) kde4_add_executable(testloader ${testloader_SRCS}) target_link_libraries(testloader syndication ${KDE4_KDECORE_LIBS} ) ########### next target ############### set(testpersonimpl_SRCS testpersonimpl.cpp ) kde4_automoc(${testpersonimpl_SRCS}) kde4_add_executable(testpersonimpl RUN_UNINSTALLED ${testpersonimpl_SRCS}) target_link_libraries(testpersonimpl syndication ${KDE4_KDECORE_LIBS} ${QT_QTTEST_LIBRARY} ) add_test(libsyndication-testpersonimpl ${EXECUTABLE_OUPUT_PATH}/testpersonimpl) ########### install files ############### endif(KDE4_BUILD_TESTS) -kde4_footer() #original Makefile.am contents follow: #INCLUDES = -I$(top_srcdir)/akregator/src/libsyndication/src $(all_includes) # #AM_LDFLAGS = $(QT_LDFLAGS) $(X_LDFLAGS) $(KDE_RPATH) # #check_PROGRAMS = testlibsyndication testlibsyndication2 testpersonimpl # ## List of tests to run automatically from "make check" #TESTS = testpersonimpl testfeeds.rb # #METASOURCES = AUTO # #LDADD = $(top_builddir)/akregator/src/libsyndication/src/libsyndication.la -lQtTest_debug # #testlibsyndication_SOURCES = testlibsyndication.cpp #testlibsyndication2_SOURCES = testlibsyndication2.cpp #testpersonimpl_SOURCES = testpersonimpl.cpp #