Debian Codegraph @

Cairo-Penguin/src/CMakeLists.txt

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