~cairo-dock-team/cairo-dock-plug-ins/plug-ins

« back to all changes in this revision

Viewing changes to mail/src/CMakeLists.txt

  • Committer: Matthieu Baerts
  • Date: 2014-10-19 00:26:10 UTC
  • Revision ID: matttbe@gmail.com-20141019002610-ulf26s9b4c4rw10r
We just switched from BZR to Git.
Follow us on Github: https://github.com/Cairo-Dock

Note: we will only use Github to manage our source code and all pull requests.
Please continue to report your bugs/ideas/messages on our forum or Launchpad! 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
 
2
 
########### sources ###############
3
 
 
4
 
SET(cd-mail_LIB_SRCS
5
 
        cd-mail-applet-init.c
6
 
        cd-mail-applet-init.h
7
 
        cd-mail-applet-config.c
8
 
        cd-mail-applet-config.h
9
 
        cd-mail-applet-notifications.c
10
 
        cd-mail-applet-notifications.h
11
 
        cd-mail-applet-struct.h
12
 
        cd-mail-applet-etpan.c
13
 
        cd-mail-applet-etpan.h
14
 
        cd-mail-applet-accounts.c
15
 
        cd-mail-applet-accounts.h
16
 
)
17
 
 
18
 
add_library(${PACKAGE_MAIL} SHARED ${cd-mail_LIB_SRCS})
19
 
 
20
 
########### compil ###############
21
 
add_definitions (-D_POSIX_SOURCE=1 -DHAVE_SSL_SUPPORT=1)
22
 
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${maildatadir}")
23
 
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
24
 
add_definitions (-DMY_APPLET_CONF_FILE="mail.conf")
25
 
add_definitions (-DMY_APPLET_USER_DATA_DIR="mail")
26
 
add_definitions (-DMY_APPLET_VERSION="${VERSION_MAIL}")
27
 
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_MAIL}")
28
 
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
29
 
add_definitions (-DMY_APPLET_ICON_FILE="cd_mail_icon.png")
30
 
add_definitions (-DCD_APPLET_MULTI_INSTANCE="1")
31
 
add_definitions (-DGL_GLEXT_PROTOTYPES="1")
32
 
 
33
 
include_directories (
34
 
        ${PACKAGE_INCLUDE_DIRS}
35
 
        ${MAIL_PACKAGE_INCLUDE_DIRS})
36
 
 
37
 
link_directories (
38
 
        ${PACKAGE_LIBRARY_DIRS}
39
 
        ${MAIL_PACKAGE_LIBRARY_DIRS})
40
 
 
41
 
target_link_libraries (${PACKAGE_MAIL}
42
 
        ${PACKAGE_LIBRARIES}
43
 
        ${MAIL_PACKAGE_LIBRARIES})
44
 
 
45
 
########### install files ###############
46
 
 
47
 
install(TARGETS ${PACKAGE_MAIL} DESTINATION ${pluginsdir})
48
 
 
49
 
 
50
 
#original Makefile.am contents follow:
51
 
 
52
 
# #dnl Process this file with automake to produce Makefile.in
53
 
#
54
 
#lib_LTLIBRARIES = 
55
 
#       libcd-mail.la
56
 
#
57
 
#
58
 
#libcd_mail_la_SOURCES = 
59
 
#       cd-mail-applet-init.c
60
 
#       cd-mail-applet-init.h
61
 
#       cd-mail-applet-config.c
62
 
#       cd-mail-applet-config.h
63
 
#       cd-mail-applet-notifications.c
64
 
#       cd-mail-applet-notifications.h
65
 
#       cd-mail-applet-struct.h
66
 
#       cd-mail-applet-etpan.c
67
 
#       cd-mail-applet-etpan.h
68
 
#       cd-mail-applet-accounts.c
69
 
#       cd-mail-applet-accounts.h
70
 
#
71
 
#
72
 
#dock_version = `pkg-config --modversion cairo-dock`
73
 
#
74
 
#libcd_mail_la_CFLAGS = 
75
 
#       -I$(top_srcdir)/src
76
 
#       $(PACKAGE_CFLAGS)
77
 
#       $(MAIL_PACKAGE_CFLAGS)
78
 
#       -D_POSIX_SOURCE=1 -DHAVE_SSL_SUPPORT=1
79
 
#       -DMY_APPLET_SHARE_DATA_DIR=""${maildatadir)""
80
 
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
81
 
#       -DMY_APPLET_CONF_FILE=""mail.conf""
82
 
#       -DMY_APPLET_USER_DATA_DIR=""mail""
83
 
#       -DMY_APPLET_VERSION=""${VERSION_MAIL)""
84
 
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_MAIL)""
85
 
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
86
 
#       -DMY_APPLET_ICON_FILE=""cd_mail_icon.png""
87
 
#       -DCD_APPLET_MULTI_INSTANCE="1"
88
 
#       -DGL_GLEXT_PROTOTYPES=""1""
89
 
#       -std=c99
90
 
#       -Werror-implicit-function-declaration
91
 
#       -g -ggdb -W
92
 
##      -fgnu89-inline
93
 
#
94
 
#
95
 
#libcd_mail_la_LIBADD = 
96
 
#       $(PACKAGE_LIBS) -lm 
97
 
#       $(MAIL_PACKAGE_LIBS)
98
 
#
99
 
#
100
 
#libcd_mail_la_LDFLAGS =
101
 
#       -avoid-version -module