Debian Codegraph @

slider/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(cd-slider_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-slider.c
12 applet-slider.h
13 applet-transitions.c
14 applet-transitions.h
15 applet-struct.h
16 )
17
18 add_library(${PACKAGE_SLIDER} SHARED ${cd-slider_LIB_SRCS})
19
20 ########### compil ###############
21 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${sliderdatadir}")
22 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
23 add_definitions (-DMY_APPLET_CONF_FILE="slider.conf")
24 add_definitions (-DMY_APPLET_USER_DATA_DIR="slider")
25 add_definitions (-DMY_APPLET_VERSION="${VERSION_SLIDER}")
26 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_SLIDER}")
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 if (${EXIF_FOUND})
32 add_definitions (-DHAVE_EXIF="1")
33 endif()
34
35 include_directories (
36 ${PACKAGE_INCLUDE_DIRS}
37 ${EXIF_INCLUDE_DIRS})
38
39 link_directories (
40 ${PACKAGE_LIBRARY_DIRS}
41 ${EXIF_LIBRARY_DIRS})
42
43 target_link_libraries (${PACKAGE_SLIDER}
44 ${PACKAGE_LIBRARIES}
45 ${EXIF_LIBRARIES})
46
47 ########### install files ###############
48
49 install(TARGETS ${PACKAGE_SLIDER} DESTINATION ${pluginsdir})
50
51
52 #original Makefile.am contents follow:
53
54 # #dnl Process this file with automake to produce Makefile.in
55 #
56 #lib_LTLIBRARIES =
57 # libcd-slider.la
58 #
59 #
60 #if WITH_EXIF
61 #have_exif=-DHAVE_EXIF="1"
62 #endif
63 #
64 #libcd_slider_la_SOURCES =
65 # applet-init.c
66 # applet-init.h
67 # applet-config.c
68 # applet-config.h
69 # applet-notifications.c
70 # applet-notifications.h
71 # applet-slider.c
72 # applet-slider.h
73 # applet-transitions.c
74 # applet-transitions.h
75 # applet-struct.h
76 #
77 #
78 #dock_version = `pkg-config --modversion cairo-dock`
79 #
80 #libcd_slider_la_CFLAGS =
81 # -I$(top_srcdir)/src
82 # $(PACKAGE_CFLAGS)
83 # $(EXIF_CFLAGS)
84 # $(have_exif)
85 # -DMY_APPLET_SHARE_DATA_DIR=""${sliderdatadir)""
86 # -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
87 # -DMY_APPLET_CONF_FILE=""slider.conf""
88 # -DMY_APPLET_USER_DATA_DIR=""slider""
89 # -DMY_APPLET_VERSION=""${VERSION_SLIDER)""
90 # -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_SLIDER)""
91 # -DMY_APPLET_DOCK_VERSION=""${dock_version)""
92 # -DMY_APPLET_ICON_FILE=""icon.png""
93 # -DCD_APPLET_MULTI_INSTANCE="1"
94 # -DGL_GLEXT_PROTOTYPES=""1""
95 # -Werror-implicit-function-declaration
96 # -std=c99
97 ## -g -ggdb -W -Wall
98 #
99 #
100 #libcd_slider_la_LIBADD =
101 # $(EXIF_LIBS)
102 # $(PACKAGE_LIBS) -lm
103 #
104 #
105 #libcd_slider_la_LDFLAGS =
106 # -avoid-version -module