# Copyright 1992 NEC Corporation, Tokyo, Japan.
#
# Permission to use, copy, modify, distribute and sell this software
# and its documentation for any purpose is hereby granted without
# fee, provided that the above copyright notice appear in all copies
# and that both that copyright notice and this permission notice
# appear in supporting documentation, and that the name of NEC
# Corporation not be used in advertising or publicity pertaining to
# distribution of the software without specific, written prior
# permission.  NEC Corporation makes no representations about the
# suitability of this software for any purpose.  It is provided "as
# is" without express or implied warranty.
#
# NEC CORPORATION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
# INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN 
# NO EVENT SHALL NEC CORPORATION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
# CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF 
# USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR 
# OTHER TORTUOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR 
# PERFORMANCE OF THIS SOFTWARE. 

# $Id: rMakefile,v 1.6 1992/05/11 18:19:32 kon Exp $

    CFLAGS = $(INCLUDES) $(DEFINES) $(DEBUGFLAGS)
  INCLUDES = -I/usr/include/canna -I/usr/include/X11
   DEFINES = -DSVR4
DEBUGFLAGS = 

all: sample default.kp just.kp kana.kp newjis.kp \
     jdaemon.kp kaisoku.kp lan5.kp romaji.kp

sample: sample.o
	cc sample.o -lXn -lcanna -lX11 -lw -lsocket -lnsl -o $@

default.kp: default.kpdef
	mkromdic $?

just.kp: just.kpdef
	mkromdic $?

kana.kp: kana.kpdef
	mkromdic $?

newjis.kp: newjis.kpdef
	mkromdic $?

jdaemon.kp: jdaemon.kpdef
	mkromdic $?

kaisoku.kp: kaisoku.kpdef
	mkromdic $?

lan5.kp: lan5.kpdef
	mkromdic $?

romaji.kp: romaji.kpdef
	mkromdic $?
