comparison src/Makefile.am @ 11337:1462b64f8fc9

[gaim-migrate @ 13550] Files dbus-types.? are now generated automatically committer: Tailor Script <tailor@pidgin.im>
author Piotr Zielinski <zielaj>
date Thu, 25 Aug 2005 00:27:12 +0000
parents 681870123ce3
children 2de0bf90a474
comparison
equal deleted inserted replaced
11336:7d7dd22215ec 11337:1462b64f8fc9
147 147
148 148
149 149
150 if ENABLE_DBUS 150 if ENABLE_DBUS
151 151
152 CLEANFILES = \ 152 CLEANFILES = \
153 dbus-bindings.c \ 153 dbus-bindings.c \
154 dbus-client-binding.c \ 154 dbus-client-binding.c \
155 dbus-client-binding.h \ 155 dbus-client-binding.h \
156 gaim.service 156 gaim.service \
157 # dbus-types.c 157 dbus-types.c \
158 # dbus-types.h 158 dbus-types.h
159 159
160 # gaim dbus server 160 # gaim dbus server
161 161
162 dbus_sources = dbus-server.c dbus-useful.c 162 dbus_sources = dbus-server.c dbus-useful.c
163 dbus_headers = dbus-server.h dbus-useful.h dbus-maybe.h 163 dbus_headers = dbus-server.h dbus-useful.h dbus-maybe.h
164 164
165 dbus_exported = dbus-useful.h dbus-define-api.h account.h blist.h connection.h conversation.h core.h roomlist.h status.h server.h 165 dbus_exported = dbus-useful.h dbus-define-api.h account.h blist.h connection.h conversation.h core.h roomlist.h status.h server.h
166 166
167 #Although dbus-types.[ch] are generated automatically, they are 167
168 #included in the distribution (and CVS) as normal source 168 dbus-types.c: dbus-analyze-types.py $(gaim_coreheaders)
169 #files. Otherwise, we would have to compile the src directory before 169 cat $(gaim_coreheaders) | $(PYTHON) dbus-analyze-types.py --pattern=GAIM_DBUS_DEFINE_TYPE\(%s\) > $@
170 #the plugins directory, because some of the plugins depend on the 170
171 #dbus-types.h. On the other hand, gaim-remote from the src directory 171 dbus-types.h: dbus-analyze-types.py $(dbus_coreheaders)
172 #requires libgaim-remote from the the plugins directory, which forces 172 cat $(gaim_coreheaders) | $(PYTHON) dbus-analyze-types.py --pattern=GAIM_DBUS_DECLARE_TYPE\(%s\) > $@
173 #us to compile the plugins directory before src.
174
175 # dbus-types.c: dbus-analyze-types.py $(gaim_coreheaders)
176 # cat $(gaim_coreheaders) | $(PYTHON) dbus-analyze-types.py --pattern=GAIM_DBUS_DEFINE_TYPE\(%s\) > $@
177
178 # dbus-types.h: dbus-analyze-types.py $(dbus_coreheaders)
179 # cat $(gaim_coreheaders) | $(PYTHON) dbus-analyze-types.py --pattern=GAIM_DBUS_DECLARE_TYPE\(%s\) > $@
180 173
181 dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported) 174 dbus-bindings.c: dbus-analyze-functions.py $(dbus_exported)
182 cat $(dbus_exported) | $(PYTHON) dbus-analyze-functions.py > $@ 175 cat $(dbus_exported) | $(PYTHON) dbus-analyze-functions.py > $@
183 176
184 dbus-server.$(OBJEXT): dbus-bindings.c dbus-types.c dbus-types.h 177 dbus-server.$(OBJEXT): dbus-bindings.c dbus-types.c dbus-types.h