#### include configury here
BUILDTOP=../..

SRCS=sample_client.c sample_server.c simple_client.c simple_server.c \
	simple.h

CODE=$(SRCS) 

all:: sample_server sample_client simple_server simple_client
clean::
	$(RM) sample_server sample_client simple_server simple_client
	$(RM) *.o

# genutil(sample_client,sample_client.o,${KRB_LIBDEP} ${DES_LIBDEP},${KRB_LIB} ${DES_LIB})
sample_client: sample_client.o ${KRB_LIBDEP} ${DES_LIBDEP}
	$(CC) $(CFLAGS) -o $@ sample_client.o ${KRB_LIB} ${DES_LIB}

# genutil(sample_server,sample_server.o,${KRB_LIBDEP} ${DES_LIBDEP},${KRB_LIB} ${DES_LIB})
sample_server: sample_server.o ${KRB_LIBDEP} ${DES_LIBDEP}
	$(CC) $(CFLAGS) -o $@ sample_server.o ${KRB_LIB} ${DES_LIB}

# genutil(simple_client,simple_client.o,${KRB_LIBDEP} ${DES_LIBDEP},${KRB_LIB} ${DES_LIB})
simple_client: simple_client.o ${KRB_LIBDEP} ${DES_LIBDEP}
	$(CC) $(CFLAGS) -o $@ simple_client.o ${KRB_LIB} ${DES_LIB}

# genutil(simple_server,simple_server.o,${KRB_LIBDEP} ${DES_LIBDEP},${KRB_LIB} ${DES_LIB})
simple_server: simple_server.o ${KRB_LIBDEP} ${DES_LIBDEP}
	$(CC) $(CFLAGS) -o $@ simple_server.o ${KRB_LIB} ${DES_LIB}

# don't bother installing them.
install::
	@echo "sample clients and servers don't get installed."
