diff Xwnmo/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/Xwnmo/jlib/Makefile.in	Thu Dec 13 04:30:14 2007 +0900
@@ -0,0 +1,150 @@
+# 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 2001
+#
+# Author: OMRON SOFTWARE Co., Ltd. <freewnn@rd.kyoto.omronsoft.co.jp>
+# 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, 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 GNU Emacs; see the file COPYING.  If not, write to the
+# Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+include @top_srcdir@/makerule.mk
+top_builddir = ../..
+
+LIB_MT_DEFINES = LibraryMTDefines
+
+# DEBUG  -DDEBUG , -DJL_DEBBUG
+
+    JLIBDEFINES = -DWRITE_CHECK
+       INCLUDES = -I$(WNNINCLUDESRC) -I$(TOP)
+        DEFINES = $(WNNDEFINES) $(ALLLANGDEF) $(JLIBDEFINES)
+       LINTLIBS =
+
+SRC1= js.c 	wnnerrmsg.c 	jl.c
+
+OBJ1= js.o 	wnnerrmsg.o 	jl.o
+
+SRC2= $(WNNETCSRC)/msg.c
+OBJ2= msg.o
+SRC3= $(WNNETCSRC)/yincoding.c
+OBJ3= yincoding.o
+SRC4= $(WNNETCSRC)/py_table.c
+OBJ4= py_table.o
+SRC5= $(WNNETCSRC)/zy_table.c
+OBJ5= zy_table.o
+SRC6= $(WNNETCSRC)/strings.c
+OBJ6= strings.o
+SRC7= $(WNNETCSRC)/bcopy.c
+OBJ7= bcopy.o
+LOCAL_RKSRCS= $(XWNMOROMKANMSRC)/rk_bltinfn.c $(XWNMOROMKANMSRC)/rk_main.c 	$(XWNMOROMKANMSRC)/rk_modread.c $(XWNMOROMKANMSRC)/rk_read.c 	$(XWNMOROMKANMSRC)/rk_vars.c $(XWNMOROMKANMSRC)/rk_alloc.c
+
+LOCAL_RKOBJS= $(XWNMOROMKANMSRC)/rk_bltinfn.o $(XWNMOROMKANMSRC)/rk_main.o 	$(XWNMOROMKANMSRC)/rk_modread.o $(XWNMOROMKANMSRC)/rk_read.o 	$(XWNMOROMKANMSRC)/rk_vars.o $(XWNMOROMKANMSRC)/rk_alloc.o
+
+LOCAL_ETCSRCS = $(SRC2) $(SRC3) $(SRC4) $(SRC5) $(SRC6) $(SRC7)
+LOCAL_ETCOBJS = $(OBJ2) $(OBJ3) $(OBJ4) $(OBJ5) $(OBJ6) $(OBJ7)
+SRCS= $(SRC1) $(LOCAL_ETCSRCS)
+OBJS= $(OBJ1) $(LOCAL_ETCOBJS) $(LOCAL_RKOBJS)
+
+all::
+
+includes::
+
+.c.o:
+	$(RM) $@
+	$(CC) -c $(CFLAGS) $(_NOOP_) $*.c
+
+clean::
+
+all:: $(OBJS) libwnn_m.a
+
+includes:: $(SRC1)
+
+js.c:  $(WNNJLIBSRC)/js.c
+	$(RM) $@
+	$(LN) $? $@
+
+includes:: js.c
+
+depend:: js.c
+
+clean::
+	$(RM) js.c
+
+wnnerrmsg.c:  $(WNNJLIBSRC)/wnnerrmsg.c
+	$(RM) $@
+	$(LN) $? $@
+
+includes:: wnnerrmsg.c
+
+depend:: wnnerrmsg.c
+
+clean::
+	$(RM) wnnerrmsg.c
+
+jl.c:  $(WNNJLIBSRC)/jl.c
+	$(RM) $@
+	$(LN) $? $@
+
+includes:: jl.c
+
+depend:: jl.c
+
+clean::
+	$(RM) jl.c
+
+js.o : js.c $(WNNETCSRC)/bdic.c $(WNNETCSRC)/pwd.c $(WNNETCSRC)/gethinsi.c
+
+all:: libwnn_m.a
+
+libwnn_m.a: $(OBJS) $(EXTRALIBRARYDEPS)
+	$(RM) $@
+	$(AR) $@ $(OBJS)
+	$(RANLIB) $@
+
+lintlib:: llib-lwnn_m.ln
+
+llib-lwnn_m.ln: $(SRCS) $(EXTRALIBRARYDEPS)
+	$(RM) $@
+	$(LINT) $(LINTLIBFLAG)wnn_m $(LINTFLAGS) $(SRCS)
+
+$(OBJ2) : $(SRC2)
+	$(CC) -c $(CFLAGS)  $(WNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ3) : $(SRC3)
+	$(CC) -c $(CFLAGS)  $(WNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ4) : $(SRC4)
+	$(CC) -c $(CFLAGS)  $(WNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ5) : $(SRC5)
+	$(CC) -c $(CFLAGS)  $(WNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ6) : $(SRC6)
+	$(CC) -c $(CFLAGS)  $(WNNETCSRC)/`basename $@ .o`.c
+
+$(OBJ7) : $(SRC7)
+	$(CC) -c $(CFLAGS)  $(WNNETCSRC)/`basename $@ .o`.c
+
+$(LOCAL_RKOBJS) : $(LOCAL_RKSRCS)
+	@case '${MFLAGS}' in *[ik]*) set +e;; esac; 	cd $(XWNMOROMKANMSRC); echo "making all in $(XWNMOROMKANMSRC)"; 	$(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' $(MFLAGS)
+
+depend:: .depend
+
+clean::
+	$(RM) $(SRC1)