2
########### sources ###############
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
22
add_library(${PACKAGE_SCOOBY_DO} SHARED ${cd-Scooby-Do_LIB_SRCS})
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")
36
${PACKAGE_INCLUDE_DIRS})
39
${PACKAGE_LIBRARY_DIRS})
41
target_link_libraries (${PACKAGE_SCOOBY_DO}
44
########### install files ###############
46
install(TARGETS ${PACKAGE_SCOOBY_DO} DESTINATION ${pluginsdir})
49
########### install files ###############
54
#original Makefile.am contents follow:
56
# #dnl Process this file with automake to produce Makefile.in
62
#libcd_Scooby_Do_la_SOURCES =
67
# applet-notifications.c
68
# applet-notifications.h
75
# applet-icon-finder.c
76
# applet-icon-finder.h
77
# applet-appli-finder.c
78
# applet-appli-finder.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
94
#dock_version = `pkg-config --modversion cairo-dock`
96
#libcd_Scooby_Do_la_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""
109
# -Werror-implicit-function-declaration
113
#libcd_Scooby_Do_la_LIBADD =
114
# $(PACKAGE_LIBS) -lm
117
#libcd_Scooby_Do_la_LDFLAGS =
118
# -avoid-version -module