~ubuntu-branches/debian/sid/gnome-terminal/sid

« back to all changes in this revision

Viewing changes to src/Makefile.am

  • Committer: Bazaar Package Importer
  • Author(s): Sebastian Dröge
  • Date: 2009-09-22 14:02:42 UTC
  • mfrom: (1.3.35 upstream) (7.1.1 sid)
  • Revision ID: james.westby@ubuntu.com-20090922140242-0jvnwru579qpxcft
Tags: 2.28.0-1
* New upstream stable release:
  + debian/control.in:
    - Update build dependencies.
  + debian/patches/02_let_gconf_autostart.patch,
    debian/patches/03_useless_plural_forms.patch:
    - Dropped, merged upstream.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
 
5
5
bin_PROGRAMS = gnome-terminal
6
6
 
 
7
BUILT_SOURCES = \
 
8
        terminal-factory-client.h \
 
9
        terminal-factory-server.h \
 
10
        terminal-marshal.c \
 
11
        terminal-marshal.h \
 
12
        terminal-type-builtins.c \
 
13
        terminal-type-builtins.h \
 
14
        $(NULL)
 
15
 
7
16
gnome_terminal_SOURCES= \
8
17
        eggshell.c \
9
18
        eggshell.h \
20
29
        terminal-debug.h \
21
30
        terminal-encoding.c \
22
31
        terminal-encoding.h \
23
 
        terminal-factory-client.h \
24
 
        terminal-factory-server.h \
25
32
        terminal-intl.h \
26
 
        terminal-marshal.c \
27
 
        terminal-marshal.h \
28
33
        terminal-options.c \
29
34
        terminal-options.h \
30
35
        terminal-profile.c \
37
42
        terminal-tab-label.h \
38
43
        terminal-tabs-menu.c \
39
44
        terminal-tabs-menu.h \
40
 
        terminal-type-builtins.c \
41
 
        terminal-type-builtins.h \
42
45
        terminal-util.c \
43
46
        terminal-util.h \
 
47
        terminal-version.h \
44
48
        terminal-window.c \
45
49
        terminal-window.h \
46
50
        $(NULL)
47
51
 
 
52
nodist_gnome_terminal_SOURCES= $(BUILT_SOURCES)
 
53
 
48
54
gnome_terminal_CPPFLAGS = \
 
55
        -DTERMINAL_COMPILATION \
49
56
        -DEXECUTABLE_NAME=\"gnome-terminal\" \
50
57
        -DTERM_DATADIR="\"$(datadir)\"" \
51
58
        -DTERM_LOCALEDIR="\"$(datadir)/locale\"" \
75
82
 
76
83
if WITH_SMCLIENT
77
84
gnome_terminal_SOURCES += \
78
 
        eggdesktopfile.c \
79
 
        eggdesktopfile.h \
80
85
        eggsmclient.c \
81
86
        eggsmclient.h \
82
87
        eggsmclient-private.h \
85
90
gnome_terminal_LDADD += $(SMCLIENT_LIBS)
86
91
 
87
92
if WITH_SMCLIENT_XSMP
88
 
gnome_terminal_SOURCES += eggsmclient-xsmp.c
 
93
gnome_terminal_SOURCES += \
 
94
        eggdesktopfile.c \
 
95
        eggdesktopfile.h \
 
96
        eggsmclient-xsmp.c \
 
97
        $(NULL)
89
98
gnome_terminal_CPPFLAGS += -DEGG_SM_CLIENT_BACKEND_XSMP
90
99
endif
91
100
if WITH_SMCLIENT_WIN32
96
105
endif
97
106
endif
98
107
 
99
 
BUILT_SOURCES = \
100
 
        terminal-factory-client.h \
101
 
        terminal-factory-server.h \
102
 
        terminal-marshal.c \
103
 
        terminal-marshal.h \
104
 
        terminal-type-builtins.c \
105
 
        terminal-type-builtins.h \
106
 
        $(NULL)
107
 
        
108
108
TYPES_H_FILES = \
109
109
        terminal-profile.h \
110
110
        $(NULL)
113
113
        @true
114
114
 
115
115
stamp-terminal-type-builtins.h: terminal-type-builtins.h.template $(TYPES_H_FILES)
116
 
        $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-ttbh \
 
116
        $(AM_V_GEN) $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-ttbh \
117
117
        && (cmp -s xgen-ttbh terminal-type-builtins.h || cp xgen-ttbh terminal-type-builtins.h ) \
118
118
        && rm -f xgen-ttbh \
119
119
        && echo timestamp > $(@F)
120
120
 
121
121
terminal-type-builtins.c: terminal-type-builtins.c.template $(TYPES_H_FILES)
122
 
        $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-ttbc \
 
122
        $(AM_V_GEN) $(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-ttbc \
123
123
        && (cmp -s xgen-ttbc terminal-type-builtins.c || cp xgen-ttbc terminal-type-builtins.c ) \
124
124
        && rm -f xgen-ttbc
125
125
 
126
126
terminal-marshal.h: $(srcdir)/terminal-marshal.list
127
 
        ( $(GLIB_GENMARSHAL) --prefix=_terminal_marshal $(srcdir)/terminal-marshal.list \
 
127
        $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=_terminal_marshal $(srcdir)/terminal-marshal.list \
128
128
                        --header \
129
129
                        --internal > terminal-marshal.h.tmp \
130
130
        && mv terminal-marshal.h.tmp terminal-marshal.h ) \
131
131
        || ( rm -f terminal-marshal.h.tmp && exit 1 )
132
132
 
133
133
terminal-marshal.c: $(srcdir)/terminal-marshal.list
134
 
        ( $(GLIB_GENMARSHAL) --prefix=_terminal_marshal $(srcdir)/terminal-marshal.list \
 
134
        $(AM_V_GEN) ( $(GLIB_GENMARSHAL) --prefix=_terminal_marshal $(srcdir)/terminal-marshal.list \
135
135
                                --header \
136
136
                                --body \
137
137
                                --internal > terminal-marshal.c.tmp \
139
139
        || ( rm -f terminal-marshal.c.tmp && exit 1 )
140
140
 
141
141
terminal-factory-client.h: terminal-factory-service.xml
142
 
        $(DBUS_BINDING_TOOL) --mode=glib-client --output=$@ $<
 
142
        $(AM_V_GEN) $(DBUS_BINDING_TOOL) --mode=glib-client --output=$@ $<
143
143
 
144
144
terminal-factory-server.h: terminal-factory-service.xml
145
 
        $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=terminal_factory --output=$@ $<
 
145
        $(AM_V_GEN) $(DBUS_BINDING_TOOL) --mode=glib-server --prefix=terminal_factory --output=$@ $<
146
146
 
147
147
schemadir = $(GCONF_SCHEMA_FILE_DIR)
148
148
schema_in_files = gnome-terminal.schemas.in
182
182
        terminal-marshal.list \
183
183
        terminal-type-builtins.c.template \
184
184
        terminal-type-builtins.h.template \
 
185
        extra-strings.c \
185
186
        $(about_DATA) \
186
187
        $(schema_in_files) \
187
188
        $(uimanager_DATA) \
196
197
endif
197
198
 
198
199
%.ui: %.glade
199
 
        $(GTK_BUILDER_CONVERT) $< $@
 
200
        $(AM_V_GEN) $(GTK_BUILDER_CONVERT) $< $@
 
201
 
 
202
-include $(top_srcdir)/git.mk