# SYSTYPE: System type declarations:
#
#   TURBO       Turbo C, Turbo C++, Borland C++ and compatible compilers
#   MICROSOFT   Microsoft C compilers
#   SYSV        System V Un*x AND OTHER non-BSD Un*xes
#   BSD         BSD Un*x v4.x, Ultrix, Apollo, Mach, and MOST BSD clones
#   STRIPPED    If no other system declaration works, try this
#
SYSTYPE   = BSD
# OSTYPE: Operating system type declarations:
#
#   MSDOS       MS/PC-DOS implementation
#   UNIX        Any Un*x implementation
#
OSTYPE    = UNIX
#
# CRYPTYPE: Encryption routine type declarations:
#
#   BCRYPT      Bcrypt high-speed DES routines (50% faster than XFDES)
#   XFDES       XFDES high-speed DES routines
#
CRYPTYPE  = BCRYPT
#
# Compiler options:
#
#   CC          C compiler name
#   UFLAGS      Unix compiler flags
#   TCFLAGS     Turbo/Borland C/C++ compiler flags
#   CFLAGS      C compiler flags (either $(UFLAGS) or $(TCFLAGS))
#
CC        = cc
UCFLAGS   = -O -c
TCFLAGS   = -O -Z -G -N -mc -d
CFLAGS    = $(UCFLAGS)
#CFLAGS   = $(UCFLAGS) -DNON_NETORDER=1

SRCS 	= kc.h kc.c bcrypt.h bcrypt.c xfdes.h xfdes.c
OBJS	= kc.o bcrypt.o

PROGRAM	= kc.c

kc.o: kc.c kc.h
bcrypt.o: bcrypt.c bcrypt.h
xfdes.o: xfdes.c xfdes.h

#
# Actually compile the program
#

kc:	${OBJS}
	${CC} -D_BSD -D_UNIX -DKC_BCRYPT ${CFLAGS} ${PROGRAM} ${OBJS}



