# Copyright 2000, International Business Machines Corporation and others.
# All Rights Reserved.
# 
# This software has been released under the terms of the IBM Public
# License.  For details, see the LICENSE file in the top-level source
# directory or online at http://www.openafs.org/dl/license10.html

srcdir=@srcdir@
include @TOP_OBJDIR@/src/config/Makefile.config
include @TOP_OBJDIR@/src/config/Makefile.pthread
top_builddir=@top_builddir@

LT_deps = \
	$(TOP_OBJDIR)/src/sys/liboafs_sys.la \
	$(TOP_OBJDIR)/src/ubik/liboafs_ubik.la \
	$(TOP_OBJDIR)/src/vlserver/liboafs_vldb.la \
	$(TOP_OBJDIR)/src/auth/liboafs_auth.la \
	$(TOP_OBJDIR)/src/rxkad/liboafs_rxkad.la \
	$(TOP_OBJDIR)/src/comerr/liboafs_comerr.la \
	$(TOP_OBJDIR)/src/cmd/liboafs_cmd.la \
	$(TOP_OBJDIR)/src/rx/liboafs_rx.la \
	$(TOP_OBJDIR)/src/util/liboafs_util.la \
	$(TOP_OBJDIR)/src/opr/liboafs_opr.la
LT_libs = \
	$(LDFLAGS_roken) $(LIB_roken) $(LDFLAGS_hcrypto) $(LIB_hcrypto) $(XLIBS)

all test:  fulltest owntest idtest getinitparams

install:
dest:

fulltest: fulltest.o
	$(LT_LDRULE_static) $@.o $(LT_deps) $(LT_libs)
owntest: owntest.o
	$(LT_LDRULE_static) $@.o $(LT_deps) $(LT_libs)
idtest: idtest.o
	$(LT_LDRULE_static) $@.o $(LT_deps) $(LT_libs)
getinitparams: getinitparams.o
	$(LT_LDRULE_static) $@.o $(LT_deps) $(LT_libs)

clean:
	$(LT_CLEAN)
	$(RM) -f *.o fulltest owntest idtest getinitparams

