Makefile.am 742 Bytes
Newer Older
1
2
SUBDIRS = . tests

3
python_PYTHON = __init__.py builder.py datasrc_info.py logger.py
4
5
6

pythondir = $(pyexecdir)/isc/memmgr

7
BUILT_SOURCES = $(PYTHON_LOGMSGPKG_DIR)/work/libmemmgr_messages.py
8

9
nodist_pylogmessage_PYTHON = $(PYTHON_LOGMSGPKG_DIR)/work/libmemmgr_messages.py
10
11
12

pylogmessagedir = $(pyexecdir)/isc/log_messages/

13
14
CLEANFILES = $(PYTHON_LOGMSGPKG_DIR)/work/libmemmgr_messages.py
CLEANFILES += $(PYTHON_LOGMSGPKG_DIR)/work/libmemmgr_messages.pyc
15

16
EXTRA_DIST = libmemmgr_messages.mes
17

18
$(PYTHON_LOGMSGPKG_DIR)/work/libmemmgr_messages.py : libmemmgr_messages.mes
19
	$(top_builddir)/src/lib/log/compiler/message \
20
	-d $(PYTHON_LOGMSGPKG_DIR)/work -p $(srcdir)/libmemmgr_messages.mes
21

22
23
24
25
CLEANDIRS = __pycache__

clean-local:
	rm -rf $(CLEANDIRS)