~jroose/cairo-dock-plug-ins/Messaging-Menu-alaric-devel

« back to all changes in this revision

Viewing changes to icon-effect/src/CMakeLists.txt

  • Committer: jroose at gmail
  • Date: 2010-11-18 14:43:40 UTC
  • Revision ID: jroose@gmail.com-20101118144340-qvrs0rmanr5lr1mj
Messaging-Menu

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########### sources ###############
 
3
 
 
4
SET(cd-icon-effect_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-fire.c
 
12
        applet-fire.h
 
13
        applet-rain.c
 
14
        applet-rain.h
 
15
        applet-snow.c
 
16
        applet-snow.h
 
17
        applet-star.c
 
18
        applet-star.h
 
19
        applet-storm.c
 
20
        applet-storm.h
 
21
        applet-firework.c
 
22
        applet-firework.h
 
23
        fire-tex.h
 
24
        applet-struct.h
 
25
)
 
26
 
 
27
add_library(${PACKAGE_ICON_EFFECTS} SHARED ${cd-icon-effect_LIB_SRCS})
 
28
 
 
29
########### compil ###############
 
30
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${icon_effectsdatadir}")
 
31
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
32
add_definitions (-DMY_APPLET_CONF_FILE="icon-effect.conf")
 
33
add_definitions (-DMY_APPLET_USER_DATA_DIR="icon-effect")
 
34
add_definitions (-DMY_APPLET_VERSION="${VERSION_ICON_EFFECTS}")
 
35
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_ICON_EFFECTS}")
 
36
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
37
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
38
add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
39
 
 
40
include_directories (
 
41
        ${PACKAGE_INCLUDE_DIRS})
 
42
 
 
43
link_directories (
 
44
        ${PACKAGE_LIBRARY_DIRS})
 
45
 
 
46
target_link_libraries (${PACKAGE_ICON_EFFECTS}
 
47
        ${PACKAGE_LIBRARIES})
 
48
 
 
49
########### install files ###############
 
50
 
 
51
install(TARGETS ${PACKAGE_ICON_EFFECTS} DESTINATION ${pluginsdir})
 
52
 
 
53
 
 
54
#original Makefile.am contents follow:
 
55
 
 
56
# #dnl Process this file with automake to produce Makefile.in
 
57
#
 
58
#lib_LTLIBRARIES = 
 
59
#       libcd-icon-effect.la
 
60
#
 
61
#
 
62
#libcd_icon_effect_la_SOURCES = 
 
63
#       applet-init.c
 
64
#       applet-init.h
 
65
#       applet-config.c
 
66
#       applet-config.h
 
67
#       applet-notifications.c
 
68
#       applet-notifications.h
 
69
#       applet-fire.c
 
70
#       applet-fire.h
 
71
#       applet-rain.c
 
72
#       applet-rain.h
 
73
#       applet-snow.c
 
74
#       applet-snow.h
 
75
#       applet-star.c
 
76
#       applet-star.h
 
77
#       applet-storm.c
 
78
#       applet-storm.h
 
79
#       applet-firework.c
 
80
#       applet-firework.h
 
81
#       fire-tex.h
 
82
#       applet-struct.h
 
83
#
 
84
#
 
85
#dock_version = `pkg-config --modversion cairo-dock`
 
86
#
 
87
#libcd_icon_effect_la_CFLAGS = 
 
88
#       -I$(top_srcdir)/src
 
89
#       $(PACKAGE_CFLAGS)
 
90
#       -DMY_APPLET_SHARE_DATA_DIR=""${icon_effectsdatadir)""
 
91
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
 
92
#       -DMY_APPLET_CONF_FILE=""icon-effect.conf""
 
93
#       -DMY_APPLET_USER_DATA_DIR=""icon-effect""
 
94
#       -DMY_APPLET_VERSION=""${VERSION_ICON_EFFECTS)""
 
95
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_ICON_EFFECTS)""
 
96
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
97
#       -DMY_APPLET_ICON_FILE=""icon.png""
 
98
#        -DGL_GLEXT_PROTOTYPES=""1""
 
99
#       -std=c99
 
100
#       -Werror-implicit-function-declaration
 
101
##      -g -ggdb -W -Wall
 
102
#
 
103
#
 
104
#libcd_icon_effect_la_LIBADD = 
 
105
#       $(PACKAGE_LIBS) -lm
 
106
#
 
107
#
 
108
#libcd_icon_effect_la_LDFLAGS =
 
109
#       -avoid-version -module