Debian Codegraph @

gnome-integration/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(cd_gnome-integration_LIB_SRCS
5 applet-init.c
6 applet-init.h
7 applet-utils.c
8 applet-utils.h
9 )
10
11 add_library(${PACKAGE_GNOME_INTEGRATION} SHARED ${cd_gnome-integration_LIB_SRCS})
12
13 ########### compil ###############
14 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${gnome_integrationdatadir}")
15 add_definitions (-DMY_APPLET_PREVIEW_FILE="none")
16 add_definitions (-DMY_APPLET_CONF_FILE="none")
17 add_definitions (-DMY_APPLET_USER_DATA_DIR="gnome-integration")
18 add_definitions (-DMY_APPLET_VERSION="${VERSION_GNOME_INTEGRATION}")
19 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_GNOME_INTEGRATION}")
20 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
21 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
22
23 include_directories (
24 ${PACKAGE_INCLUDE_DIRS}
25 ${GNOME_INTEGRATION_INCLUDE_DIRS}
26 ${CMAKE_SOURCE_DIR}/gvfs-integration)
27
28 link_directories (
29 ${PACKAGE_LIBRARY_DIRS}
30 ${GNOME_INTEGRATION_LIBRARY_DIRS}
31 ${CMAKE_SOURCE_DIR}/gvfs-integration)
32
33 target_link_libraries (${PACKAGE_GNOME_INTEGRATION}
34 ${PACKAGE_LIBRARIES}
35 ${GNOME_INTEGRATION_LIBRARIES}
36 gvfs-integration)
37
38 ########### install files ###############
39
40 install(TARGETS ${PACKAGE_GNOME_INTEGRATION} DESTINATION ${pluginsdir})
41
42
43 #original Makefile.am contents follow:
44
45 # #dnl Process this file with automake to produce Makefile.in
46 #
47 #lib_LTLIBRARIES =
48 # libcd_gnome-integration.la
49 #
50 #
51 #libcd_gnome_integration_la_SOURCES =
52 # applet-init.c
53 # applet-init.h
54 # applet-gvfs.c
55 # applet-gvfs.h
56 # applet-utils.c
57 # applet-utils.h
58 #
59 #
60 #dock_version = `pkg-config --modversion cairo-dock`
61 #
62 #libcd_gnome_integration_la_CFLAGS =
63 # -I$(top_srcdir)/src
64 # $(PACKAGE_CFLAGS)
65 # $(GNOME_INTEGRATION_CFLAGS)
66 # -DMY_APPLET_SHARE_DATA_DIR=""${gnome_integrationdatadir)""
67 # -DMY_APPLET_PREVIEW_FILE="none"""
68 # -DMY_APPLET_CONF_FILE=""none""
69 # -DMY_APPLET_USER_DATA_DIR=""gnome-integration""
70 # -DMY_APPLET_VERSION=""${VERSION_GNOME_INTEGRATION)""
71 # -DMY_APPLET_GETTEXT_DOMAIN=""cd_gnome-integration""
72 # -DMY_APPLET_DOCK_VERSION=""${dock_version)""
73 # -DMY_APPLET_ICON_FILE=""icon.png""
74 # -std=c99
75 # -Werror-implicit-function-declaration
76 ## -g -ggdb -W -Wall
77 #
78 #
79 #libcd_gnome_integration_la_LIBADD =
80 # $(PACKAGE_LIBS)
81 # $(GNOME_INTEGRATION_LIBS)
82 # -lm
83 #
84 #
85 #libcd_gnome_integration_la_LDFLAGS =
86 # -avoid-version -module