| 1 |
|
| 2 |
########### sources ############### |
| 3 |
|
| 4 |
SET(cd-disks_LIB_SRCS |
| 5 |
applet-init.c |
| 6 |
applet-init.h |
| 7 |
applet-config.c |
| 8 |
applet-config.h |
| 9 |
applet-disks.c |
| 10 |
applet-disks.h |
| 11 |
applet-notifications.c |
| 12 |
applet-notifications.h |
| 13 |
applet-struct.h |
| 14 |
) |
| 15 |
|
| 16 |
add_library(${PACKAGE_DISKS} SHARED ${cd-disks_LIB_SRCS}) |
| 17 |
|
| 18 |
########### compil ############### |
| 19 |
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${disksdatadir}") |
| 20 |
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg") |
| 21 |
add_definitions (-DMY_APPLET_CONF_FILE="Disks.conf") |
| 22 |
add_definitions (-DMY_APPLET_USER_DATA_DIR="Disks") |
| 23 |
add_definitions (-DMY_APPLET_VERSION="${VERSION_DISKS}") |
| 24 |
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_DISKS}") |
| 25 |
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}") |
| 26 |
add_definitions (-DMY_APPLET_ICON_FILE="icon.png") |
| 27 |
add_definitions (-DCD_APPLET_MULTI_INSTANCE="1") |
| 28 |
|
| 29 |
include_directories ( |
| 30 |
${PACKAGE_INCLUDE_DIRS}) |
| 31 |
|
| 32 |
link_directories ( |
| 33 |
${PACKAGE_LIBRARY_DIRS}) |
| 34 |
|
| 35 |
target_link_libraries (${PACKAGE_DISKS} |
| 36 |
${PACKAGE_LIBRARIES}) |
| 37 |
|
| 38 |
########### install files ############### |
| 39 |
|
| 40 |
install(TARGETS ${PACKAGE_DISKS} DESTINATION ${pluginsdir}) |