* common.mk (.y.c): use SRC_FILE which contains slashes instead of
backslashes. [ruby-core:22891] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@22964 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
02136ebbb5
commit
28398e91f1
@ -1,3 +1,8 @@
|
|||||||
|
Sun Mar 15 09:17:26 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
|
* common.mk (.y.c): use SRC_FILE which contains slashes instead of
|
||||||
|
backslashes. [ruby-core:22891]
|
||||||
|
|
||||||
Sun Mar 15 08:26:16 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
Sun Mar 15 08:26:16 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||||
|
|
||||||
* common.mk (srcs-ext): creates ext/dl/callback/callback.c also.
|
* common.mk (srcs-ext): creates ext/dl/callback/callback.c also.
|
||||||
|
@ -122,6 +122,8 @@ MANTYPE = @MANTYPE@
|
|||||||
INSTALLED_LIST= .installed.list
|
INSTALLED_LIST= .installed.list
|
||||||
|
|
||||||
MKMAIN_CMD = mkmain.sh
|
MKMAIN_CMD = mkmain.sh
|
||||||
|
|
||||||
|
SRC_FILE = $<
|
||||||
#### End of variables
|
#### End of variables
|
||||||
|
|
||||||
all:
|
all:
|
||||||
|
@ -435,7 +435,7 @@ PHONY:
|
|||||||
parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c
|
parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.c
|
||||||
|
|
||||||
{$(srcdir)}.y.c:
|
{$(srcdir)}.y.c:
|
||||||
$(YACC) -d $(YFLAGS) -o y.tab.c $<
|
$(YACC) -d $(YFLAGS) -o y.tab.c $(SRC_FILE)
|
||||||
sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new
|
sed -f $(srcdir)/tool/ytab.sed -e "/^#/s!y\.tab\.c!$@!" y.tab.c > $@.new
|
||||||
@$(MV) $@.new $@
|
@$(MV) $@.new $@
|
||||||
sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > $(@:.c=.h).new
|
sed -e "/^#line.*y\.tab\.h/d;/^#line.*parse\.y/d" y.tab.h > $(@:.c=.h).new
|
||||||
|
@ -271,6 +271,8 @@ INSTALLED_LIST= .installed.list
|
|||||||
|
|
||||||
MKMAIN_CMD = mkmain.bat
|
MKMAIN_CMD = mkmain.bat
|
||||||
|
|
||||||
|
SRC_FILE = $(<:\=/)
|
||||||
|
|
||||||
!if !defined(WINMAINOBJ)
|
!if !defined(WINMAINOBJ)
|
||||||
WINMAINOBJ = winmain.$(OBJEXT)
|
WINMAINOBJ = winmain.$(OBJEXT)
|
||||||
!endif
|
!endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user