Debian Codegraph @

Xgamma/src/CMakeLists.txt

raw
1
2 ########### sources ###############
3
4 SET(cd-Xgamma_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 applet-xgamma.c
13 applet-xgamma.h
14 )
15
16 add_library(${PACKAGE_XGAMMA} SHARED ${cd-Xgamma_LIB_SRCS})
17
18 ########### compil ###############
19 add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${xgammadatadir}")
20 add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
21 add_definitions (-DMY_APPLET_CONF_FILE="Xgamma.conf")
22 add_definitions (-DMY_APPLET_USER_DATA_DIR="Xgamma")
23 add_definitions (-DMY_APPLET_VERSION="${VERSION_XGAMMA}")
24 add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_XGAMMA}")
25 add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
26 add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
27
28 include_directories (
29 ${PACKAGE_INCLUDE_DIRS}
30 ${XGAMMA_PACKAGE_INCLUDE_DIRS})
31
32 link_directories (
33 ${PACKAGE_LIBRARY_DIRS}
34 ${XGAMMA_PACKAGE_LIBRARY_DIRS})
35
36 target_link_libraries (${PACKAGE_XGAMMA}
37 ${PACKAGE_LIBRARIES}
38 ${XGAMMA_PACKAGE_LIBRARIES})
39
40 ########### install files ###############
41
42 install(TARGETS ${PACKAGE_XGAMMA} DESTINATION ${pluginsdir})
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-Xgamma.la
51 #
52 #
53 #libcd_Xgamma_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-struct.h
61 # applet-xgamma.c
62 # applet-xgamma.h
63 #
64 #
65 #dock_version = `pkg-config --modversion cairo-dock`
66 #
67 #libcd_Xgamma_la_CFLAGS =
68 # -I$(top_srcdir)/src
69 # $(PACKAGE_CFLAGS)
70 # $(XGAMMA_PACKAGE_CFLAGS)
71 # -DMY_APPLET_SHARE_DATA_DIR=""${xgammadatadir)""
72 # -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
73 # -DMY_APPLET_CONF_FILE=""Xgamma.conf""
74 # -DMY_APPLET_USER_DATA_DIR=""Xgamma""
75 # -DMY_APPLET_VERSION=""${VERSION_XGAMMA)""
76 # -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_XGAMMA)""
77 # -DMY_APPLET_DOCK_VERSION=""${dock_version)""
78 # -DMY_APPLET_ICON_FILE=""icon.png""
79 # -std=c99
80 # -Werror-implicit-function-declaration
81 ## -g -ggdb -W -Wall
82 #
83 #
84 #libcd_Xgamma_la_LIBADD =
85 # $(PACKAGE_LIBS) -lm
86 # $(XGAMMA_PACKAGE_LIBS)
87 #
88 #
89 #libcd_Xgamma_la_LDFLAGS =
90 # -avoid-version -module