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