# Copyright (c) 2001-2002 Doshita Lab. Speech Group, Kyoto University
# Copyright (c) 2001-2002 Speech and Acoustics Processing Lab., NAIST
#   All rights reserved

SHELL=/bin/sh
RM=@RM@ -f
prefix=@prefix@
exec_prefix=@exec_prefix@
INSTALL=@INSTALL@

############################################################

TARGET=mkgshmm

all: $(TARGET)

$(TARGET):
	@echo 'nothing to do. just do "make install"'

############################################################

install: install.bin install.man

install.bin: $(TARGET)
	${INSTALL} -d @bindir@
	@INSTALL_PROGRAM@ $(TARGET) @bindir@

install.man:
	${INSTALL} -d @mandir@/man1
	@INSTALL_DATA@ $(TARGET).man @mandir@/man1/$(TARGET).1

install.man.ja:
	${INSTALL} -d @mandir@/man1
	@INSTALL_DATA@ $(TARGET).man.ja @mandir@/man1/$(TARGET).1

############################################################

clean:
	$(RM) $(TARGET) *.o *~ core

distclean:
	$(RM) $(TARGET) *.o *~ core
	$(RM) config.cache config.log config.status
	$(RM) Makefile
