| 1 |
|
| 2 |
########### sources ############### |
| 3 |
|
| 4 |
SET(cd-dnd2share_LIB_SRCS |
| 5 |
applet-backend-codepad.c |
| 6 |
applet-backend-codepad.h |
| 7 |
applet-backend-custom.c |
| 8 |
applet-backend-custom.h |
| 9 |
applet-backend-dropbox.c |
| 10 |
applet-backend-dropbox.h |
| 11 |
applet-backend-free.c |
| 12 |
applet-backend-free.h |
| 13 |
applet-backend-imagebin.c |
| 14 |
applet-backend-imagebin.h |
| 15 |
applet-backend-imgur.c |
| 16 |
applet-backend-imgur.h |
| 17 |
applet-backend-pastebin.c |
| 18 |
applet-backend-pastebin.h |
| 19 |
applet-backend-pastebin-mozilla.c |
| 20 |
applet-backend-pastebin-mozilla.h |
| 21 |
applet-backend-paste-ubuntu.c |
| 22 |
applet-backend-paste-ubuntu.h |
| 23 |
applet-backend-uppix.c |
| 24 |
applet-backend-uppix.h |
| 25 |
applet-backend-videobin.c |
| 26 |
applet-backend-videobin.h |
| 27 |
applet-config.c |
| 28 |
applet-config.h |
| 29 |
applet-dnd2share.c |
| 30 |
applet-dnd2share.h |
| 31 |
applet-init.c |
| 32 |
applet-init.h |
| 33 |
applet-notifications.c |
| 34 |
applet-notifications.h |
| 35 |
applet-struct.h |
| 36 |
) |
| 37 |
|
| 38 |
add_library(${PACKAGE_DND2SHARE} SHARED ${cd-dnd2share_LIB_SRCS}) |
| 39 |
|
| 40 |
########### compil ############### |
| 41 |
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${dnd2sharedatadir}") |
| 42 |
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg") |
| 43 |
add_definitions (-DMY_APPLET_CONF_FILE="dnd2share.conf") |
| 44 |
add_definitions (-DMY_APPLET_USER_DATA_DIR="dnd2share") |
| 45 |
add_definitions (-DMY_APPLET_VERSION="${VERSION_DND2SHARE}") |
| 46 |
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_DND2SHARE}") |
| 47 |
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}") |
| 48 |
add_definitions (-DMY_APPLET_ICON_FILE="icon.svg") |
| 49 |
|
| 50 |
include_directories ( |
| 51 |
${PACKAGE_INCLUDE_DIRS}) |
| 52 |
|
| 53 |
link_directories ( |
| 54 |
${PACKAGE_LIBRARY_DIRS}) |
| 55 |
|
| 56 |
target_link_libraries (${PACKAGE_DND2SHARE} |
| 57 |
${PACKAGE_LIBRARIES}) |
| 58 |
|
| 59 |
########### install files ############### |
| 60 |
|
| 61 |
install(TARGETS ${PACKAGE_DND2SHARE} DESTINATION ${pluginsdir}) |