########### sources ############### SET(cd_gnome-integration_LIB_SRCS applet-init.c applet-init.h applet-utils.c applet-utils.h ) add_library(${PACKAGE_GNOME_INTEGRATION} SHARED ${cd_gnome-integration_LIB_SRCS}) ########### compil ############### add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${gnome_integrationdatadir}") add_definitions (-DMY_APPLET_PREVIEW_FILE="none") add_definitions (-DMY_APPLET_CONF_FILE="none") add_definitions (-DMY_APPLET_USER_DATA_DIR="gnome-integration") add_definitions (-DMY_APPLET_VERSION="${VERSION_GNOME_INTEGRATION}") add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_GNOME_INTEGRATION}") add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}") add_definitions (-DMY_APPLET_ICON_FILE="icon.png") include_directories ( ${PACKAGE_INCLUDE_DIRS} ${GNOME_INTEGRATION_INCLUDE_DIRS} ${CMAKE_SOURCE_DIR}/gvfs-integration) link_directories ( ${PACKAGE_LIBRARY_DIRS} ${GNOME_INTEGRATION_LIBRARY_DIRS} ${CMAKE_SOURCE_DIR}/gvfs-integration) target_link_libraries (${PACKAGE_GNOME_INTEGRATION} ${PACKAGE_LIBRARIES} ${GNOME_INTEGRATION_LIBRARIES} gvfs-integration) ########### install files ############### install(TARGETS ${PACKAGE_GNOME_INTEGRATION} DESTINATION ${pluginsdir}) #original Makefile.am contents follow: # #dnl Process this file with automake to produce Makefile.in # #lib_LTLIBRARIES = # libcd_gnome-integration.la # # #libcd_gnome_integration_la_SOURCES = # applet-init.c # applet-init.h # applet-gvfs.c # applet-gvfs.h # applet-utils.c # applet-utils.h # # #dock_version = `pkg-config --modversion cairo-dock` # #libcd_gnome_integration_la_CFLAGS = # -I$(top_srcdir)/src # $(PACKAGE_CFLAGS) # $(GNOME_INTEGRATION_CFLAGS) # -DMY_APPLET_SHARE_DATA_DIR=""${gnome_integrationdatadir)"" # -DMY_APPLET_PREVIEW_FILE="none""" # -DMY_APPLET_CONF_FILE=""none"" # -DMY_APPLET_USER_DATA_DIR=""gnome-integration"" # -DMY_APPLET_VERSION=""${VERSION_GNOME_INTEGRATION)"" # -DMY_APPLET_GETTEXT_DOMAIN=""cd_gnome-integration"" # -DMY_APPLET_DOCK_VERSION=""${dock_version)"" # -DMY_APPLET_ICON_FILE=""icon.png"" # -std=c99 # -Werror-implicit-function-declaration ## -g -ggdb -W -Wall # # #libcd_gnome_integration_la_LIBADD = # $(PACKAGE_LIBS) # $(GNOME_INTEGRATION_LIBS) # -lm # # #libcd_gnome_integration_la_LDFLAGS = # -avoid-version -module