blob: fb05c24ed0e2abf2fe6c4e54440eb76a2318da1d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
|
# This file is part of MATE Utils.
#
# MATE Utils is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 2 of the License, or
# (at your option) any later version.
#
# MATE Utils is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with MATE Utils. If not, see <https://www.gnu.org/licenses/>.
NULL =
AM_CPPFLAGS = \
-DPREFIX=\""$(prefix)"\" \
-DSYSCONFDIR=\""$(sysconfdir)"\" \
-DLIBDIR=\""$(libdir)"\" \
-DDATADIR=\""$(datadir)"\" \
-DPKGDATADIR=\""$(datadir)/mate-dictionary"\" \
-DMATELOCALEDIR=\""$(datadir)/locale"\" \
$(NULL)
bin_PROGRAMS = mate-dictionary
if BUILD_GDICT_APPLET
if ENABLE_IN_PROCESS
pkglib_LTLIBRARIES = libmate-dictionary-applet.la
else
libexec_PROGRAMS = mate-dictionary-applet
endif
endif
mate_dictionary_SOURCES = \
gdict-about.c \
gdict-about.h \
gdict-app.c \
gdict-app.h \
gdict-common.c \
gdict-common.h \
gdict-pref-dialog.c \
gdict-pref-dialog.h \
gdict-print.c \
gdict-print.h \
gdict-sidebar.c \
gdict-sidebar.h \
gdict-source-dialog.c \
gdict-source-dialog.h \
gdict-window.c \
gdict-window.h \
main.c \
$(NULL)
mate_dictionary_CFLAGS = \
-I$(top_builddir)/mate-dictionary \
-I$(top_srcdir)/mate-dictionary \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
$(GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(NULL)
mate_dictionary_LDADD = \
-lm \
$(top_builddir)/mate-dictionary/libgdict/libmatedict.la \
$(GLIB_LIBS) \
$(GIO_LIBS) \
$(GTK_LIBS) \
$(NULL)
if BUILD_GDICT_APPLET
if ENABLE_IN_PROCESS
libmate_dictionary_applet_la_SOURCES = \
gdict-about.c \
gdict-about.h \
gdict-aligned-window.c \
gdict-aligned-window.h \
gdict-applet.c \
gdict-applet.h \
gdict-common.c \
gdict-common.h \
gdict-pref-dialog.c \
gdict-pref-dialog.h \
gdict-print.c \
gdict-print.h \
gdict-sidebar.c \
gdict-sidebar.h \
gdict-source-dialog.c \
gdict-source-dialog.h \
$(NULL)
libmate_dictionary_applet_la_CFLAGS = \
-I$(top_builddir)/mate-dictionary \
-I$(top_srcdir)/mate-dictionary \
$(APPLET_CFLAGS) \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
$(GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(NULL)
libmate_dictionary_applet_la_LIBADD = \
-lm \
$(top_builddir)/mate-dictionary/libgdict/libmatedict.la \
$(APPLET_LIBS) \
$(GLIB_LIBS) \
$(GIO_LIBS) \
$(GTK_LIBS) \
$(NULL)
if ENABLE_WAYLAND
libmate_dictionary_applet_la_LIBADD += \
$(WAYLAND_LIBS)
libmate_dictionary_applet_la_CFLAGS += \
$(WAYLAND_CFLAGS)
endif
else
mate_dictionary_applet_SOURCES = \
gdict-about.c \
gdict-about.h \
gdict-aligned-window.c \
gdict-aligned-window.h \
gdict-applet.c \
gdict-applet.h \
gdict-common.c \
gdict-common.h \
gdict-pref-dialog.c \
gdict-pref-dialog.h \
gdict-print.c \
gdict-print.h \
gdict-sidebar.c \
gdict-sidebar.h \
gdict-source-dialog.c \
gdict-source-dialog.h \
$(NULL)
mate_dictionary_applet_CFLAGS = \
-I$(top_builddir)/mate-dictionary \
-I$(top_srcdir)/mate-dictionary \
$(APPLET_CFLAGS) \
$(GLIB_CFLAGS) \
$(GIO_CFLAGS) \
$(GTK_CFLAGS) \
$(WARN_CFLAGS) \
$(NULL)
mate_dictionary_applet_LDADD = \
-lm \
$(top_builddir)/mate-dictionary/libgdict/libmatedict.la \
$(APPLET_LIBS) \
$(GLIB_LIBS) \
$(GIO_LIBS) \
$(GTK_LIBS) \
$(NULL)
endif # ENABLE_IN_PROCESS
endif # BUILD_GDICT_APPLET
-include $(top_srcdir)/git.mk
|