1 CLEANFILES = $(nodist_pkgpython_PYTHON) *.py[oc]
3 nodist_pkgpython_PYTHON = _autoconf.py
4 pkgpython_PYTHON = __init__.py backend.py cli.py cmdlib.py config.py \
5 objects.py errors.py logger.py ssh.py utils.py rpc.py \
6 bdev.py hypervisor.py opcodes.py mcpu.py constants.py \
7 ssconf.py serializer.py
9 nobase_pkgpython_PYTHON = rapi/__init__.py \
10 rapi/resources.py rapi/RESTHTTPServer.py
11 python_files = $(pkgpython_PYTHON)
13 all-local: _autoconf.py
15 _autoconf.py: Makefile
16 { echo '# This file is automatically generated, do not edit!'; \
18 echo "PACKAGE_VERSION = '$(PACKAGE_VERSION)'"; \
19 echo "LOCALSTATEDIR = '$(localstatedir)'"; \
20 echo "SYSCONFDIR = '$(sysconfdir)'"; \
21 echo "SSH_INITD_SCRIPT = '$(SSH_INITD_SCRIPT)'"; \
22 echo "EXPORT_DIR = '$(EXPORT_DIR)'"; \
23 echo "OS_SEARCH_PATH = [$(OS_SEARCH_PATH)]"; \
24 echo "XEN_KERNEL = '$(XEN_KERNEL)'"; \
25 echo "XEN_INITRD = '$(XEN_INITRD)'"; \
26 echo "IALLOCATOR_SEARCH_PATH = [$(IALLOCATOR_SEARCH_PATH)]"; \
29 include $(srcdir)/Makefile.libcommon