#############################<--OGI-->######################################
##                                                                        ##
##             Center for Spoken Language Understanding                   ##
##        Oregon Graduate Institute of Science & Technology               ##
##                         Portland, OR USA                               ##
##                        Copyright (c) 2000                              ##
##                                                                        ##
##      This module is not part of the CSTR/University of Edinburgh       ##
##               release of the Festival TTS system.                      ##
##                                                                        ##
##  In addition to any conditions disclaimers below, please see the file  ##
##  "license_ogi_tts.txt" distributed with this software for information  ##
##  on usage and redistribution, and for a DISCLAIMER OF ALL WARRANTIES.  ##
##                                                                        ##
#############################<--OGI-->######################################
##  OGIdbase

TOP=../../..
DIRNAME=src/modules/OGIdbase


LOCAL_INCLUDES = -I../../../src/include -I../OGIcommon 

# uncomment if including optional OGIsine support
#INCLUDE_OGISINE=1
#

H = OGIdbUnits.h OGIdbase.h OGIdbase_scm.h OGIresLPC_db.h OGIunitsel_diphone.h

TSRCS = OGIdbUnits.cc OGIresLPC_db.cc 

LOCAL_DEFINES=
ifdef INCLUDE_OGISINE
	LOCAL_DEFINES=-DINCLUDE_OGISINE
	H += OGIsine_db.h
	TSRCS += OGIsine_db.cc
	LOCAL_INCLUDES += -I../OGIsine
endif

LOCAL_DEFINES += -DTMATRIX_BOUNDS_CHECKING=0

CPPSRCS = OGIdbase.cc OGIdbase_scm.cc OGIunitsel_diphone.cc $(TSRCS)
SRCS = $(CPPSRCS)

OBJS = $(SRCS:.cc=.o)
 
FILES = Makefile $(SRCS) $(H)
 
INLIB = $(TOP)/src/lib/libFestival.a
 
ALL = .buildlib

 
include $(TOP)/config/common_make_rules
