Debian Codegraph @

shortcuts/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(cd-shortcuts_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-bookmarks.c applet-bookmarks.h
9 applet-load-icons.c applet-load-icons.h
10 applet-disk-usage.c applet-disk-usage.h
11 applet-drives.c applet-drives.h
12 applet-struct.h
13 )
14
15 add_library(${PACKAGE_SHORTCUTS} SHARED ${cd-shortcuts_LIB_SRCS})
16
17 ########### compil ###############
18 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${shortcutsdatadir}")
19 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
20 add_definitions (-DMY_APPLET_CONF_FILE="shortcuts.conf")
21 add_definitions (-DMY_APPLET_USER_DATA_DIR="shortcuts")
22 add_definitions (-DMY_APPLET_VERSION="${VERSION_SHORTCUTS}")
23 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_SHORTCUTS}")
24 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
25 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
26 add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
27
28 include_directories (
29 ${PACKAGE_INCLUDE_DIRS})
30
31 link_directories (
32 ${PACKAGE_LIBRARY_DIRS})
33
34 target_link_libraries (${PACKAGE_SHORTCUTS}
35 ${PACKAGE_LIBRARIES})
36
37 ########### install files ###############
38
39 install(TARGETS ${PACKAGE_SHORTCUTS} DESTINATION ${pluginsdir})
40
41
42 #original Makefile.am contents follow:
43
44 # #dnl Process this file with automake to produce Makefile.in
45 #
46 #lib_LTLIBRARIES =
47 # libcd-shortcuts.la
48 #
49 #
50 #libcd_shortcuts_la_SOURCES =
51 # applet-init.c
52 # applet-init.h
53 # applet-config.c
54 # applet-config.h
55 # applet-notifications.c
56 # applet-notifications.h
57 # applet-bookmarks.c
58 # applet-bookmarks.h
59 # applet-load-icons.c
60 # applet-load-icons.h
61 # applet-disk-usage.c
62 # applet-disk-usage.h
63 # applet-struct.h
64 #
65 #dock_version = `pkg-config --modversion cairo-dock`
66 #
67 #libcd_shortcuts_la_CFLAGS =
68 # -I$(top_srcdir)/src
69 # $(PACKAGE_CFLAGS)
70 # -DMY_APPLET_SHARE_DATA_DIR=""${shortcutsdatadir)""
71 # -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
72 # -DMY_APPLET_CONF_FILE=""shortcuts.conf""
73 # -DMY_APPLET_USER_DATA_DIR=""shortcuts""
74 # -DMY_APPLET_VERSION=""${VERSION_SHORTCUTS)""
75 # -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_SHORTCUTS)""
76 # -DMY_APPLET_DOCK_VERSION=""${dock_version)""
77 # -DMY_APPLET_ICON_FILE=""icon.png""
78 # -DCD_APPLET_MULTI_INSTANCE="1"
79 # -std=c99
80 # -Werror-implicit-function-declaration
81 ## -g -ggdb -W -Wall
82 #
83 #
84 #libcd_shortcuts_la_LIBADD =
85 # $(PACKAGE_LIBS) -lm
86 #
87 #
88 #libcd_shortcuts_la_LDFLAGS =
89 # -avoid-version -module