2
########### sources ###############
4
SET(cd-shortcuts_LIB_SRCS
5
applet-init.c applet-init.h
6
applet-config.c applet-config.h
7
applet-notifications.c applet-notifications.h
8
applet-bookmarks.c applet-bookmarks.h
9
applet-load-icons.c applet-load-icons.h
10
applet-disk-usage.c applet-disk-usage.h
11
applet-drives.c applet-drives.h
15
add_library(${PACKAGE_SHORTCUTS} SHARED ${cd-shortcuts_LIB_SRCS})
17
########### compil ###############
18
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${shortcutsdatadir}")
19
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
20
add_definitions (-DMY_APPLET_CONF_FILE="shortcuts.conf")
21
add_definitions (-DMY_APPLET_USER_DATA_DIR="shortcuts")
22
add_definitions (-DMY_APPLET_VERSION="${VERSION_SHORTCUTS}")
23
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_SHORTCUTS}")
24
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
25
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
26
add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
29
${PACKAGE_INCLUDE_DIRS})
32
${PACKAGE_LIBRARY_DIRS})
34
target_link_libraries (${PACKAGE_SHORTCUTS}
37
########### install files ###############
39
install(TARGETS ${PACKAGE_SHORTCUTS} DESTINATION ${pluginsdir})
42
#original Makefile.am contents follow:
44
# #dnl Process this file with automake to produce Makefile.in
50
#libcd_shortcuts_la_SOURCES =
55
# applet-notifications.c
56
# applet-notifications.h
65
#dock_version = `pkg-config --modversion cairo-dock`
67
#libcd_shortcuts_la_CFLAGS =
70
# -DMY_APPLET_SHARE_DATA_DIR=""${shortcutsdatadir)""
71
# -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
72
# -DMY_APPLET_CONF_FILE=""shortcuts.conf""
73
# -DMY_APPLET_USER_DATA_DIR=""shortcuts""
74
# -DMY_APPLET_VERSION=""${VERSION_SHORTCUTS)""
75
# -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_SHORTCUTS)""
76
# -DMY_APPLET_DOCK_VERSION=""${dock_version)""
77
# -DMY_APPLET_ICON_FILE=""icon.png""
78
# -DCD_APPLET_MULTI_INSTANCE="1"
80
# -Werror-implicit-function-declaration
84
#libcd_shortcuts_la_LIBADD =
88
#libcd_shortcuts_la_LDFLAGS =
89
# -avoid-version -module