2
########### sources ###############
6
applet-init.c applet-init.h
7
applet-config.c applet-config.h
8
applet-load-icons.c applet-load-icons.h
9
applet-notifications.c applet-notifications.h
12
add_library(${PACKAGE_FOLDERS} SHARED ${MODULE_SRCS})
14
########### compil ###############
15
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${foldersdatadir}")
16
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
17
add_definitions (-DMY_APPLET_CONF_FILE="Folders.conf")
18
add_definitions (-DMY_APPLET_USER_DATA_DIR="Folders")
19
add_definitions (-DMY_APPLET_VERSION="${VERSION_FOLDERS}")
20
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_FOLDERS}")
21
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
22
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg")
23
add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
24
### uncomment the following line to allow extended OpenGL drawing.
25
#add_definitions (-DGL_GLEXT_PROTOTYPES="1")
28
${PACKAGE_INCLUDE_DIRS})
31
${PACKAGE_LIBRARY_DIRS})
33
target_link_libraries (${PACKAGE_FOLDERS}
36
########### install files ###############
38
install(TARGETS ${PACKAGE_FOLDERS} DESTINATION ${pluginsdir})