diff cWnn/jlib/Makefile.in @ 0:bbc77ca4def5

initial import
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 13 Dec 2007 04:30:14 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/cWnn/jlib/Makefile.in	Thu Dec 13 04:30:14 2007 +0900
@@ -0,0 +1,167 @@
+#
+#   $Id: Makefile.in,v 1.12 2004/09/12 16:56:55 aono Exp $
+#
+
+#
+# FreeWnn is a network-extensible Kana-to-Kanji conversion system.
+# This file is part of FreeWnn.
+# 
+# Copyright Kyoto University Research Institute for Mathematical Sciences
+#                 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, 2003
+# 
+# Maintainer:  FreeWnn Project   <freewnn@tomo.gr.jp>
+# 
+# This program is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 2 of the License, or
+# (at your option) any later version.
+# 
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+# 
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+#
+
+include @top_builddir@/makerule.mk
+  top_srcdir = @top_srcdir@
+top_builddir = @top_builddir@
+
+LINKS = jl.c js.c wnnerrmsg.c
+JLIBDEFINES = -DWRITE_CHECK
+INCLUDES = -I$(CWNNINCLUDESRC) -I$(top_builddir)
+DEFINES  = $(CWNNDEFINES) $(CWNNLANGDEF) $(JLIBDEFINES)
+LINTLIBS =
+INSTALL  = @INSTALL@ $(INSTALLFLAGS)
+LT_INSTALL = $(LIBTOOL) --mode=install $(INSTALL)
+LT_CC      = $(LIBTOOL) --mode=compile $(CC)
+
+SRC1= jl.c js.c wnnerrmsg.c
+OBJ1= jl.o js.o wnnerrmsg.o
+
+SRC3= $(CWNNETCSRC)/msg.c
+OBJ3= msg.o
+SRC4= $(CWNNETCSRC)/yincoding.c
+OBJ4= yincoding.o
+SRC5= $(CWNNETCSRC)/py_table.c
+OBJ5= py_table.o
+SRC6= $(CWNNETCSRC)/zy_table.c
+OBJ6= zy_table.o
+SRC7= $(CWNNETCSRC)/strings.c
+OBJ7= strings.o
+SRC8= $(CWNNETCSRC)/bcopy.c
+OBJ8= bcopy.o
+
+LOCAL_RKSRCS= $(CWNNROMKANSRC)/rk_bltinfn.c 	$(CWNNROMKANSRC)/rk_main.c 	$(CWNNROMKANSRC)/rk_modread.c 	$(CWNNROMKANSRC)/rk_read.c 	$(CWNNROMKANSRC)/rk_vars.c
+
+LOCAL_RKOBJS= $(CWNNROMKANSRC)/rk_bltinfn.o 	$(CWNNROMKANSRC)/rk_main.o 	$(CWNNROMKANSRC)/rk_modread.o 	$(CWNNROMKANSRC)/rk_read.o 	$(CWNNROMKANSRC)/rk_vars.o
+
+LOCAL_ETCSRCS = $(SRC4) $(SRC5) $(SRC6) $(SRC7) $(SRC8)
+LOCAL_ETCOBJS = $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7) $(OBJ8)
+OTHER_SRCS = $(WNNETCSRC)/mkdir.c
+OTHER_OBJS = mkdir.o
+SRCS= $(SRC1) $(SRC3) $(LOCAL_ETCSRCS) $(OTHER_SRCS)
+OBJS= $(OBJ1) $(OBJ3) $(LOCAL_ETCOBJS) $(LOCAL_RKOBJS) $(mkdir.o)
+
+all::
+
+includes::
+
+.c.o:
+	$(RM) $@
+	$(LT_CC) -c $(CFLAGS) $(_NOOP_) $*.c
+
+clean::
+	$(RM) -r .libs
+	$(RM) *.lo *.la
+
+all:: $(LINKS) $(OBJS) libcwnn.la
+
+includes:: $(LINKS)
+
+jl.c:  $(WNNJLIBSRC)/jl.c
+	$(RM) $@
+	$(LN) $? $@
+
+includes:: jl.c
+
+depend:: jl.c
+
+js.c:  $(WNNJLIBSRC)/js.c
+	$(RM) $@
+	$(LN) $? $@
+
+includes:: js.c
+
+depend:: js.c
+
+wnnerrmsg.c:  $(WNNJLIBSRC)/wnnerrmsg.c
+	$(RM) $@
+	$(LN) $? $@
+
+includes:: wnnerrmsg.c
+
+depend:: wnnerrmsg.c
+
+js.o : js.c 	$(CWNNETCSRC)/bdic.c 	$(CWNNETCSRC)/pwd.c 	$(CWNNETCSRC)/gethinsi.c
+
+lint:
+	$(LINT) $(LINTFLAGS) $(SRC2) $(LINTLIBS)
+lint1:
+	$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
+
+all:: libcwnn.la
+
+libcwnn.la: $(OBJS) $(EXTRALIBRARYDEPS)
+	$(LIBTOOL) --mode=link $(CC) -o $@ $(OBJS:.o=.lo) -rpath $(WNNLIBDIR) -version-info $(CWNNJLIBVERSION)
+
+lintlib:: llib-lcwnn.ln
+
+llib-lcwnn.ln: $(SRCS) $(EXTRALIBRARYDEPS)
+	$(RM) $@
+	$(LINT) $(LINTLIBFLAG)cwnn $(LINTFLAGS) $(SRCS)
+
+instlib:: install
+
+install:: libcwnn.la
+	@if [ -d $(DESTDIR)$(WNNLIBDIR) ]; then set +x; \
+	else (set -x; $(MKDIRHIER) $(DESTDIR)$(WNNLIBDIR)); fi
+	$(LT_INSTALL) $(INSTLIBFLAGS) libcwnn.la $(DESTDIR)$(WNNLIBDIR)
+
+$(OBJ3) : $(SRC3)
+	$(LT_CC) -c $(CFLAGS)  $(CWNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ4) : $(SRC4)
+	$(LT_CC) -c $(CFLAGS)  $(CWNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ5) : $(SRC5)
+	$(LT_CC) -c $(CFLAGS)  $(CWNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ6) : $(SRC6)
+	$(LT_CC) -c $(CFLAGS)  $(CWNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ7) : $(SRC7)
+	$(LT_CC) -c $(CFLAGS)  $(CWNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ8) : $(SRC8)
+	$(LT_CC) -c $(CFLAGS)  $(CWNNETCSRC)/`basename $@ .o`.c
+
+mkdir.o : $(WNNETCSRC)/mkdir.c
+	$(LT_CC) -c $(CFLAGS) $@
+
+$(LOCAL_RKOBJS) : $(LOCAL_RKSRCS)
+	@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
+ 	cd $(CWNNROMKANSRC); \
+	echo "making all in $(CWNNROMKANSRC)"; \
+	$(MAKE) $(MFLAGS)
+
+depend:: .depend
+
+clean::
+	-$(RM) $(LINKS)