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

SRCS = \
	getkdata.c \
	phost.c \
	sendkdata.c 

OBJS	= \
	getkdata.o \
	phost.o \
	sendkdata.o

CODE=$(SRCS)

# install_library_target(knet,$(OBJECTS),$(SRCS),${DES_LINTLIB} ${KRB_LINTLIB})
# install_library_target(ss,$(OBJS),$(SRCS),)
all:: libknet.a

libknet.a: $(OBJS)
	$(RM) $@.bak
	-$(MV) $@ $@.bak
	$(ARCHIVE) $@ $(OBJS)
	$(RANLIB) $@

clean::
	$(RM) libknet.a
	$(RM) $(OBJS)

install::
	$(INSTALLLIB) libknet.a $(DESTDIR)$(LIBDIR)/libknet.a
	$(CHMOD) 644 $(DESTDIR)$(LIBDIR)/libknet.a
	$(RANLIB)    $(DESTDIR)$(LIBDIR)/libknet.a
	$(CHMOD) 444 $(DESTDIR)$(LIBDIR)/libknet.a
## 
