## Services.
if HAVE_PYTHON
-SUBDIRS += svc
+if HAVE_PYMLIB
SUBDIRS += py
+if HAVE_PYCDB
SUBDIRS += peerdb
+SUBDIRS += svc
+endif
+endif
endif
## Key-management.
+if HAVE_PYTHON
if HAVE_PYCATACOMB
SUBDIRS += keys
endif
+endif
## Graphical monitor.
+if HAVE_PYTHON
+if HAVE_PYMLIB
if HAVE_PYGTK
SUBDIRS += mon
endif
+endif
+endif
## Contributed stuff.
SUBDIRS += contrib