diff Contrib/dic/ldic/Makefile.in @ 20:c4b8c1d2b943

added supplement.u and ldic.u
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Tue, 15 Apr 2008 17:26:32 +0900
parents
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Contrib/dic/ldic/Makefile.in	Tue Apr 15 17:26:32 2008 +0900
@@ -0,0 +1,36 @@
+# this makefile has been taken from gerodic. 
+
+include @top_builddir@/makerule.mk
+  top_srcdir = @top_srcdir@
+      srcdir = @srcdir@
+top_builddir = @top_builddir@
+ WNNJUTILOBJ = $(top_builddir)/Wnn/jutil
+
+INSTALL         = @INSTALL@ $(INSTALLFLAGS)
+LOCAL_INSTFLAGS = -o ${WNNOWNER}
+
+ATOD=${WNNJUTILOBJ}/atod
+
+WNNTOUCH=${WNNJUTILOBJ}/wnntouch
+
+HINSI=${PUBDICPLUSSRC}/hinsi.data
+
+LDICDIR=${JWNNDICDIR}/misc
+
+SRC=$(srcdir)/ldic.u
+OBJ=ldic.dic
+
+all:: ${OBJ}
+
+$(OBJ): $(SRC)
+	${ATOD} -h ${HINSI} ${OBJ} < ${SRC}
+
+install:: ${OBJ}
+	@if [ -d $(DESTDIR)$(LDICDIR) ]; then set +x; \
+	else (set -x; $(MKDIRHIER) $(DESTDIR)$(LDICDIR)); fi
+	chown ${WNNOWNER} $(DESTDIR)$(LDICDIR)
+	$(INSTALL) $(INSTDATFLAGS) $(LOCAL_INSTFLAGS) ${OBJ} $(DESTDIR)$(LDICDIR)
+	${WNNTOUCH} $(DESTDIR)$(LDICDIR)/${OBJ}
+
+clean::
+	$(RM) ${OBJ}