summaryrefslogtreecommitdiffstats
path: root/lib/kross/Makefile.am
blob: 6e0fa847229f9d58c00cf72195ba2c6358b83c81 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Compile python plugin only if python is installed. Kross itself doesn't 
# care of it cause it doesn't depend directly on the python plugin. Kross
# determinates at runtime if it's avaiable and if that's the case it just
# uses the plugin. So, we are able to don't compile the python plugin now
# and at a later stage once we like to use it, just compile+install the
# python plugin and let Kross use it without the need to recompiling whole
# Kross. So, for packagers it's recommed to move the python plugin into
# an own package that could be optional installed.
if compile_kross_python
  PYTHONSUBDIR = python
endif

# Also only compile the ruby plugin if ruby is installed.
if compile_kross_ruby
  RUBYSUBDIR = ruby
endif

SUBDIRS = api main $(PYTHONSUBDIR) $(RUBYSUBDIR) runner

# Don't compile test by default. To use test, just cd into the directory
# and do a "make && ./krosstest" manualy.
#SUBDIRS += test