~cairo-dock-team/ubuntu/quantal/cairo-dock-plug-ins/3.0.2

« back to all changes in this revision

Viewing changes to musicPlayer/src/CMakeLists.txt

Tags: upstream-2.2.0~0beta4
ImportĀ upstreamĀ versionĀ 2.2.0~0beta4

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
 
 
2
########### sources ###############
 
3
 
 
4
SET(cd-musicPlayer_LIB_SRCS
 
5
        applet-struct.h
 
6
        applet-init.c
 
7
        applet-init.h
 
8
        applet-config.c
 
9
        applet-config.h
 
10
        applet-cover.c
 
11
        applet-cover.h
 
12
        applet-notifications.c
 
13
        applet-notifications.h
 
14
        applet-dbus.c
 
15
        applet-dbus.h
 
16
        applet-draw.c
 
17
        applet-draw.h
 
18
        applet-musicplayer.c
 
19
        applet-musicplayer.h
 
20
        3dcover-draw.c
 
21
        3dcover-draw.h
 
22
        applet-mpris.c
 
23
        applet-mpris.h
 
24
        applet-amarok2.c
 
25
        applet-amarok2.h
 
26
        applet-amazon.c
 
27
        applet-amazon.h
 
28
        applet-banshee.c
 
29
        applet-banshee.h
 
30
        applet-clementine.c
 
31
        applet-clementine.h
 
32
        applet-exaile.c
 
33
        applet-exaile.h
 
34
        applet-exaile3.c
 
35
        applet-exaile3.h
 
36
        applet-guayadeque.c
 
37
        applet-guayadeque.h
 
38
        applet-listen.c
 
39
        applet-listen.h
 
40
        applet-qmmp.c
 
41
        applet-qmmp.h
 
42
        applet-quodlibet.c
 
43
        applet-quodlibet.h
 
44
        applet-rhythmbox.c
 
45
        applet-rhythmbox.h
 
46
        applet-songbird.c
 
47
        applet-songbird.h
 
48
        applet-xmms.c
 
49
        applet-xmms.h
 
50
        applet-audacious.c
 
51
        applet-audacious.h
 
52
        applet-xmms2.c
 
53
        applet-xmms2.h
 
54
)
 
55
 
 
56
add_library(${PACKAGE_MUSICPLAYER} SHARED ${cd-musicPlayer_LIB_SRCS})
 
57
 
 
58
########### compil ###############
 
59
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${musicplayerdatadir}")
 
60
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
 
61
add_definitions (-DMY_APPLET_CONF_FILE="musicPlayer.conf")
 
62
add_definitions (-DMY_APPLET_USER_DATA_DIR="musicPlayer")
 
63
add_definitions (-DMY_APPLET_VERSION="${VERSION_MUSICPLAYER}")
 
64
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_MUSICPLAYER}")
 
65
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
 
66
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
 
67
 
 
68
include_directories (
 
69
        ${PACKAGE_INCLUDE_DIRS})
 
70
 
 
71
link_directories (
 
72
        ${PACKAGE_LIBRARY_DIRS})
 
73
 
 
74
target_link_libraries (${PACKAGE_MUSICPLAYER}
 
75
        ${PACKAGE_LIBRARIES})
 
76
 
 
77
########### install files ###############
 
78
 
 
79
install(TARGETS ${PACKAGE_MUSICPLAYER} DESTINATION ${pluginsdir})
 
80
 
 
81
 
 
82
#original Makefile.am contents follow:
 
83
 
 
84
# #dnl Process this file with automake to produce Makefile.in
 
85
#
 
86
#lib_LTLIBRARIES = 
 
87
#       libcd-musicPlayer.la
 
88
#
 
89
#
 
90
#libcd_musicPlayer_la_SOURCES = 
 
91
#       applet-struct.h
 
92
#       applet-init.c
 
93
#       applet-init.h
 
94
#       applet-config.c
 
95
#       applet-config.h
 
96
#       applet-cover.c
 
97
#       applet-cover.h
 
98
#       applet-notifications.c
 
99
#       applet-notifications.h
 
100
#       applet-dbus.c
 
101
#       applet-dbus.h
 
102
#       applet-draw.c
 
103
#       applet-draw.h
 
104
#       applet-musicplayer.c
 
105
#       applet-musicplayer.h
 
106
#       3dcover-draw.c
 
107
#       3dcover-draw.h
 
108
#       applet-mpris.c
 
109
#       applet-mpris.h
 
110
#       applet-amarok2.c
 
111
#       applet-amarok2.h
 
112
#       applet-amazon.c
 
113
#       applet-amazon.h
 
114
#       applet-banshee.c
 
115
#       applet-banshee.h
 
116
#       applet-exaile.c
 
117
#       applet-exaile.h
 
118
#       applet-exaile3.c
 
119
#       applet-exaile3.h
 
120
#       applet-listen.c
 
121
#       applet-listen.h
 
122
#       applet-quodlibet.c
 
123
#       applet-quodlibet.h
 
124
#       applet-rhythmbox.c
 
125
#       applet-rhythmbox.h
 
126
#       applet-songbird.c
 
127
#       applet-songbird.h
 
128
#       applet-xmms.c
 
129
#       applet-xmms.h
 
130
#       applet-audacious.c
 
131
#       applet-audacious.h
 
132
#       applet-xmms2.c
 
133
#       applet-xmms2.h
 
134
#
 
135
#
 
136
#dock_version = `pkg-config --modversion cairo-dock`
 
137
#
 
138
#libcd_musicPlayer_la_CFLAGS = 
 
139
#       -I$(top_srcdir)/src
 
140
#       $(PACKAGE_CFLAGS)
 
141
#       -DMY_APPLET_SHARE_DATA_DIR=""${musicplayerdatadir)""
 
142
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
 
143
#       -DMY_APPLET_CONF_FILE=""musicPlayer.conf""
 
144
#       -DMY_APPLET_USER_DATA_DIR=""musicPlayer""
 
145
#       -DMY_APPLET_VERSION=""${VERSION_MUSICPLAYER)""
 
146
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_MUSICPLAYER)""
 
147
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
 
148
#       -DMY_APPLET_ICON_FILE=""icon.png""
 
149
#       -std=c99
 
150
#       -Werror-implicit-function-declaration
 
151
##      -g -ggdb -W -Wall
 
152
#
 
153
#
 
154
#libcd_musicPlayer_la_LIBADD = 
 
155
#       $(PACKAGE_LIBS) -lm
 
156
#
 
157
#
 
158
#libcd_musicPlayer_la_LDFLAGS =
 
159
#       -avoid-version -module