1/* 2 * Copyright (c) 1991-1994 Sony Corporation 3 * 4 * Permission is hereby granted, free of charge, to any person obtaining 5 * a copy of this software and associated documentation files (the 6 * "Software"), to deal in the Software without restriction, including 7 * without limitation the rights to use, copy, modify, merge, publish, 8 * distribute, sublicense, and/or sell copies of the Software, and to 9 * permit persons to whom the Software is furnished to do so, subject to 10 * the following conditions: 11 * 12 * The above copyright notice and this permission notice shall be 13 * included in all copies or substantial portions of the Software. 14 * 15 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 17 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 18 * IN NO EVENT SHALL SONY CORPORATION BE LIABLE FOR ANY CLAIM, 19 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR 20 * OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR 21 * THE USE OR OTHER DEALINGS IN THE SOFTWARE. 22 * 23 * Except as contained in this notice, the name of Sony Corporation 24 * shall not be used in advertising or otherwise to promote the sale, use 25 * or other dealings in this Software without prior written authorization 26 * from Sony Corporation. 27 */ 28 29/* 30 * $SonyRCSfile: Imakefile,v $ 31 * $SonyRevision: 1.4 $ 32 * $SonyDate: 1997/01/23 11:20:50 $ 33 */ 34 35/* 36 * Change some make rules. 37 * Patched by Hidekazu Kuroki(hidekazu@cs.titech.ac.jp) 1996/8/10 38 */ 39 40#include "../../sj3.tmpl" 41 42TOOL_DIR = ../tool 43TOOL_NAME = sj3mkdic 44 45SRCS = ./visual.dic 46OBJS = sj3main.dic 47OUTPUT = Moutput 48 49XCOMM INSTFLAGS = -o $(SJ3OWNER) -g $(SJ3GROUP) -m 444 50 51all:: $(OBJS) 52 53$(OBJS): $(SRCS) 54 $(TOOL_DIR)/$(TOOL_NAME) $(SRCS) $(OBJS) > $(OUTPUT) 55 56depend:: 57 58clean:: 59 $(RM) $(OBJS) $(OUTPUT) 60 61InstallNamedNonExec(sj3main.dic,sj3main.dic,$(SJ3DICTDIR)) 62 63install:: 64 if [ ! -d $(SJ3DICTDIR)/user ]; then \ @@\ 65 ($(MKDIRHIER) $(SJ3DICTDIR)/user; \ @@\ 66 chown $(SJ3OWNER) $(SJ3DICTDIR)/user; \ @@\ 67 chgrp $(SJ3GROUP) $(SJ3DICTDIR)/user); fi 68