2
########### sources ###############
4
SET(cd-powermanager_LIB_SRCS
14
powermanager-menu-functions.c
15
powermanager-menu-functions.h
18
add_library(${PACKAGE_POWERMANAGER} SHARED ${cd-powermanager_LIB_SRCS})
20
########### compil ###############
21
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${powermanagerdatadir}")
22
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
23
add_definitions (-DMY_APPLET_CONF_FILE="powermanager.conf")
24
add_definitions (-DMY_APPLET_USER_DATA_DIR="powermanager")
25
add_definitions (-DMY_APPLET_VERSION="${VERSION_POWERMANAGER}")
26
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_POWERMANAGER}")
27
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
28
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
31
${PACKAGE_INCLUDE_DIRS})
34
${PACKAGE_LIBRARY_DIRS})
36
target_link_libraries (${PACKAGE_POWERMANAGER}
39
########### install files ###############
41
install(TARGETS ${PACKAGE_POWERMANAGER} DESTINATION ${pluginsdir})
44
#original Makefile.am contents follow:
46
# #dnl Process this file with automake to produce Makefile.in
49
# libcd-powermanager.la
52
#libcd_powermanager_la_SOURCES =
53
# powermanager-struct.h
58
# powermanager-config.c
59
# powermanager-config.h
62
# powermanager-menu-functions.c
63
# powermanager-menu-functions.h
65
#dock_version = `pkg-config --modversion cairo-dock`
67
#libcd_powermanager_la_CFLAGS =
70
# -DMY_APPLET_SHARE_DATA_DIR=""${powermanagerdatadir)""
71
# -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
72
# -DMY_APPLET_CONF_FILE=""powermanager.conf""
73
# -DMY_APPLET_USER_DATA_DIR=""powermanager""
74
# -DMY_APPLET_VERSION=""${VERSION_POWERMANAGER)""
75
# -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_POWERMANAGER)""
76
# -DMY_APPLET_DOCK_VERSION=""${dock_version)""
77
# -DMY_APPLET_ICON_FILE=""icon.png""
79
# -Werror-implicit-function-declaration
82
#libcd_powermanager_la_LIBADD =
86
#libcd_powermanager_la_LDFLAGS =
87
# -avoid-version -module