BUILDTOP=../../.

DBG=-O
DEBUG = -DDEBUG
INCLUDE= -I$(BUILDTOP)/include -I$(BUILDTOP)/lib/isode/h
DEFINES	=
CFLAGS=$(DBG) $(DEBUG) $(INCLUDE)
LINTFLAGS=$(INCLUDE) $(DEFINES)

CC=cc
ARCHIVE= ar cru
RANLIB= ranlib

MAKE=make
RM=rm -f
MV=mv
CP=cp
LN=ln -s
CHMOD=chmod

SRCS	= \
	acquire_cred.c \
	init_context.c \
	display_token_struct.c \
	accept_context.c \
	stash_cred.c \
	error_msg.c \
	build_name.c \
	read_pub_key.c \
	file_hexdump.c \
	spxapi.c \
	sphinxuserok.c \
	make_response.c \
	verify_response.c

OBJECTS	= \
	acquire_cred.o \
	init_context.o \
	display_token_struct.o \
	accept_context.o \
	stash_cred.o \
	error_msg.o \
	build_name.o \
	read_pub_key.o \
	file_hexdump.o \
	spxapi.o \
	sphinxuserok.o \
	make_response.o \
	verify_response.o

.c.o:
	$(CC) -c $(CFLAGS) $*.c

all:: libapi.a

libapi.a: $(OBJECTS)
	$(ARCHIVE) $@ $(OBJECTS)
	if [ -f /usr/bin/ranlib -o -f /bin/ranlib ]; \
		then ranlib $@; fi

rebuild::
	$(RM) libapi.a $(OBJECTS)

clean::
	$(RM) *~ .[a-zA-Z]*~ *.ckp core

Makefiles::

# DO NOT DELETE THIS LINE

