mirror of
https://github.com/rkd77/elinks.git
synced 2025-06-30 22:19:29 -04:00
ELBuildized scripting/.
This commit is contained in:
parent
18f85bec14
commit
c89190e0bf
@ -1330,7 +1330,6 @@ AC_OUTPUT([ \
|
|||||||
src/intl/gettext/ref-del.sed \
|
src/intl/gettext/ref-del.sed \
|
||||||
src/mime/Makefile \
|
src/mime/Makefile \
|
||||||
src/mime/backend/Makefile \
|
src/mime/backend/Makefile \
|
||||||
src/scripting/Makefile \
|
|
||||||
src/viewer/Makefile \
|
src/viewer/Makefile \
|
||||||
src/viewer/text/Makefile
|
src/viewer/text/Makefile
|
||||||
])
|
])
|
||||||
|
@ -1,47 +1,36 @@
|
|||||||
## Process this file with automake to produce Makefile.in
|
path_to_top=../..
|
||||||
## $Id: Makefile.am,v 1.12 2005/06/02 18:01:34 witekfl Exp $
|
include $(path_to_top)/Makefile.config
|
||||||
|
|
||||||
include $(top_srcdir)/Makefile.base
|
ifeq ($(CONFIG_GUILE),yes)
|
||||||
|
|
||||||
if CONFIG_GUILE
|
|
||||||
guiledir = guile
|
guiledir = guile
|
||||||
guileobj = $(guiledir)/core.o $(guiledir)/guile.o $(guiledir)/hooks.o
|
guileobj = $(guiledir)/core.o $(guiledir)/guile.o $(guiledir)/hooks.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_LUA
|
ifeq ($(CONFIG_LUA),yes)
|
||||||
luadir = lua
|
luadir = lua
|
||||||
luaobj = $(luadir)/core.o $(luadir)/hooks.o $(luadir)/lua.o
|
luaobj = $(luadir)/core.o $(luadir)/hooks.o $(luadir)/lua.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_PERL
|
ifeq ($(CONFIG_PERL),yes)
|
||||||
perldir = perl
|
perldir = perl
|
||||||
perlobj = $(perldir)/core.o $(perldir)/hooks.o $(perldir)/perl.o
|
perlobj = $(perldir)/core.o $(perldir)/hooks.o $(perldir)/perl.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_PYTHON
|
ifeq ($(CONFIG_PYTHON),yes)
|
||||||
pythondir = python
|
pythondir = python
|
||||||
pythonobj = $(pythondir)/core.o $(pythondir)/hooks.o $(pythondir)/python.o
|
pythonobj = $(pythondir)/core.o $(pythondir)/hooks.o $(pythondir)/python.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
if CONFIG_RUBY
|
ifeq ($(CONFIG_RUBY),yes)
|
||||||
rubydir = ruby
|
rubydir = ruby
|
||||||
rubyobj = $(rubydir)/core.o $(rubydir)/hooks.o $(rubydir)/ruby.o
|
rubyobj = $(rubydir)/core.o $(rubydir)/hooks.o $(rubydir)/ruby.o
|
||||||
endif
|
endif
|
||||||
|
|
||||||
SUBDIRS = $(guiledir) $(luadir) $(perldir) $(pythondir) $(rubydir)
|
SUBDIRS = $(guiledir) $(luadir) $(perldir) $(pythondir) $(rubydir)
|
||||||
|
|
||||||
EXTRA_DIST = TODO
|
OBJS = scripting.o $(guileobj) $(luaobj) $(perlobj) $(pythonobj) $(rubyobj)
|
||||||
|
|
||||||
noinst_LIBRARIES = libscripting.a
|
all-l: libscripting.a
|
||||||
|
libscripting.a: $(OBJS)
|
||||||
libscripting_a_LIBADD = \
|
|
||||||
$(guileobj) \
|
|
||||||
$(luaobj) \
|
|
||||||
$(perlobj) \
|
|
||||||
$(pythonobj) \
|
|
||||||
$(rubyobj)
|
|
||||||
|
|
||||||
libscripting_a_SOURCES = \
|
|
||||||
scripting.c \
|
|
||||||
scripting.h
|
|
||||||
|
|
||||||
|
include $(path_to_top)/Makefile.lib
|
Loading…
x
Reference in New Issue
Block a user