Mini Shell
V = 0
Q1 = $(V:1=)
Q = $(Q1:0=@)
ECHO1 = $(V:1=@:)
ECHO = $(ECHO1:0=@echo)
ruby = $(topdir)/miniruby -I'$(topdir)' -I'$(top_srcdir)/lib' \
-I'$(extout)/$(arch)' -I'$(extout)/common'
RUBY = $(ruby)
extensions = ext/json/. ext/json/generator/. ext/json/parser/.
EXTOBJS = dmyext.o
EXTLIBS =
EXTSO =
EXTLDFLAGS =
EXTINITS =
SUBMAKEOPTS = DLDOBJS="$(EXTOBJS) $(EXTENCS)" EXTOBJS= \
EXTSOLIBS="$(EXTLIBS)" LIBRUBY_SO_UPDATE=$(LIBRUBY_EXTS) \
EXTLDFLAGS="$(EXTLDFLAGS)" EXTINITS="$(EXTINITS)" \
UPDATE_LIBRARIES="$(UPDATE_LIBRARIES)" SHOWFLAGS=
NOTE_MESG = $(RUBY) $(top_srcdir)/tool/lib/colorize.rb skip
NOTE_NAME = $(RUBY) $(top_srcdir)/tool/lib/colorize.rb fail
all: $(extensions:/.=/all)
all: note
install: $(extensions:/.=/install)
install: note
static: $(extensions:/.=/static)
static: note
install-so: $(extensions:/.=/install-so)
install-so: note
install-rb: $(extensions:/.=/install-rb)
install-rb: note
clean: $(extensions:/.=/clean)
distclean: $(extensions:/.=/distclean)
realclean: $(extensions:/.=/realclean)
clean:
-$(Q)$(RM) ext/extinit.o
distclean:
-$(Q)$(RM) ext/extinit.c
ruby: $(extensions:/.=/all)
all static: ruby
ruby: $(EXTOBJS)
ruby:
$(Q)$(MAKE) $(MFLAGS) $(SUBMAKEOPTS) $@
libencs:
$(Q)$(MAKE) -f enc.mk V=$(V) $@
ext/json/all:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/generator/all: ext/json/all
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/parser/all: ext/json/all
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/install:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/generator/install: ext/json/install
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/parser/install: ext/json/install
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/static:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/generator/static: ext/json/static
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/parser/static: ext/json/static
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/install-so:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/generator/install-so: ext/json/install-so
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/parser/install-so: ext/json/install-so
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/install-rb:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/generator/install-rb: ext/json/install-rb
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/parser/install-rb: ext/json/install-rb
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/clean: ext/json/generator/clean ext/json/parser/clean
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/generator/clean:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/parser/clean:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/distclean: ext/json/generator/distclean ext/json/parser/distclean
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/generator/distclean:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/parser/distclean:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/realclean: ext/json/generator/realclean ext/json/parser/realclean
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/generator/realclean:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
ext/json/parser/realclean:
$(Q)$(MAKE) -C $(@D) $(MFLAGS) V=$(V) $(@F)
extso:
@echo EXTSO=$(EXTSO)
note:
Zerion Mini Shell 1.0