Project

General

Profile

Bug #3326 » rubyimp.diff

kanemoto (Yutaka Kanemoto), 05/21/2010 01:32 AM

View differences:

common.mk (作業コピー)
version.$(OBJEXT) \
$(MISSING)
OBJS = $(COMMONOBJS) \
dln.$(OBJEXT) \
prelude.$(OBJEXT)
EXPORTOBJS = $(COMMONOBJS) \
dln.$(OBJEXT)
OBJS = $(EXPORTOBJS) prelude.$(OBJEXT)
PRELUDE_SCRIPTS = $(srcdir)/prelude.rb
PRELUDES = prelude.c miniprelude.c
......
prog: $(PROGRAM) $(WPROGRAM)
miniruby$(EXEEXT): config.status $(MAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT)
miniruby$(EXEEXT): config.status $(MAINOBJ) $(MINIOBJS) $(COMMONOBJS) $(DMYEXT) $(ARCHFILE)
$(PROGRAM): $(LIBRUBY) $(MAINOBJ) $(OBJS) $(EXTOBJS) $(SETUP) $(PREP)
......
@$(RM) $@
$(PURIFY) $(CC) $(MAINOBJ) $(DLDOBJS) $(EXTOBJS) $(LIBRUBY_A) $(MAINLIBS) $(EXTLIBS) $(LIBS) $(OUTFLAG)$@ $(LDFLAGS) $(XLDFLAGS)
ruby.imp: $(OBJS)
@$(NM) -Pgp $(OBJS) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
ruby.imp: $(EXPORTOBJS)
@$(NM) -Pgp $(EXPORTOBJS) | awk 'BEGIN{print "#!"}; $$2~/^[BD]$$/{print $$1}' | sort -u -o $@
install: install-$(RDOCTARGET)
install-rdoc: install-all
    (1-1/1)