Debian Codegraph @

dustbin/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(cd-dustbin_LIB_SRCS
5 applet-struct.h
6 applet-init.c
7 applet-init.h
8 applet-config.c
9 applet-config.h
10 applet-notifications.c
11 applet-notifications.h
12 applet-trashes-manager.c
13 applet-trashes-manager.h
14 )
15
16 add_library(${PACKAGE_DUSTBIN} SHARED ${cd-dustbin_LIB_SRCS})
17
18 ########### compil ###############
19 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${dustbindatadir}")
20 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
21 add_definitions (-DMY_APPLET_CONF_FILE="dustbin.conf")
22 add_definitions (-DMY_APPLET_USER_DATA_DIR="${dustbinuserdirname}")
23 add_definitions (-DMY_APPLET_VERSION="${VERSION_DUSTBIN}")
24 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_DUSTBIN}")
25 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
26 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
27
28 include_directories (
29 ${PACKAGE_INCLUDE_DIRS})
30
31 link_directories (
32 ${PACKAGE_LIBRARY_DIRS})
33
34 target_link_libraries (${PACKAGE_DUSTBIN}
35 ${PACKAGE_LIBRARIES})
36
37 ########### install files ###############
38
39 install(TARGETS ${PACKAGE_DUSTBIN} 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-dustbin.la
48 #
49 #
50 #libcd_dustbin_la_SOURCES =
51 # applet-struct.h
52 # applet-init.c
53 # applet-init.h
54 # applet-draw.c
55 # applet-draw.h
56 # applet-config.c
57 # applet-config.h
58 # applet-notifications.c
59 # applet-notifications.h
60 # applet-trashes-manager.c
61 # applet-trashes-manager.h
62 #
63 #
64 #dock_version = `pkg-config --modversion cairo-dock`
65 #
66 #libcd_dustbin_la_CFLAGS =
67 # -I$(top_srcdir)/src
68 # $(PACKAGE_CFLAGS)
69 # -DMY_APPLET_SHARE_DATA_DIR=""${dustbindatadir)""
70 # -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
71 # -DMY_APPLET_CONF_FILE=""dustbin.conf""
72 # -DMY_APPLET_USER_DATA_DIR=""${dustbinuserdirname)""
73 # -DMY_APPLET_VERSION=""${VERSION_DUSTBIN)""
74 # -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_DUSTBIN)""
75 # -DMY_APPLET_DOCK_VERSION=""${dock_version)""
76 # -DMY_APPLET_ICON_FILE=""icon.png""
77 # -std=c99
78 ## -g -ggdb -W -Wall
79 #
80 #
81 #libcd_dustbin_la_LIBADD =
82 # $(PACKAGE_LIBS) -lm
83 #
84 #
85 #libcd_dustbin_la_LDFLAGS =
86 # -avoid-version -module