Statistics
| Branch: | Tag: | Revision:

root / lib / Makefile.am @ b74159ee

History | View | Annotate | Download (1.3 kB)

1
CLEANFILES = $(nodist_pkgpython_PYTHON) *.py[oc]
2
SUBDIRS = hypervisor
3

    
4
nodist_pkgpython_PYTHON = _autoconf.py
5
pkgpython_PYTHON = __init__.py backend.py cli.py cmdlib.py config.py \
6
	objects.py errors.py logger.py ssh.py utils.py rpc.py \
7
	bdev.py opcodes.py mcpu.py constants.py \
8
	ssconf.py locking.py luxi.py jqueue.py serializer.py
9
python_files = $(pkgpython_PYTHON)
10

    
11
all-local: _autoconf.py
12

    
13
_autoconf.py: Makefile
14
	{ echo '# This file is automatically generated, do not edit!'; \
15
	  echo '#'; \
16
	  echo "PACKAGE_VERSION = '$(PACKAGE_VERSION)'"; \
17
	  echo "VERSION_MAJOR = '$(VERSION_MAJOR)'"; \
18
	  echo "VERSION_MINOR = '$(VERSION_MINOR)'"; \
19
	  echo "VERSION_REVISION = '$(VERSION_REVISION)'"; \
20
	  echo "VERSION_SUFFIX = '$(VERSION_SUFFIX)'"; \
21
	  echo "VERSION_FULL = '$(VERSION_FULL)'"; \
22
	  echo "LOCALSTATEDIR = '$(localstatedir)'"; \
23
	  echo "SYSCONFDIR = '$(sysconfdir)'"; \
24
	  echo "SSH_INITD_SCRIPT = '$(SSH_INITD_SCRIPT)'"; \
25
	  echo "EXPORT_DIR = '$(EXPORT_DIR)'"; \
26
	  echo "OS_SEARCH_PATH = [$(OS_SEARCH_PATH)]"; \
27
	  echo "XEN_KERNEL = '$(XEN_KERNEL)'"; \
28
	  echo "XEN_INITRD = '$(XEN_INITRD)'"; \
29
	  echo "FILE_STORAGE_DIR = '$(FILE_STORAGE_DIR)'"; \
30
	  echo "IALLOCATOR_SEARCH_PATH = [$(IALLOCATOR_SEARCH_PATH)]"; \
31
	} > $@
32

    
33
include $(srcdir)/Makefile.libcommon