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

« back to all changes in this revision

Viewing changes to Animated-icons/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
########### next target ###############
 
3
 
 
4
SET(cd-Animated-icons_LIB_SRCS
 
5
        applet-init.c                   applet-init.h
 
6
        applet-config.c                 applet-config.h
 
7
        applet-rotation.c               applet-rotation.h
 
8
        applet-mesh-factory.c   applet-mesh-factory.h
 
9
        applet-notifications.c  applet-notifications.h
 
10
        applet-spot.c                   applet-spot.h
 
11
        applet-rays.c                   applet-rays.h
 
12
        applet-wobbly.c                 applet-wobbly.h
 
13
        applet-wave.c                   applet-wave.h
 
14
        applet-pulse.c                  applet-pulse.h
 
15
        applet-bounce.c                 applet-bounce.h
 
16
        applet-blink.c                  applet-blink.h
 
17
        applet-unfold.c                 applet-unfold.h
 
18
        applet-struct.h
 
19
        chrome-tex.h
 
20
)
 
21
 
 
22
add_library(${PACKAGE_ANIMATED_ICONS} SHARED ${cd-Animated-icons_LIB_SRCS})
 
23
 
 
24
########### compil ###############
 
25
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${animated_iconsdatadir}")
 
26
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
27
add_definitions (-DMY_APPLET_CONF_FILE="Animated-icons.conf")
 
28
add_definitions (-DMY_APPLET_USER_DATA_DIR="Animated-icons")
 
29
add_definitions (-DMY_APPLET_VERSION="${VERSION_ANIMATED_ICONS}")
 
30
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_ANIMATED_ICONS}")
 
31
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
32
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
 
33
add_definitions (-DGL_GLEXT_PROTOTYPES="1")
 
34
 
 
35
include_directories (
 
36
        ${PACKAGE_INCLUDE_DIRS})
 
37
 
 
38
link_directories (
 
39
        ${PACKAGE_LIBRARY_DIRS})
 
40
 
 
41
target_link_libraries (${PACKAGE_ANIMATED_ICONS}
 
42
        ${PACKAGE_LIBRARIES})
 
43
 
 
44
install(TARGETS ${PACKAGE_ANIMATED_ICONS} DESTINATION ${pluginsdir})
 
45
 
 
46
 
 
47
########### install files ###############
 
48
 
 
49
 
 
50
 
 
51
 
 
52
#original Makefile.am contents follow:
 
53
 
 
54
# #dnl Process this file with automake to produce Makefile.in
 
55
#
 
56
#lib_LTLIBRARIES = 
 
57
#       libcd-Animated-icons.la
 
58
#
 
59
#
 
60
#libcd_Animated_icons_la_SOURCES = 
 
61
#       applet-init.c
 
62
#       applet-init.h
 
63
#       applet-config.c
 
64
#       applet-config.h
 
65
#       applet-rotation.c
 
66
#       applet-rotation.h
 
67
#       applet-struct.h
 
68
#       applet-mesh-factory.c
 
69
#       applet-mesh-factory.h
 
70
#       applet-notifications.c
 
71
#       applet-notifications.h
 
72
#       applet-spot.c
 
73
#       applet-spot.h
 
74
#       applet-rays.c
 
75
#       applet-rays.h
 
76
#       applet-wobbly.c
 
77
#       applet-wobbly.h
 
78
#       applet-wave.c
 
79
#       applet-wave.h
 
80
#       applet-pulse.c
 
81
#       applet-pulse.h
 
82
#       applet-bounce.c
 
83
#       applet-bounce.h
 
84
#       applet-blink.c
 
85
#       applet-blink.h
 
86
#       applet-unfold.c
 
87
#       applet-unfold.h
 
88
#       chrome-tex.h
 
89
#
 
90
#
 
91
#dock_version = `pkg-config --modversion cairo-dock`
 
92
#
 
93
#libcd_Animated_icons_la_CFLAGS = 
 
94
#       -I$(top_srcdir)/src
 
95
#       $(PACKAGE_CFLAGS)
 
96
#       -DMY_APPLET_SHARE_DATA_DIR=""${animated_iconsdatadir)""
 
97
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
 
98
#       -DMY_APPLET_CONF_FILE=""Animated-icons.conf""
 
99
#       -DMY_APPLET_USER_DATA_DIR=""Animated-icons""
 
100
#       -DMY_APPLET_VERSION=""${VERSION_ANIMATED_ICONS)""
 
101
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_ANIMATED_ICONS)""
 
102
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
103
#       -DMY_APPLET_ICON_FILE=""icon.svg""
 
104
#       -DGL_GLEXT_PROTOTYPES=""1""
 
105
#       -std=c99
 
106
#       -Werror-implicit-function-declaration
 
107
##      -g -ggdb -W -Wall
 
108
#
 
109
#
 
110
#libcd_Animated_icons_la_LIBADD = 
 
111
#       $(PACKAGE_LIBS) -lm
 
112
#
 
113
#
 
114
#libcd_Animated_icons_la_LDFLAGS =
 
115
#       -avoid-version -module