# -*- makefile -*-
#
# Copyright (C)1997 Jacques H. de Villiers <Jacques@deVilliers.com>
# Copyright (C)1997 Center for Spoken Language Understanding,
#                   Oregon Graduate Institute of Science and Technology
#
# See the file license.ogi for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
# --------------------------------------------------------------------------
# DO NOT USE THIS FILE AS A TEMPLATE, see 
#  $(CSLU_EXEC_PREFIX)/config/template/lib_1
# --------------------------------------------------------------------------

CONFIG = $(CSLU_EXEC_PREFIX)/config
source = .

TARGET  = parser
VERSION = 1.0
API_0   = parser.h
API_1   = network.h
HEADERS = grammarparse.h network.h phonfunc.h phonparse.h wordparse.h
SOURCES = wordparse.c wordlex.c network.c word.c grammarparse.c grammarlex.c \
	  grammar.c
LIBS    = -lresult -ldballoc0
EXTRAS  =
CONTAINER       = parser/word
DEFAULT_EXTRA   = containers
INSTALL_EXTRA   = install-containers
UNINSTALL_EXTRA = uninstall-containers
CFLAGS = "-DYYMAXDEPTH=100"

include $(CONFIG)/make/lib_2
