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

« back to all changes in this revision

Viewing changes to motion-blur/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-motion_blur_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-struct.h
 
12
)
 
13
 
 
14
add_library(${PACKAGE_MOTION_BLUR} SHARED ${cd-motion_blur_LIB_SRCS})
 
15
 
 
16
########### compil ###############
 
17
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${motion_blurdatadir}")
 
18
add_definitions (-DMY_APPLET_PREVIEW_FILE="none")
 
19
add_definitions (-DMY_APPLET_CONF_FILE="motion_blur.conf")
 
20
add_definitions (-DMY_APPLET_USER_DATA_DIR="motion_blur")
 
21
add_definitions (-DMY_APPLET_VERSION="${VERSION_MOTION_BLUR}")
 
22
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_MOTION_BLUR}")
 
23
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
24
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
25
 
 
26
include_directories (
 
27
        ${PACKAGE_INCLUDE_DIRS})
 
28
 
 
29
link_directories (
 
30
        ${PACKAGE_LIBRARY_DIRS})
 
31
 
 
32
target_link_libraries (${PACKAGE_MOTION_BLUR}
 
33
        ${PACKAGE_LIBRARIES})
 
34
 
 
35
########### install files ###############
 
36
 
 
37
install(TARGETS ${PACKAGE_MOTION_BLUR} DESTINATION ${pluginsdir})
 
38
 
 
39
 
 
40
#original Makefile.am contents follow:
 
41
 
 
42
# #dnl Process this file with automake to produce Makefile.in
 
43
#
 
44
#lib_LTLIBRARIES = 
 
45
#       libcd-motion_blur.la
 
46
#
 
47
#
 
48
#libcd_motion_blur_la_SOURCES = 
 
49
#       applet-init.c
 
50
#       applet-init.h
 
51
#       applet-config.c
 
52
#       applet-config.h
 
53
#       applet-notifications.c
 
54
#       applet-notifications.h
 
55
#       applet-struct.h
 
56
#
 
57
#
 
58
#dock_version = `pkg-config --modversion cairo-dock`
 
59
#
 
60
#libcd_motion_blur_la_CFLAGS = 
 
61
#       -I$(top_srcdir)/src
 
62
#       $(PACKAGE_CFLAGS)
 
63
#       -DMY_APPLET_SHARE_DATA_DIR=""${motion_blurdatadir)""
 
64
#       -DMY_APPLET_PREVIEW_FILE=""none""
 
65
#       -DMY_APPLET_CONF_FILE=""motion_blur.conf""
 
66
#       -DMY_APPLET_USER_DATA_DIR=""motion_blur""
 
67
#       -DMY_APPLET_VERSION=""${VERSION_MOTION_BLUR)""
 
68
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_MOTION_BLUR)""
 
69
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
70
#       -DMY_APPLET_ICON_FILE=""icon.png""
 
71
#       -std=c99
 
72
#       -Werror-implicit-function-declaration
 
73
##      -g -ggdb -W -Wall
 
74
#
 
75
#
 
76
#libcd_motion_blur_la_LIBADD = 
 
77
#       $(PACKAGE_LIBS) -lm
 
78
#
 
79
#
 
80
#libcd_motion_blur_la_LDFLAGS =
 
81
#       -avoid-version -module