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

« back to all changes in this revision

Viewing changes to Dbus/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-Dbus_LIB_SRCS
 
5
        applet-init.c                   applet-init.h
 
6
        applet-config.c                         applet-config.h
 
7
        applet-dbus.c                   applet-dbus.h
 
8
        interface-main-methods.c        interface-main-methods.h
 
9
        interface-applet-object.c       interface-applet-object.h
 
10
        interface-applet-methods.c      interface-applet-methods.h
 
11
        interface-applet-signals.c      interface-applet-signals.h
 
12
        dbus-applet-spec.h
 
13
        dbus-sub-applet-spec.h
 
14
        dbus-main-spec.h
 
15
        applet-struct.h
 
16
)
 
17
 
 
18
add_library (${PACKAGE_DBUS} SHARED ${cd-Dbus_LIB_SRCS})
 
19
 
 
20
########### compil ###############
 
21
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${dbusdatadir}")
 
22
add_definitions (-DMY_APPLET_PREVIEW_FILE="none")
 
23
add_definitions (-DMY_APPLET_CONF_FILE="Dbus.conf")
 
24
add_definitions (-DMY_APPLET_USER_DATA_DIR="Dbus")
 
25
add_definitions (-DMY_APPLET_VERSION="${VERSION_DBUS}")
 
26
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_DBUS}")
 
27
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
28
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
 
29
 
 
30
include_directories (
 
31
        ${PACKAGE_INCLUDE_DIRS})
 
32
 
 
33
link_directories (
 
34
        ${PACKAGE_LIBRARY_DIRS})
 
35
 
 
36
target_link_libraries (${PACKAGE_DBUS}
 
37
        ${PACKAGE_LIBRARIES})
 
38
 
 
39
########### install files ###############
 
40
 
 
41
install (TARGETS ${PACKAGE_DBUS} DESTINATION ${pluginsdir})
 
42
 
 
43
 
 
44
#original Makefile.am contents follow:
 
45
 
 
46
# #dnl Process this file with automake to produce Makefile.in
 
47
#
 
48
#lib_LTLIBRARIES = 
 
49
#       libcd-Dbus.la
 
50
#
 
51
#
 
52
#libcd_Dbus_la_SOURCES = 
 
53
#       applet-init.c
 
54
#       applet-init.h
 
55
#       applet-config.c
 
56
#       applet-config.h
 
57
#       applet-dbus.c
 
58
#       applet-dbus.h
 
59
#       interface-main-methods.c
 
60
#       interface-main-methods.h
 
61
#       interface-applet-object.c
 
62
#       interface-applet-object.h
 
63
#       interface-applet-methods.c
 
64
#       interface-applet-methods.h
 
65
#       interface-applet-signals.c
 
66
#       interface-applet-signals.h
 
67
#       dbus-applet-spec.h
 
68
#       dbus-sub-applet-spec.h
 
69
#       dbus-main-spec.h
 
70
#       applet-struct.h
 
71
#
 
72
#
 
73
#dock_version = `pkg-config --modversion cairo-dock`
 
74
#
 
75
#libcd_Dbus_la_CFLAGS = 
 
76
#       -I$(top_srcdir)/src
 
77
#       $(PACKAGE_CFLAGS)
 
78
#       -DMY_APPLET_SHARE_DATA_DIR=""${dbusdatadir)""
 
79
#       -DMY_APPLET_PREVIEW_FILE=""none""
 
80
#       -DMY_APPLET_CONF_FILE=""Dbus.conf""
 
81
#       -DMY_APPLET_USER_DATA_DIR=""Dbus""
 
82
#       -DMY_APPLET_VERSION=""${VERSION_DBUS)""
 
83
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_DBUS)""
 
84
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
85
#       -DMY_APPLET_ICON_FILE=""icon.svg""
 
86
#       -std=c99
 
87
#       -Werror-implicit-function-declaration
 
88
##      -g -ggdb -W -Wall
 
89
#
 
90
#
 
91
#libcd_Dbus_la_LIBADD = 
 
92
#       $(PACKAGE_LIBS) -lm
 
93
#
 
94
#
 
95
#libcd_Dbus_la_LDFLAGS =
 
96
#       -avoid-version -module