2007-12-23 22:49:56 -05:00
|
|
|
encsrcdir = @srcdir@
|
2007-12-20 03:07:56 -05:00
|
|
|
topdir = .
|
|
|
|
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@
|
|
|
|
|
2007-12-17 03:17:50 -05:00
|
|
|
BUILTIN_ENCS = ascii.c \
|
|
|
|
euc_jp.c sjis.c \
|
|
|
|
unicode.c utf8.c
|
2007-12-15 04:56:59 -05:00
|
|
|
|
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@
|
|
|
|
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-15 04:56:59 -05:00
|
|
|
LDFLAGS = @STATIC@ $(CFLAGS) @LDFLAGS@
|
|
|
|
XLDFLAGS = @XLDFLAGS@ $(EXTLDFLAGS)
|
2007-12-20 03:07:56 -05:00
|
|
|
LIBS = @LIBRUBYARG@ @LIBS@ $(EXTLIBS)
|
2007-12-15 04:56:59 -05:00
|
|
|
LDSHARED = @LDSHARED@
|
|
|
|
DLDFLAGS = @DLDFLAGS@ $(EXTLDFLAGS) @ARCH_FLAG@
|
2007-12-19 12:23:24 -05:00
|
|
|
|
|
|
|
RM = @RM@
|
2007-12-23 22:49:56 -05:00
|
|
|
|
|
|
|
all:
|
|
|
|
|
|
|
|
clean:
|
|
|
|
|
|
|
|
distclean: clean
|
|
|
|
$(RM) enc.mk
|