~cairo-dock-team/ubuntu/quantal/cairo-dock-plug-ins/3.0.2

« back to all changes in this revision

Viewing changes to kde-integration/src/CMakeLists.txt

Tags: upstream-2.2.0~0beta4
ImportĀ upstreamĀ versionĀ 2.2.0~0beta4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########### sources ###############
 
3
 
 
4
SET(cd_kde-integration_LIB_SRCS
 
5
        applet-init.c
 
6
        applet-init.h
 
7
        applet-vfs.c
 
8
        applet-vfs.h
 
9
        applet-utils.c
 
10
        applet-utils.h
 
11
)
 
12
 
 
13
add_library(${PACKAGE_KDE_INTEGRATION} SHARED ${cd_kde-integration_LIB_SRCS})
 
14
 
 
15
########### compil ###############
 
16
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${kde_integrationdatadir}")
 
17
add_definitions (-DMY_APPLET_PREVIEW_FILE="none")
 
18
add_definitions (-DMY_APPLET_CONF_FILE="none")
 
19
add_definitions (-DMY_APPLET_USER_DATA_DIR="kde-integration")
 
20
add_definitions (-DMY_APPLET_VERSION="${VERSION_KDE_INTEGRATION}")
 
21
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="cd_kde-integration")
 
22
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
23
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
24
 
 
25
include_directories (
 
26
        ${PACKAGE_INCLUDE_DIRS}
 
27
        ${KDE_INTEGRATION_INCLUDE_DIRS})
 
28
 
 
29
link_directories (
 
30
        ${PACKAGE_LIBRARY_DIRS}
 
31
        ${KDE_INTEGRATION_LIBRARY_DIRS})
 
32
 
 
33
target_link_libraries (${PACKAGE_KDE_INTEGRATION}
 
34
        ${PACKAGE_LIBRARIES}
 
35
        ${KDE_INTEGRATION_LIBRARIES})
 
36
 
 
37
########### install files ###############
 
38
 
 
39
install(TARGETS ${PACKAGE_KDE_INTEGRATION} DESTINATION ${pluginsdir})
 
40
 
 
41
 
 
42
#original Makefile.am contents follow:
 
43
 
 
44
# #dnl Process this file with automake to produce Makefile.in
 
45
#
 
46
#lib_LTLIBRARIES = 
 
47
#       libcd_kde-integration.la
 
48
#
 
49
#
 
50
#libcd_kde_integration_la_SOURCES = 
 
51
#       applet-init.c
 
52
#       applet-init.h
 
53
#       applet-vfs.c
 
54
#       applet-vfs.h
 
55
#       applet-utils.c
 
56
#       applet-utils.h
 
57
#
 
58
#
 
59
#dock_version = `pkg-config --modversion cairo-dock`
 
60
#
 
61
#libcd_kde_integration_la_CFLAGS = 
 
62
#       -I$(top_srcdir)/src
 
63
#       $(PACKAGE_CFLAGS)
 
64
#       $(KDE_INTEGRATION_CFLAGS)
 
65
#       -DMY_APPLET_SHARE_DATA_DIR=""${kde_integrationdatadir)""
 
66
#       -DMY_APPLET_PREVIEW_FILE="none"""
 
67
#       -DMY_APPLET_CONF_FILE=""none""
 
68
#       -DMY_APPLET_USER_DATA_DIR=""kde-integration""
 
69
#       -DMY_APPLET_VERSION=""${VERSION_KDE_INTEGRATION)""
 
70
#       -DMY_APPLET_GETTEXT_DOMAIN=""cd_kde-integration""
 
71
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
72
#       -DMY_APPLET_ICON_FILE=""icon.png""
 
73
#       -std=c99
 
74
#       -Werror-implicit-function-declaration
 
75
##      -g -ggdb -W -Wall
 
76
#
 
77
#
 
78
#libcd_kde_integration_la_LIBADD = 
 
79
#       $(PACKAGE_LIBS)
 
80
#       $(KDE_INTEGRATION_LIBS)
 
81
#       -lm
 
82
#
 
83
#
 
84
#libcd_kde_integration_la_LDFLAGS =
 
85
#       -avoid-version -module