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

« back to all changes in this revision

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