# -*- 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_3
# --------------------------------------------------------------------------

CONFIG = $(CSLU_EXEC_PREFIX)/config
source = .

TARGET  = container
VERSION = 1.0
API_0   = container.h
API_1   = raw.h
API_2   = cntrint.h
SOURCES = bChar.c bDouble.c bFloat.c bInt.c bNdim.c bNnet.c bShort.c \
          bStruct.c container.c file.c
LIBS    = -lhash -lresult -ldballoc0
EXTRAS  = parse
CONTAINER       = raw
DEFAULT_EXTRA   = install-libs containers
INSTALL_EXTRA   = install-bin install-containers
UNINSTALL_EXTRA = uninstall-bin uninstall-containers

include $(CONFIG)/make/lib_3


install-bin: $(BIN_DIR) $(BIN_DIR)/parse

$(BIN_DIR)/parse: $(source)/parse
	$(CP) $(source)/parse $@

uninstall-bin:
	-$(RM) -f $(BIN_DIR)/parse
