2 # Convenience Makefile for development - distributors and users should use
8 @echo
"### If you're not a dbus-python developer, please ignore this"
9 @echo
"### Makefile and use setup.py as usual."
13 CFLAGS ?
= -Wall
-Wextra
-Werror
-Wno-missing-field-initializers \
14 -Wdeclaration-after-statement
17 rm -rf build
/lib.
*/*.so build
/temp.
*
18 CFLAGS
="$(CFLAGS)" $(PYTHON
) setup.py build
--debug
20 # This assumes you've only built for one architecture.
22 cd
$(shell echo build
/lib.
*) && PYTHONPATH
=. \
23 $(EPYDOC
) -o ..
/epydoc
--html
--docformat restructuredtext
-v \
24 dbus _dbus_bindings _dbus_glib_bindings
27 $(PYTHON
) setup.py build
--debug
30 cd
$(shell echo build
/lib.
*) && PYTHONPATH
=. \
32 $(PYTHON
) ..
/..
/test/cross-test-server.py
35 cd
$(shell echo build
/lib.
*) && PYTHONPATH
=. \
37 $(PYTHON
) ..
/..
/test/cross-test-client.py
39 .PHONY
: default docs warning
40 .PHONY
: cross-test-compile cross-test-server cross-test-client