view Contrib/dic/supplement/Makefile.in @ 22:c966456648ad

- fixed argument style in function definition - created header files for prototype check. (in progress) - suppress warnings
author Yoshiki Yazawa <yaz@cc.rim.or.jp>
date Thu, 17 Apr 2008 01:17:45 +0900
parents c4b8c1d2b943
children
line wrap: on
line source

# 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

SUPPLEMENTDIR=${JWNNDICDIR}/misc

SRC=$(srcdir)/supplement.u
OBJ=supplement.dic

all:: ${OBJ}

$(OBJ): $(SRC)
	${ATOD} -h ${HINSI} ${OBJ} < ${SRC}

install:: ${OBJ}
	@if [ -d $(DESTDIR)$(SUPPLEMENTDIR) ]; then set +x; \
	else (set -x; $(MKDIRHIER) $(DESTDIR)$(SUPPLEMENTDIR)); fi
	chown ${WNNOWNER} $(DESTDIR)$(SUPPLEMENTDIR)
	$(INSTALL) $(INSTDATFLAGS) $(LOCAL_INSTFLAGS) ${OBJ} $(DESTDIR)$(SUPPLEMENTDIR)
	${WNNTOUCH} $(DESTDIR)$(SUPPLEMENTDIR)/${OBJ}

clean::
	$(RM) ${OBJ}