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

« back to all changes in this revision

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