blob: c10200747d7d0cded021cf4e0919998d93e006cb (
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
|
NULL =
if ENABLE_SKEY
SUBDIRS = skey
endif
bin_PROGRAMS = mate-terminal
BUILT_SOURCES = \
terminal-marshal.c \
terminal-marshal.h \
terminal-resources.c \
terminal-resources.h \
terminal-type-builtins.c \
terminal-type-builtins.h \
$(NULL)
mate_terminal_SOURCES= \
eggshell.c \
eggshell.h \
profile-editor.c \
profile-editor.h \
terminal.c \
terminal-accels.c \
terminal-accels.h \
terminal-app.c \
terminal-app.h \
terminal-close-button.h \
terminal-close-button.c \
terminal-debug.c \
terminal-debug.h \
terminal-encoding.c \
terminal-encoding.h \
terminal-info-bar.c \
terminal-info-bar.h \
terminal-intl.h \
terminal-options.c \
terminal-options.h \
terminal-profile.c \
terminal-profile.h \
terminal-screen.c \
terminal-screen.h \
terminal-screen-container.c \
terminal-screen-container.h \
terminal-search-dialog.c \
terminal-search-dialog.h \
terminal-tab-label.c \
terminal-tab-label.h \
terminal-tabs-menu.c \
terminal-tabs-menu.h \
terminal-util.c \
terminal-util.h \
terminal-version.h \
terminal-window.c \
terminal-window.h \
$(NULL)
if ENABLE_SKEY
mate_terminal_SOURCES += \
skey-popup.c \
skey-popup.h \
$(NULL)
endif
nodist_mate_terminal_SOURCES= $(BUILT_SOURCES)
mate_terminal_CPPFLAGS = \
-DTERMINAL_COMPILATION \
-DTERMINAL_RESOURCES_PATH_PREFIX="\"/org/mate/terminal\"" \
-DTERM_DATADIR="\"$(datadir)\"" \
-DTERM_LOCALEDIR="\"$(datadir)/locale\"" \
-DTERM_PKGDATADIR="\"$(pkgdatadir)\"" \
-DTERM_HELPDIR="\"$(HELP_DIR)\"" \
-DSN_API_NOT_YET_FROZEN \
-DGDK_MULTIHEAD_SAFE \
-DG_DISABLE_SINGLE_INCLUDES \
-DPANGO_DISABLE_SINGLE_INCLUDES \
-DATK_DISABLE_SINGLE_INCLUDES \
-DGDK_DISABLE_SINGLE_INCLUDES \
-DGDK_PIXBUF_DISABLE_SINGLE_INCLUDES \
-DGTK_DISABLE_SINGLE_INCLUDES \
$(DISABLE_DEPRECATED) \
$(AM_CPPFLAGS)
mate_terminal_CFLAGS = \
$(TERM_CFLAGS) \
$(WARN_CFLAGS) \
$(AM_CFLAGS)
mate_terminal_LDFLAGS = -lICE
mate_terminal_LDADD = \
$(TERM_LIBS)
if ENABLE_SKEY
mate_terminal_LDADD += \
skey/libskey.la
endif
mate_terminal_SOURCES += \
eggdesktopfile.c \
eggdesktopfile.h \
eggsmclient.c \
eggsmclient.h \
eggsmclient-private.h \
eggsmclient-xsmp.c \
$(NULL)
mate_terminal_CFLAGS += $(SMCLIENT_CFLAGS)
mate_terminal_CPPFLAGS += -DEGG_SM_CLIENT_BACKEND_XSMP
mate_terminal_LDADD += $(SMCLIENT_LIBS)
TYPES_H_FILES = \
terminal-profile.h \
$(NULL)
terminal-type-builtins.h: stamp-terminal-type-builtins.h
@true
stamp-terminal-type-builtins.h: terminal-type-builtins.h.template $(TYPES_H_FILES)
$(AM_V_GEN) $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-ttbh \
&& (cmp -s xgen-ttbh terminal-type-builtins.h || cp xgen-ttbh terminal-type-builtins.h ) \
&& rm -f xgen-ttbh \
&& echo timestamp > $(@F)
terminal-type-builtins.c: terminal-type-builtins.c.template $(TYPES_H_FILES)
$(AM_V_GEN) $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-ttbc \
&& (cmp -s xgen-ttbc terminal-type-builtins.c || cp xgen-ttbc terminal-type-builtins.c ) \
&& rm -f xgen-ttbc
terminal-marshal.h: $(srcdir)/terminal-marshal.list
$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=_terminal_marshal $(srcdir)/terminal-marshal.list \
--header \
--internal > terminal-marshal.h.tmp \
&& mv terminal-marshal.h.tmp terminal-marshal.h ) \
|| ( rm -f terminal-marshal.h.tmp && exit 1 )
terminal-marshal.c: $(srcdir)/terminal-marshal.list
$(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=_terminal_marshal $(srcdir)/terminal-marshal.list \
--header \
--body \
--internal > terminal-marshal.c.tmp \
&& mv terminal-marshal.c.tmp terminal-marshal.c ) \
|| ( rm -f terminal-marshal.c.tmp && exit 1 )
terminal-resources.h terminal-resources.c: terminal.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/terminal.gresource.xml)
$(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name terminal $<
gsettingsschema_in_files = org.mate.terminal.gschema.xml.in
gsettings_SCHEMAS = $(gsettingsschema_in_files:.xml.in=.xml)
.PRECIOUS: $(gsettings_SCHEMAS)
CLEANFILES = \
stamp-terminal-type-builtins.h \
mate-terminal.schemas \
$(gsettings_SCHEMAS) \
stamp-terminal-type-builtins.h \
$(BUILT_SOURCES)
EXTRA_DIST = \
encodings-dialog.ui \
find-dialog.ui \
keybinding-editor.ui \
profile-manager.ui \
profile-new-dialog.ui \
profile-preferences.ui \
skey-challenge.ui \
terminal.about \
terminal.xml \
terminal.gresource.xml \
terminal-marshal.list \
terminal-type-builtins.c.template \
terminal-type-builtins.h.template \
extra-strings.c \
$(about_DATA) \
$(schema_in_files) \
$(gsettingsschema_in_files) \
$(uimanager_DATA) \
$(builder_DATA) \
$(NULL)
@GSETTINGS_RULES@
-include $(top_srcdir)/git.mk
|