зеркало из https://github.com/github/ruby.git
ruby-runner.h
* template/ruby-runner.h.in: separate configured part from ruby-runner.c. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@54572 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
1a88b871d1
Коммит
7343b492a2
|
@ -103,7 +103,7 @@ y.tab.c
|
|||
/rubicon
|
||||
/ruby
|
||||
/ruby-runner
|
||||
/ruby-runner.c
|
||||
/ruby-runner.h
|
||||
/ruby-man.rd.gz
|
||||
/sizes.c
|
||||
/test.rb
|
||||
|
|
|
@ -254,11 +254,11 @@ ruby_pc = @ruby_pc@
|
|||
$(ruby_pc):
|
||||
@./config.status --file=$@:$(srcdir)/template/ruby.pc.in
|
||||
|
||||
ruby-runner.c: template/ruby-runner.c.in
|
||||
ruby-runner.h: template/ruby-runner.h.in
|
||||
@./config.status --file=$@:$(srcdir)/template/$(@F).in
|
||||
|
||||
ruby-runner$(EXEEXT): ruby-runner.c
|
||||
$(Q) $(PURIFY) $(CC) $(CFLAGS) $(CPPFLAGS) -DRUBY_INSTALL_NAME=$(RUBY_INSTALL_NAME) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ ruby-runner.c
|
||||
ruby-runner$(EXEEXT): ruby-runner.c ruby-runner.h
|
||||
$(Q) $(PURIFY) $(CC) $(CFLAGS) $(CPPFLAGS) -DRUBY_INSTALL_NAME=$(RUBY_INSTALL_NAME) $(LDFLAGS) $(LIBS) $(OUTFLAG)$@ $<
|
||||
|
||||
$(RBCONFIG): $(PREP)
|
||||
|
||||
|
|
|
@ -3,9 +3,7 @@
|
|||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
|
||||
#define BUILDDIR "@abs_top_builddir@"
|
||||
#define LIBPATHENV "@LIBPATHENV@"
|
||||
#define PATH_SEP '@PATH_SEPARATOR@'
|
||||
#include "ruby-runner.h"
|
||||
|
||||
#define STRINGIZE(expr) STRINGIZE0(expr)
|
||||
#define STRINGIZE0(expr) #expr
|
|
@ -0,0 +1,3 @@
|
|||
#define BUILDDIR "@abs_top_builddir@"
|
||||
#define LIBPATHENV "@LIBPATHENV@"
|
||||
#define PATH_SEP '@PATH_SEPARATOR@'
|
Загрузка…
Ссылка в новой задаче