Debian Codegraph @

show-mouse/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(cd-show_mouse_LIB_SRCS
5 applet-init.c
6 applet-init.h
7 applet-config.c
8 applet-config.h
9 applet-notifications.c
10 applet-notifications.h
11 applet-struct.h
12 star-tex.h
13 )
14
15 add_library(${PACKAGE_SHOW_MOUSE} SHARED ${cd-show_mouse_LIB_SRCS})
16
17 ########### compil ###############
18 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${show_mousedatadir}")
19 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
20 add_definitions (-DMY_APPLET_CONF_FILE="show_mouse.conf")
21 add_definitions (-DMY_APPLET_USER_DATA_DIR="show_mouse")
22 add_definitions (-DMY_APPLET_VERSION="${VERSION_SHOW_MOUSE}")
23 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_SHOW_MOUSE}")
24 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
25 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
26 add_definitions (-DGL_GLEXT_PROTOTYPES="1")
27
28 include_directories (
29 ${PACKAGE_INCLUDE_DIRS})
30
31 link_directories (
32 ${PACKAGE_LIBRARY_DIRS})
33
34 target_link_libraries (${PACKAGE_SHOW_MOUSE}
35 ${PACKAGE_LIBRARIES})
36
37 ########### install files ###############
38
39 install(TARGETS ${PACKAGE_SHOW_MOUSE} 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-show_mouse.la
48 #
49 #
50 #libcd_show_mouse_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-struct.h
58 # star-tex.h
59 #
60 #
61 #dock_version = `pkg-config --modversion cairo-dock`
62 #
63 #libcd_show_mouse_la_CFLAGS =
64 # -I$(top_srcdir)/src
65 # $(PACKAGE_CFLAGS)
66 # -DMY_APPLET_SHARE_DATA_DIR=""${show_mousedatadir)""
67 # -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
68 # -DMY_APPLET_CONF_FILE=""show_mouse.conf""
69 # -DMY_APPLET_USER_DATA_DIR=""show_mouse""
70 # -DMY_APPLET_VERSION=""${VERSION_SHOW_MOUSE)""
71 # -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_SHOW_MOUSE)""
72 # -DMY_APPLET_DOCK_VERSION=""${dock_version)""
73 # -DMY_APPLET_ICON_FILE=""icon.png""
74 # -DGL_GLEXT_PROTOTYPES=""1""
75 # -std=c99
76 # -Werror-implicit-function-declaration
77 ## -g -ggdb -W -Wall
78 #
79 #
80 #libcd_show_mouse_la_LIBADD =
81 # $(PACKAGE_LIBS) -lm
82 #
83 #
84 #libcd_show_mouse_la_LDFLAGS =
85 # -avoid-version -module