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

« back to all changes in this revision

Viewing changes to terminal/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-terminal_LIB_SRCS
5
 
        terminal-init.c
6
 
        terminal-init.h
7
 
        terminal-config.c
8
 
        terminal-config.h
9
 
        terminal-menu-functions.c
10
 
        terminal-menu-functions.h
11
 
        terminal-callbacks.c
12
 
        terminal-callbacks.h
13
 
        terminal-widget.c
14
 
        terminal-widget.h
15
 
        terminal-struct.h
16
 
)
17
 
 
18
 
add_library(${PACKAGE_TERMINAL} SHARED ${cd-terminal_LIB_SRCS})
19
 
 
20
 
########### compil ###############
21
 
add_definitions (-DMY_APPLET_SHARE_DATA_DIR="${terminaldatadir}")
22
 
add_definitions (-DMY_APPLET_PREVIEW_FILE="preview.jpg")
23
 
add_definitions (-DMY_APPLET_CONF_FILE="terminal.conf")
24
 
add_definitions (-DMY_APPLET_USER_DATA_DIR="terminal")
25
 
add_definitions (-DMY_APPLET_VERSION="${VERSION_TERMINAL}")
26
 
add_definitions (-DMY_APPLET_GETTEXT_DOMAIN="${GETTEXT_TERMINAL}")
27
 
add_definitions (-DMY_APPLET_DOCK_VERSION="${dock_version}")
28
 
add_definitions (-DMY_APPLET_ICON_FILE="icon.png")
29
 
add_definitions (-DVTE_MAJOR=${VTE_MAJOR})
30
 
add_definitions (-DVTE_MINOR=${VTE_MINOR})
31
 
 
32
 
include_directories (
33
 
        ${PACKAGE_INCLUDE_DIRS}
34
 
        ${VTE_INCLUDE_DIRS})
35
 
 
36
 
link_directories (
37
 
        ${PACKAGE_LIBRARY_DIRS}
38
 
        ${VTE_LIBRARY_DIRS})
39
 
 
40
 
target_link_libraries (${PACKAGE_TERMINAL}
41
 
        ${PACKAGE_LIBRARIES}
42
 
        ${VTE_LIBRARIES})
43
 
 
44
 
########### install files ###############
45
 
 
46
 
install(TARGETS ${PACKAGE_TERMINAL} DESTINATION ${pluginsdir})
47
 
 
48
 
 
49
 
#original Makefile.am contents follow:
50
 
 
51
 
# #dnl Process this file with automake to produce Makefile.in
52
 
#
53
 
#lib_LTLIBRARIES = 
54
 
#       libcd-terminal.la
55
 
#
56
 
#
57
 
#libcd_terminal_la_SOURCES = 
58
 
#       terminal-init.c
59
 
#       terminal-init.h
60
 
#       terminal-config.c
61
 
#       terminal-config.h
62
 
#       terminal-menu-functions.c
63
 
#       terminal-menu-functions.h
64
 
#       terminal-callbacks.c
65
 
#       terminal-callbacks.h
66
 
#       terminal-widget.c
67
 
#       terminal-widget.h
68
 
#       terminal-struct.h
69
 
#
70
 
#dock_version = `pkg-config --modversion cairo-dock`
71
 
#
72
 
#libcd_terminal_la_CFLAGS = 
73
 
#       -I$(top_srcdir)/src
74
 
#       $(PACKAGE_CFLAGS)
75
 
#       $(VTE_CFLAGS)
76
 
#       -DMY_APPLET_SHARE_DATA_DIR=""${terminaldatadir)""
77
 
#       -DMY_APPLET_PREVIEW_FILE=""preview.jpg""
78
 
#       -DMY_APPLET_CONF_FILE=""terminal.conf""
79
 
#       -DMY_APPLET_USER_DATA_DIR=""terminal""
80
 
#       -DMY_APPLET_VERSION=""${VERSION_TERMINAL)""
81
 
#       -DMY_APPLET_GETTEXT_DOMAIN=""${GETTEXT_TERMINAL)""
82
 
#       -DMY_APPLET_DOCK_VERSION=""${dock_version)""
83
 
#       -DMY_APPLET_ICON_FILE=""icon.png""
84
 
#       -std=c99
85
 
#       -Werror-implicit-function-declaration
86
 
##      -g -ggdb -W -Wall  -W -Werror
87
 
#
88
 
#
89
 
#libcd_terminal_la_LIBADD = 
90
 
#       $(PACKAGE_LIBS) -lm 
91
 
#       $(VTE_LIBS)
92
 
#
93
 
#
94
 
#libcd_terminal_la_LDFLAGS =
95
 
#       -avoid-version -module