thisconfigdir=../..
myfulldir=util/support
mydir=util/support
BUILDTOP=$(REL)..$(S)..
RELDIR=../util/support

##DOS##BUILDTOP = ..\..
##DOS##LIBNAME=$(OUTPRE)k5sprt32.lib
##DOS##XTRA=
##DOS##OBJFILE=$(OUTPRE)k5sprt32.lst

SED = sed

KRB5_RUN_ENV= @KRB5_RUN_ENV@
PROG_LIBPATH=-L$(TOPLIBD)
PROG_RPATH=$(KRB5_LIBDIR)

LIBBASE=krb5support
LIBMAJOR=0
LIBMINOR=0

LIBINITFUNC=krb5int_thread_support_init
LIBFINIFUNC=krb5int_thread_support_fini

STLIBOBJS= \
	threads.o \
	fake-addrinfo.o

LIBOBJS= \
	$(OUTPRE)threads.$(OBJEXT) \
	$(OUTPRE)fake-addrinfo.$(OBJEXT)

STOBJLISTS=OBJS.ST

INSTALLFILE = cp

LOCALINCLUDES=-I. -I$(srcdir)

SRCS=\
	$(srcdir)/threads.c \
	$(srcdir)/fake-addrinfo.c
SHLIB_EXPDEPS =
SHLIB_EXPLIBS= $(LIBS)
SHLIB_DIRS=
SHLIB_RDIRS=$(KRB5_LIBDIR)

DEPLIBS=

#
all-unix:: all-liblinks

install-unix:: install-libs

clean-unix:: clean-liblinks clean-libs clean-libobjs

##DOS##!if 0
$(BUILDTOP)/include/krb5/autoconf.h: $(SRCTOP)/include/krb5/autoconf.h.in
	(cd $(BUILDTOP)/include; $(MAKE) krb5/autoconf.h)
##DOS##!endif

# @lib_frag@
# @libobj_frag@

# +++ Dependency line eater +++
# 
# Makefile dependencies follow.  This must be the last section in
# the Makefile.in file
#
threads.so threads.po $(OUTPRE)threads.$(OBJEXT): threads.c $(SRCTOP)/include/k5-thread.h \
  $(BUILDTOP)/include/krb5/autoconf.h $(SRCTOP)/include/k5-platform.h
fake-addrinfo.so fake-addrinfo.po $(OUTPRE)fake-addrinfo.$(OBJEXT): fake-addrinfo.c $(SRCTOP)/include/fake-addrinfo.h \
  $(SRCTOP)/include/port-sockets.h $(BUILDTOP)/include/krb5/autoconf.h \
  $(SRCTOP)/include/socket-utils.h $(SRCTOP)/include/k5-platform.h \
  $(SRCTOP)/include/k5-thread.h

