Debian Codegraph @

systray/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(cd-systray_LIB_SRCS
5 systray-init.c systray-init.h
6 systray-config.c systray-config.h
7 systray-notifications.c systray-notifications.h
8 systray-interface.c systray-interface.h
9 gtk${gtkversion}/na-tray.c gtk${gtkversion}/na-tray.h
10 gtk${gtkversion}/na-tray-manager.c gtk${gtkversion}/na-tray-manager.h
11 gtk${gtkversion}/na-tray-child.c gtk${gtkversion}/na-tray-child.h
12 gtk${gtkversion}/na-marshal.h gtk${gtkversion}/na-marshal.c
13 gtk${gtkversion}/fixedtip.c gtk${gtkversion}/fixedtip.h
14 systray-struct.h
15 )
16
17 add_library(${PACKAGE_SYSTRAY} SHARED ${cd-systray_LIB_SRCS})
18
19 ########### compil ###############
20 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${systraydatadir}")
21 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
22 add_definitions (-DMY_APPLET_CONF_FILE="systray.conf")
23 add_definitions (-DMY_APPLET_USER_DATA_DIR="systray")
24 add_definitions (-DMY_APPLET_VERSION="${VERSION_SYSTRAY}")
25 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_SYSTRAY}")
26 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
27 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
28
29 include_directories (
30 ${PACKAGE_INCLUDE_DIRS}
31 gtk${gtkversion})
32
33 link_directories (
34 ${PACKAGE_LIBRARY_DIRS})
35
36 target_link_libraries (${PACKAGE_SYSTRAY}
37 ${PACKAGE_LIBRARIES})
38
39 ########### install files ###############
40
41 install(TARGETS ${PACKAGE_SYSTRAY} DESTINATION ${pluginsdir})
42
43
44 #original Makefile.am contents follow:
45
46 # #dnl Process this file with automake to produce Makefile.in
47 #
48 #lib_LTLIBRARIES =
49 # libcd-systray.la
50 #
51 #
52 #libcd_systray_la_SOURCES =
53 # systray-init.c
54 # systray-init.h
55 # systray-config.c
56 # systray-config.h
57 # systray-menu-functions.c
58 # systray-menu-functions.h
59 # cd-tray.c
60 # cd-tray.h
61 # na-tray-manager.h
62 # na-tray-manager.c
63 # na-marshal.h
64 # na-marshal.c
65 # systray-struct.h
66 #
67 #dock_version = `pkg-config --modversion cairo-dock`
68 #
69 #libcd_systray_la_CFLAGS =
70 # -I$(top_srcdir)/src
71 # $(PACKAGE_CFLAGS)
72 # -DMY_APPLET_SHARE_DATA_DIR=""${systraydatadir)""
73 # -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
74 # -DMY_APPLET_CONF_FILE=""systray.conf""
75 # -DMY_APPLET_USER_DATA_DIR=""systray""
76 # -DMY_APPLET_VERSION=""${VERSION_SYSTRAY)""
77 # -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_SYSTRAY)""
78 # -DMY_APPLET_DOCK_VERSION=""${dock_version)""
79 # -DMY_APPLET_ICON_FILE=""icon.png""
80 # -std=c99
81 # -Werror-implicit-function-declaration
82 ## -g -ggdb -W -Wall -W -Werror
83 #
84 #libcd_systray_la_LIBADD =
85 # $(PACKAGE_LIBS) -lm
86 #
87 #
88 #libcd_systray_la_LDFLAGS =
89 # -avoid-version -module