srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
INSTALL = @INSTALL@
INSTALL_DATA = @INSTALL_DATA@
INSTALL_PROGRAM = @INSTALL_PROGRAM@
INSTALL_SCRIPT = @INSTALL_SCRIPT@

CFLAGS=-g -I. -I${srcdir} -I${TOP_OBJDIR}/src/config -I${TOP_INCDIR} ${XCFLAGS} ${ARCHFLAGS}

#  Test programs
PROGS = \
	key_test \
	testit \
	verify

LDFLAGS = ${XLDFLAGS} ${ARCHFLAGS}

LIBS=\
	${TOP_LIBDIR}/libdes.a

all test: $(PROGS)

clean:
	$(RM) -f *.o *.a testit verify key_test core

install:

testit: testit.o 
	${CC} ${CFLAGS} testit.o ${LIBS} ${LDFLAGS} -o testit
verify: verify.o ../libdes.a
	${CC} ${CFLAGS} verify.o ${LIBS} ${LDFLAGS} -o verify
key_test: key_test.o ../libdes.a
	${CC} ${CFLAGS} key_test.o ${LIBS} ${LDFLAGS} -o key_test

