File: Makefile.am

package info (click to toggle)
libtelepathy 0.3.3-1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 2,284 kB
  • ctags: 359
  • sloc: sh: 8,995; xml: 5,823; ansic: 2,309; makefile: 305; python: 301
file content (51 lines) | stat: -rw-r--r-- 2,823 bytes parent folder | download
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
XSLTFLAGS = --nonet --novalid
DROP_NAMESPACE = sed -e 's@xmlns:tp="http://telepathy\.freedesktop\.org/wiki/DbusSpec.extensions-v0"@@g'

modified/%.xml: tmp/%.xml $(top_srcdir)/tools/add-client-c-symbol.xsl
	@mkdir -p modified
	$(XSLTPROC) $(XSLTFLAGS) --stringparam basename $* \
		$(top_srcdir)/tools/add-client-c-symbol.xsl $< > $@

define iface_template
tmp/$2.xml: ../spec/$1.xml \
	$$(top_srcdir)/tools/spec-to-introspect.xsl
	@mkdir -p tmp
	$$(XSLTPROC) $$(XSLTFLAGS) $$(top_srcdir)/tools/spec-to-introspect.xsl $$< | $$(DROP_NAMESPACE) > $$@

all-local: modified/$2.xml
endef

$(eval $(call iface_template,Channel_Handler,tp-ch))
$(eval $(call iface_template,Channel,tp-chan))
$(eval $(call iface_template,Channel_Interface_DTMF,tp-chan-iface-dtmf))
$(eval $(call iface_template,Channel_Interface_Chat_State,tp-chan-iface-chat-state))
$(eval $(call iface_template,Channel_Interface_Group,tp-chan-iface-group))
$(eval $(call iface_template,Channel_Interface_Hold,tp-chan-iface-hold))
$(eval $(call iface_template,Channel_Interface_Password,tp-chan-iface-password))
$(eval $(call iface_template,Channel_Interface_Transfer,tp-chan-iface-transfer))
$(eval $(call iface_template,Channel_Interface_Media_Signalling,tp-chan-iface-media-signalling))
$(eval $(call iface_template,Channel_Type_Contact_List,tp-chan-type-contact-list))
$(eval $(call iface_template,Channel_Type_Contact_Search,tp-chan-type-contact-search))
$(eval $(call iface_template,Channel_Type_Room_List,tp-chan-type-room-list))
$(eval $(call iface_template,Channel_Type_Streamed_Media,tp-chan-type-streamed-media))
$(eval $(call iface_template,Channel_Type_Text,tp-chan-type-text))
$(eval $(call iface_template,Channel_Type_Tubes,tp-chan-type-tubes))
$(eval $(call iface_template,Connection,tp-conn))
$(eval $(call iface_template,Connection_Interface_Aliasing,tp-conn-iface-aliasing))
$(eval $(call iface_template,Connection_Interface_Avatars,tp-conn-iface-avatars))
$(eval $(call iface_template,Connection_Interface_Capabilities,tp-conn-iface-capabilities))
$(eval $(call iface_template,Connection_Interface_Contact_Info,tp-conn-iface-contact-info))
$(eval $(call iface_template,Connection_Interface_Forwarding,tp-conn-iface-forwarding))
$(eval $(call iface_template,Connection_Interface_Presence,tp-conn-iface-presence))
$(eval $(call iface_template,Connection_Interface_Privacy,tp-conn-iface-privacy))
$(eval $(call iface_template,Connection_Interface_Renaming,tp-conn-iface-renaming))
$(eval $(call iface_template,Media_Session_Handler,tp-media-session-handler))
$(eval $(call iface_template,Media_Stream_Handler,tp-media-stream-handler))
$(eval $(call iface_template,Connection_Manager,tp-connmgr))
$(eval $(call iface_template,Properties_Interface,tp-props-iface))

clean-local:
	-rm -f tmp/*.xml
	-rmdir tmp
	-rm -f modified/*.xml
	-rmdir modified