2010-11-11 12:46:23 +00:00
|
|
|
V = 0
|
|
|
|
Q1 = $(V:1=)
|
|
|
|
Q = $(Q1:0=@)
|
|
|
|
ECHO1 = $(V:1=@:)
|
|
|
|
ECHO = $(ECHO1:0=@echo)
|
|
|
|
|
2007-12-24 03:49:56 +00:00
|
|
|
encsrcdir = @srcdir@
|
2007-12-20 08:07:56 +00:00
|
|
|
topdir = .
|
2007-12-30 02:00:59 +00:00
|
|
|
prefix = @prefix@
|
|
|
|
exec_prefix = @exec_prefix@
|
2007-12-20 08:07:56 +00:00
|
|
|
libdir = @libdir@
|
2007-12-24 03:49:56 +00:00
|
|
|
top_srcdir = $(encsrcdir:/enc=)
|
|
|
|
srcdir = $(top_srcdir)
|
2007-12-15 09:56:59 +00:00
|
|
|
arch = @arch@
|
2007-12-17 08:17:50 +00:00
|
|
|
EXTOUT = @EXTOUT@
|
2007-12-24 03:49:56 +00:00
|
|
|
hdrdir = $(srcdir)/include
|
2007-12-15 09:56:59 +00:00
|
|
|
arch_hdrdir = $(EXTOUT)/include/$(arch)
|
|
|
|
ENCSODIR = $(EXTOUT)/$(arch)/enc
|
2007-12-24 03:49:56 +00:00
|
|
|
TRANSSODIR = $(ENCSODIR)/trans
|
2007-12-15 09:56:59 +00:00
|
|
|
DLEXT = @DLEXT@
|
|
|
|
OBJEXT = @OBJEXT@
|
|
|
|
|
2008-01-14 13:49:29 +00:00
|
|
|
BUILTIN_ENCS = ascii.c us_ascii.c\
|
2008-01-15 08:53:07 +00:00
|
|
|
unicode.c utf_8.c
|
2007-12-15 09:56:59 +00:00
|
|
|
|
2008-08-24 15:58:43 +00:00
|
|
|
BUILTIN_TRANSES = newline.trans
|
|
|
|
|
2007-12-20 08:07:56 +00:00
|
|
|
RUBY_SO_NAME = @RUBY_SO_NAME@
|
|
|
|
LIBRUBY = @LIBRUBY@
|
|
|
|
LIBRUBYARG_SHARED = @LIBRUBYARG_SHARED@
|
2007-12-21 02:23:26 +00:00
|
|
|
LIBRUBYARG_STATIC = $(LIBRUBYARG_SHARED)
|
2007-12-20 08:07:56 +00:00
|
|
|
|
2007-12-15 09:56:59 +00:00
|
|
|
empty =
|
|
|
|
CC = @CC@
|
|
|
|
OUTFLAG = @OUTFLAG@$(empty)
|
2007-12-24 03:49:56 +00:00
|
|
|
COUTFLAG = @COUTFLAG@$(empty)
|
2007-12-21 02:23:26 +00:00
|
|
|
CFLAGS = $(CCDLFLAGS) @CFLAGS@ @ARCH_FLAG@
|
2008-06-09 12:14:39 +00:00
|
|
|
cflags = @cflags@
|
|
|
|
optflags = @optflags@
|
|
|
|
debugflags = @debugflags@
|
|
|
|
warnflags = @warnflags@
|
2007-12-21 02:23:26 +00:00
|
|
|
CCDLFLAGS = @CCDLFLAGS@
|
2007-12-17 16:15:46 +00:00
|
|
|
INCFLAGS = -I. -I$(arch_hdrdir) -I$(hdrdir) -I$(top_srcdir)
|
|
|
|
DEFS = @DEFS@
|
2007-12-20 08:07:56 +00:00
|
|
|
CPPFLAGS = @CPPFLAGS@ -DONIG_ENC_REGISTER=rb_enc_register
|
2007-12-29 16:43:59 +00:00
|
|
|
LDFLAGS = @LDFLAGS@
|
2007-12-15 09:56:59 +00:00
|
|
|
LDSHARED = @LDSHARED@
|
2008-01-15 08:53:07 +00:00
|
|
|
ldflags = $(LDFLAGS)
|
2007-12-29 16:43:59 +00:00
|
|
|
dldflags = @DLDFLAGS@
|
|
|
|
archflag = @ARCH_FLAG@
|
|
|
|
DLDFLAGS = $(ldflags) $(dldflags) $(archflag)
|
2008-08-12 05:25:14 +00:00
|
|
|
RUBY = $(MINIRUBY)
|
2007-12-19 17:23:24 +00:00
|
|
|
|
2010-12-21 03:45:21 +00:00
|
|
|
WORKDIRS = @WORKDIRS@
|
2008-08-08 07:44:42 +00:00
|
|
|
|
2007-12-19 17:23:24 +00:00
|
|
|
RM = @RM@
|
2010-07-21 21:26:56 +00:00
|
|
|
RMDIR = @RMDIR@
|
|
|
|
RMDIRS = @RMDIRS@
|
2009-08-14 08:20:13 +00:00
|
|
|
MAKEDIRS = @MAKEDIRS@
|
2007-12-24 03:49:56 +00:00
|
|
|
|
2008-08-12 05:25:14 +00:00
|
|
|
.SUFFIXES: .trans
|
2008-08-05 18:15:52 +00:00
|
|
|
|
2008-08-10 02:45:18 +00:00
|
|
|
all: make-workdir
|
2008-08-08 07:44:42 +00:00
|
|
|
|
|
|
|
make-workdir:
|
2010-12-29 11:27:36 +00:00
|
|
|
$(Q)$(MAKEDIRS) $(WORKDIRS)
|
2007-12-24 03:49:56 +00:00
|
|
|
|
|
|
|
clean:
|
|
|
|
|
2010-11-14 08:57:53 +00:00
|
|
|
distclean: clean
|
2010-12-29 11:27:36 +00:00
|
|
|
$(Q)$(RM) enc.mk
|
2010-11-14 08:57:53 +00:00
|
|
|
realclean: distclean clean-srcs
|