Debian Codegraph @

weblets/src/CMakeLists.txt

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