$NetBSD: patch-kWnn_uum_Makefile.in,v 1.1 2011/09/13 07:23:21 mef Exp $ (Almost) Automatic generation to sourceforge cvs Repository 2011/05/31 --- kWnn/uum/Makefile.in.orig 2005-11-20 16:10:28.000000000 +0000 +++ kWnn/uum/Makefile.in @@ -10,7 +10,7 @@ # 1987, 1988, 1989, 1990, 1991, 1992 # Copyright OMRON Corporation. 1987, 1988, 1989, 1990, 1991, 1992, 1999 # Copyright ASTEC, Inc. 1987, 1988, 1989, 1990, 1991, 1992 -# Copyright FreeWnn Project 1999, 2000, 2001, 2005 +# Copyright FreeWnn Project 1999, 2000, 2001, 2005, 2006, 2007, 2010, 2011 # # Maintainer: FreeWnn Project # @@ -30,15 +30,18 @@ # include @top_builddir@/makerule.mk + top_srcdir = @top_srcdir@ top_builddir = @top_builddir@ -INSTALL = @INSTALL@ +INSTALL = @INSTALL@ +LOCAL_INSTFLAGS = $(INSTUUMFLAGS) - UUMOWNER = root - INCLUDES = -I$(KWNNINCLUDESRC) -I$(KWNNROMKANSRC) -I$(top_builddir) + INCLUDES = -I$(top_builddir) @EXTKWNNJINC@ -I$(KWNNINCLUDESRC) -I$(KWNNROMKANSRC) DEFINES = $(KWNNDEFINES) $(KWNNLANGDEF) -LOCAL_INSTFLAGS = $(INSTUIDFLAGS) -o $(UUMOWNER) LOCAL_LIBRARIES = $(KWNNJLIB) $(KWNNCONVLIB) @LIBS@ +# FIXME: libspt: need configure support ... +# LIBSPT_CFLAGS = @LIBSPT_CFLAGS@ +# LIBSPT_LIBS = @LIBSPT_LIBS@ HDRS= buffer.h cvtcode.h sdefine.h sheader.h SRC1= epilogue.c header.c kensaku.c kuten.c jis_in.c prologue.c touroku.c jikouho.c jutil.c w_string.c printf.c termio.c hinsi.c termcap.c ttyfdslot.c setutmp.c redraw.c history.c key_bind.c screen.c basic_op.c uif.c cursor.c jhlp.c select_ele.c inspect.c wnnrc_op.c functions.c @@ -62,7 +65,7 @@ all:: $(HDRS) $(SRC1) kuum kuum: $(OBJS) @DEPKWNNJLIB@ $(KWNNCONVLIB) $(RM) $@ - $(LIBTOOL) --mode=link $(CCLINK) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(WNNTERM_LIB) + $(LT_LD) -o $@ $(LDOPTIONS) $(OBJS) $(LOCAL_LIBRARIES) $(LIBSPT_LIBS) @TERMLIB@ clean:: $(RM) -r .libs @@ -427,7 +430,7 @@ instclient:: install install:: kuum @if [ -d $(DESTDIR)$(KWNNBINDIR) ]; then set +x; \ else (set -x; $(MKDIRHIER) $(DESTDIR)$(KWNNBINDIR)); fi - $(LIBTOOL) --mode=install $(INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) kuum $(DESTDIR)$(KWNNBINDIR)/kuum + $(LT_INSTALL) $(INSTALLFLAGS) $(INSTPGMFLAGS) $(LOCAL_INSTFLAGS) kuum $(DESTDIR)$(KWNNBINDIR)/`echo kuum | sed '$(transform)'` $(OBJ2) : $(SRC2) $(CC) -c $(CFLAGS) $(KWNNETCSRC)/`basename $@ .o`.c