зеркало из https://github.com/github/ruby.git
* 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:
Родитель
02136ebbb5
Коммит
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>
|
||||
|
||||
* common.mk (srcs-ext): creates ext/dl/callback/callback.c also.
|
||||
|
|
|
@ -122,6 +122,8 @@ MANTYPE = @MANTYPE@
|
|||
INSTALLED_LIST= .installed.list
|
||||
|
||||
MKMAIN_CMD = mkmain.sh
|
||||
|
||||
SRC_FILE = $<
|
||||
#### End of variables
|
||||
|
||||
all:
|
||||
|
|
|
@ -435,7 +435,7 @@ PHONY:
|
|||
parse.h {$(VPATH)}parse.h: {$(VPATH)}parse.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
|
||||
@$(MV) $@.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
|
||||
|
||||
SRC_FILE = $(<:\=/)
|
||||
|
||||
!if !defined(WINMAINOBJ)
|
||||
WINMAINOBJ = winmain.$(OBJEXT)
|
||||
!endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче