blob: c4c29ecc6c94665682f74f344003e906454bdba8 (
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
|
NULL =
INCLUDES = -DDBUS_IDL_I_UNDERSTAND_THAT_API_IS_UNSTABLE
bin_PROGRAMS =
noinst_PROGRAMS =
# ----------------------------------------------------------------------------------------------------
lib_LTLIBRARIES=libdbus-idl-1.la
libdbus_idl_1_la_includedir = \
$(includedir)/dbus-idl-1/dbusidl
$(NULL)
libdbus_idl_1_la_include_HEADERS = \
dbusidl.h \
$(NULL)
libdbus_idl_1_la_SOURCES = \
idl.h \
idllexer.l idlparser.y \
dbusidlprivate.h \
dbusidl.h dbusidl.c \
$(NULL)
libdbus_idl_1_la_CFLAGS = \
$(GLIB2_CFLAGS) \
$(NULL)
libdbus_idl_1_la_LIBADD = \
$(GLIB2_LIBS) \
$(NULL)
idllexer.c : idllexer.l libdbus_idl_1_la-idlparser.h
idlparser.c : idlparser.y
libdbus_idl_1_la_YFLAGS = -v -d
# ----------------------------------------------------------------------------------------------------
noinst_PROGRAMS += dbus-idl-test
pkgconfigdir=$(libdir)/pkgconfig
pkgconfig_DATA = dbus-idl-1.pc
dbus_idl_test_SOURCES = \
test.c \
$(NULL)
dbus_idl_test_CFLAGS = \
$(GLIB2_CFLAGS) \
$(NULL)
dbus_idl_test_LDADD = \
$(GLIB2_LIBS) \
libdbus-idl-1.la \
$(NULL)
TESTS = dbus-idl-test
EXTRA_DIST = org.freedesktop.DBus.Idl.Tests1.didl
# ----------------------------------------------------------------------------------------------------
bin_PROGRAMS += didl-to-docbook
didl_to_docbook_SOURCES = \
didl2docbook.c \
$(NULL)
didl_to_docbook_CFLAGS = \
$(GLIB2_CFLAGS) \
$(NULL)
didl_to_docbook_LDADD = \
$(GLIB2_LIBS) \
libdbus-idl-1.la \
$(NULL)
# ----------------------------------------------------------------------------------------------------
bin_PROGRAMS += didl-to-xml
didl_to_xml_SOURCES = \
didl2xml.c \
$(NULL)
didl_to_xml_CFLAGS = \
$(GLIB2_CFLAGS) \
$(NULL)
didl_to_xml_LDADD = \
$(GLIB2_LIBS) \
libdbus-idl-1.la \
$(NULL)
# ----------------------------------------------------------------------------------------------------
clean-local:
rm -f *~ libdbus_idl_1_la-*
|