vendor/bundle/gems/ffi-1.9.18/ext/ffi_c/Makefile in tdiary-5.0.6 vs vendor/bundle/gems/ffi-1.9.18/ext/ffi_c/Makefile in tdiary-5.0.7
- old
+ new
@@ -10,16 +10,16 @@
NULLCMD = :
#### Start of system configuration section. ####
srcdir = .
-topdir = /home/sho/.rbenv/versions/2.4.2/include/ruby-2.4.0
+topdir = /home/sho/.rbenv/versions/2.5.0/include/ruby-2.5.0
hdrdir = $(topdir)
-arch_hdrdir = /home/sho/.rbenv/versions/2.4.2/include/ruby-2.4.0/x86_64-linux
+arch_hdrdir = /home/sho/.rbenv/versions/2.5.0/include/ruby-2.5.0/x86_64-linux
PATH_SEPARATOR = :
VPATH = $(srcdir):$(arch_hdrdir)/ruby:$(hdrdir)/ruby
-prefix = $(DESTDIR)/home/sho/.rbenv/versions/2.4.2
+prefix = $(DESTDIR)/home/sho/.rbenv/versions/2.5.0
rubysitearchprefix = $(rubylibprefix)/$(sitearch)
rubyarchprefix = $(rubylibprefix)/$(arch)
rubylibprefix = $(libdir)/$(RUBY_BASE_NAME)
exec_prefix = $(prefix)
vendorarchhdrdir = $(vendorhdrdir)/$(sitearch)
@@ -29,12 +29,12 @@
sitehdrdir = $(rubyhdrdir)/site_ruby
rubyhdrdir = $(includedir)/$(RUBY_VERSION_NAME)
vendorarchdir = $(vendorlibdir)/$(sitearch)
vendorlibdir = $(vendordir)/$(ruby_version)
vendordir = $(rubylibprefix)/vendor_ruby
-sitearchdir = $(DESTDIR)./.gem.20170929-13155-tkpac8
-sitelibdir = $(DESTDIR)./.gem.20170929-13155-tkpac8
+sitearchdir = $(DESTDIR)./.gem.20171229-30007-1tn55pl
+sitelibdir = $(DESTDIR)./.gem.20171229-30007-1tn55pl
sitedir = $(rubylibprefix)/site_ruby
rubyarchdir = $(rubylibdir)/$(arch)
rubylibdir = $(rubylibprefix)/$(ruby_version)
sitearchincludedir = $(includedir)/$(sitearch)
archincludedir = $(includedir)/$(arch)
@@ -75,21 +75,21 @@
CSRCFLAG = $(empty)
RUBY_EXTCONF_H = extconf.h
cflags = $(optflags) $(debugflags) $(warnflags)
cxxflags = $(optflags) $(debugflags) $(warnflags)
-optflags = -O3 -fno-fast-math
+optflags = -O3
debugflags = -ggdb3
warnflags =
CCDLFLAGS = -fPIC
CFLAGS = $(CCDLFLAGS) $(cflags) $(ARCH_FLAG)
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir)/ruby/backward -I$(hdrdir) -I$(srcdir)
DEFS =
-CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -I/home/sho/.rbenv/versions/2.4.2/include $(DEFS) $(cppflags)
+CPPFLAGS = -DRUBY_EXTCONF_H=\"$(RUBY_EXTCONF_H)\" -I/home/sho/.rbenv/versions/2.5.0/include $(DEFS) $(cppflags)
CXXFLAGS = $(CCDLFLAGS) $(cxxflags) $(ARCH_FLAG)
-ldflags = -L. -L/home/sho/.rbenv/versions/2.4.2/lib -fstack-protector -rdynamic -Wl,-export-dynamic
-dldflags = -L/home/sho/.rbenv/versions/2.4.2/lib -Wl,--compress-debug-sections=zlib
+ldflags = -L. -L/home/sho/.rbenv/versions/2.5.0/lib -fstack-protector -rdynamic -Wl,-export-dynamic
+dldflags = -L/home/sho/.rbenv/versions/2.5.0/lib -Wl,--compress-debug-sections=zlib
ARCH_FLAG =
DLDFLAGS = $(ldflags) $(dldflags) $(ARCH_FLAG)
LDSHARED = $(CC) -shared
LDSHAREDXX = $(CXX) -shared
AR = ar
@@ -102,11 +102,11 @@
RUBYW_BASE_NAME = rubyw
RUBY_BASE_NAME = ruby
arch = x86_64-linux
sitearch = $(arch)
-ruby_version = 2.4.0
+ruby_version = 2.5.0
ruby = $(bindir)/$(RUBY_BASE_NAME)
RUBY = $(ruby)
ruby_headers = $(hdrdir)/ruby.h $(hdrdir)/ruby/backward.h $(hdrdir)/ruby/ruby.h $(hdrdir)/ruby/defines.h $(hdrdir)/ruby/missing.h $(hdrdir)/ruby/intern.h $(hdrdir)/ruby/st.h $(hdrdir)/ruby/subst.h $(arch_hdrdir)/ruby/config.h $(RUBY_EXTCONF_H)
RM = rm -f
@@ -136,10 +136,10 @@
LOCAL_LIBS =
LIBS = -lffi -lffi -lpthread -ldl -lcrypt -lm -lc
ORIG_SRCS = AbstractMemory.c ArrayType.c Buffer.c Call.c ClosurePool.c DataConverter.c DynamicLibrary.c Function.c FunctionInfo.c LastError.c LongDouble.c MappedType.c MemoryPointer.c MethodHandle.c Platform.c Pointer.c Struct.c StructByReference.c StructByValue.c StructLayout.c Thread.c Type.c Types.c Variadic.c ffi.c
SRCS = $(ORIG_SRCS)
OBJS = AbstractMemory.o ArrayType.o Buffer.o Call.o ClosurePool.o DataConverter.o DynamicLibrary.o Function.o FunctionInfo.o LastError.o LongDouble.o MappedType.o MemoryPointer.o MethodHandle.o Platform.o Pointer.o Struct.o StructByReference.o StructByValue.o StructLayout.o Thread.o Type.o Types.o Variadic.o ffi.o
-HDRS = $(srcdir)/Struct.h $(srcdir)/Thread.h $(srcdir)/MethodHandle.h $(srcdir)/ArrayType.h $(srcdir)/Function.h $(srcdir)/extconf.h $(srcdir)/Call.h $(srcdir)/rbffi.h $(srcdir)/LongDouble.h $(srcdir)/LastError.h $(srcdir)/StructByValue.h $(srcdir)/Type.h $(srcdir)/MemoryPointer.h $(srcdir)/Types.h $(srcdir)/rbffi_endian.h $(srcdir)/ClosurePool.h $(srcdir)/StructByReference.h $(srcdir)/compat.h $(srcdir)/Platform.h $(srcdir)/MappedType.h $(srcdir)/Pointer.h $(srcdir)/AbstractMemory.h $(srcdir)/DynamicLibrary.h
+HDRS = $(srcdir)/AbstractMemory.h $(srcdir)/ArrayType.h $(srcdir)/Call.h $(srcdir)/ClosurePool.h $(srcdir)/DynamicLibrary.h $(srcdir)/Function.h $(srcdir)/LastError.h $(srcdir)/LongDouble.h $(srcdir)/MappedType.h $(srcdir)/MemoryPointer.h $(srcdir)/MethodHandle.h $(srcdir)/Platform.h $(srcdir)/Pointer.h $(srcdir)/Struct.h $(srcdir)/StructByReference.h $(srcdir)/StructByValue.h $(srcdir)/Thread.h $(srcdir)/Type.h $(srcdir)/Types.h $(srcdir)/compat.h $(srcdir)/extconf.h $(srcdir)/rbffi.h $(srcdir)/rbffi_endian.h
LOCAL_HDRS =
TARGET = ffi_c
TARGET_NAME = ffi_c
TARGET_ENTRY = Init_$(TARGET_NAME)
DLLIB = $(TARGET).so