| 1 |
|
| 2 |
########### sources ############### |
| 3 |
|
| 4 |
SET(cd-Scooby-Do_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-draw.c applet-draw.h |
| 9 |
applet-session.c applet-session.h |
| 10 |
applet-listing.c applet-listing.h |
| 11 |
applet-icon-finder.c applet-icon-finder.h |
| 12 |
applet-appli-finder.c applet-appli-finder.h |
| 13 |
applet-search.c applet-search.h |
| 14 |
applet-backend-command.c applet-backend-command.h |
| 15 |
applet-backend-files.c applet-backend-files.h |
| 16 |
applet-backend-web.c applet-backend-web.h |
| 17 |
applet-backend-firefox.c applet-backend-firefox.h |
| 18 |
applet-backend-recent.c applet-backend-recent.h |
| 19 |
applet-struct.h |
| 20 |
) |
| 21 |
|
| 22 |
add_library(${PACKAGE_SCOOBY_DO} SHARED ${cd-Scooby-Do_LIB_SRCS}) |
| 23 |
|
| 24 |
########### compil ############### |
| 25 |
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${scooby_dodatadir}") |
| 26 |
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg") |
| 27 |
add_definitions (-DMY_APPLET_CONF_FILE="Scooby-Do.conf") |
| 28 |
add_definitions (-DMY_APPLET_USER_DATA_DIR="Scooby-Do") |
| 29 |
add_definitions (-DMY_APPLET_VERSION="${VERSION_SCOOBY_DO}") |
| 30 |
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_SCOOBY_DO}") |
| 31 |
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}") |
| 32 |
add_definitions (-DMY_APPLET_ICON_FILE="icon.png") |
| 33 |
add_definitions (-DGL_GLEXT_PROTOTYPES="1") |
| 34 |
|
| 35 |
include_directories ( |
| 36 |
${PACKAGE_INCLUDE_DIRS}) |
| 37 |
|
| 38 |
link_directories ( |
| 39 |
${PACKAGE_LIBRARY_DIRS}) |
| 40 |
|
| 41 |
target_link_libraries (${PACKAGE_SCOOBY_DO} |
| 42 |
${PACKAGE_LIBRARIES}) |
| 43 |
|
| 44 |
########### install files ############### |
| 45 |
|
| 46 |
install(TARGETS ${PACKAGE_SCOOBY_DO} DESTINATION ${pluginsdir}) |
| 47 |
|
| 48 |
|
| 49 |
########### install files ############### |
| 50 |
|
| 51 |
|
| 52 |
|
| 53 |
|
| 54 |
#original Makefile.am contents follow: |
| 55 |
|
| 56 |
# #dnl Process this file with automake to produce Makefile.in |
| 57 |
# |
| 58 |
#lib_LTLIBRARIES = |
| 59 |
# libcd-Scooby-Do.la |
| 60 |
# |
| 61 |
# |
| 62 |
#libcd_Scooby_Do_la_SOURCES = |
| 63 |
# applet-init.c |
| 64 |
# applet-init.h |
| 65 |
# applet-config.c |
| 66 |
# applet-config.h |
| 67 |
# applet-notifications.c |
| 68 |
# applet-notifications.h |
| 69 |
# applet-draw.c |
| 70 |
# applet-draw.h |
| 71 |
# applet-session.c |
| 72 |
# applet-session.h |
| 73 |
# applet-listing.c |
| 74 |
# applet-listing.h |
| 75 |
# applet-icon-finder.c |
| 76 |
# applet-icon-finder.h |
| 77 |
# applet-appli-finder.c |
| 78 |
# applet-appli-finder.h |
| 79 |
# applet-search.c |
| 80 |
# applet-search.h |
| 81 |
# applet-backend-command.c |
| 82 |
# applet-backend-command.h |
| 83 |
# applet-backend-files.c |
| 84 |
# applet-backend-files.h |
| 85 |
# applet-backend-web.c |
| 86 |
# applet-backend-web.h |
| 87 |
# applet-backend-firefox.c |
| 88 |
# applet-backend-firefox.h |
| 89 |
# applet-backend-recent.c |
| 90 |
# applet-backend-recent.h |
| 91 |
# applet-struct.h |
| 92 |
# |
| 93 |
# |
| 94 |
#dock_version = `pkg-config --modversion cairo-dock` |
| 95 |
# |
| 96 |
#libcd_Scooby_Do_la_CFLAGS = |
| 97 |
# -I$(top_srcdir)/src |
| 98 |
# $(PACKAGE_CFLAGS) |
| 99 |
# -DMY_APPLET_SHARE_DATA_DIR=""${scooby_dodatadir)"" |
| 100 |
# -DMY_APPLET_PREVIEW_FILE=""preview.jpg"" |
| 101 |
# -DMY_APPLET_CONF_FILE=""Scooby-Do.conf"" |
| 102 |
# -DMY_APPLET_USER_DATA_DIR=""Scooby-Do"" |
| 103 |
# -DMY_APPLET_VERSION=""${VERSION_SCOOBY_DO)"" |
| 104 |
# -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_SCOOBY_DO)"" |
| 105 |
# -DMY_APPLET_DOCK_VERSION=""${dock_version)"" |
| 106 |
# -DMY_APPLET_ICON_FILE=""icon.png"" |
| 107 |
# -DGL_GLEXT_PROTOTYPES=""1"" |
| 108 |
# -std=c99 |
| 109 |
# -Werror-implicit-function-declaration |
| 110 |
## -g -ggdb -W -Wall |
| 111 |
# |
| 112 |
# |
| 113 |
#libcd_Scooby_Do_la_LIBADD = |
| 114 |
# $(PACKAGE_LIBS) -lm |
| 115 |
# |
| 116 |
# |
| 117 |
#libcd_Scooby_Do_la_LDFLAGS = |
| 118 |
# -avoid-version -module |