2005-09-16 07:29:06 -04:00
|
|
|
path_to_top=../..
|
|
|
|
include $(path_to_top)/Makefile.config
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2005-09-16 07:29:06 -04:00
|
|
|
ifeq ($(CONFIG_GUILE),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
guiledir = guile
|
2005-09-27 15:38:58 -04:00
|
|
|
guileobj = $(guiledir)/lib.o
|
2005-09-15 09:58:31 -04:00
|
|
|
endif
|
|
|
|
|
2005-09-16 07:29:06 -04:00
|
|
|
ifeq ($(CONFIG_LUA),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
luadir = lua
|
2005-09-27 15:38:58 -04:00
|
|
|
luaobj = $(luadir)/lib.o
|
2005-09-15 09:58:31 -04:00
|
|
|
endif
|
|
|
|
|
2005-09-16 07:29:06 -04:00
|
|
|
ifeq ($(CONFIG_PERL),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
perldir = perl
|
2005-09-27 15:38:58 -04:00
|
|
|
perlobj = $(perldir)/lib.o
|
2005-09-15 09:58:31 -04:00
|
|
|
endif
|
|
|
|
|
2005-09-16 07:29:06 -04:00
|
|
|
ifeq ($(CONFIG_PYTHON),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
pythondir = python
|
2005-09-27 15:38:58 -04:00
|
|
|
pythonobj = $(pythondir)/lib.o
|
2005-09-15 09:58:31 -04:00
|
|
|
endif
|
|
|
|
|
2005-09-16 07:29:06 -04:00
|
|
|
ifeq ($(CONFIG_RUBY),yes)
|
2005-09-15 09:58:31 -04:00
|
|
|
rubydir = ruby
|
2005-09-27 15:38:58 -04:00
|
|
|
rubyobj = $(rubydir)/lib.o
|
2005-09-15 09:58:31 -04:00
|
|
|
endif
|
|
|
|
|
|
|
|
SUBDIRS = $(guiledir) $(luadir) $(perldir) $(pythondir) $(rubydir)
|
|
|
|
|
2005-09-16 07:29:06 -04:00
|
|
|
OBJS = scripting.o $(guileobj) $(luaobj) $(perlobj) $(pythonobj) $(rubyobj)
|
2005-09-15 09:58:31 -04:00
|
|
|
|
2005-09-16 07:29:06 -04:00
|
|
|
include $(path_to_top)/Makefile.lib
|