thisconfigdir=.
myfulldir=lib/gssapi
mydir=.
BUILDTOP=$(REL)$(U)$(S)$(U)
LOCAL_SUBDIRS= generic krb5

##DOSLIBNAME=$(OUTPRE)gssapi.lib
##DOSOBJFILELIST=@$(OUTPRE)generic.lst @$(OUTPRE)krb5.lst
##DOSOBJFILEDEP=$(OUTPRE)generic.lst $(OUTPRE)krb5.lst

##DOS##DLL_EXP_TYPE=GSS

MAC_SUBDIRS = generic krb5

LOCALINCLUDES = -Igeneric -I$(srcdir)/generic -Ikrb5 -I$(srcdir)/krb5
STLIBOBJS=\
	gss_libinit.o

OBJS=\
	$(OUTPRE)gss_libinit.$(OBJEXT)

SRCS=\
	$(subdir)/gss_libinit.c

LIB=gssapi_krb5
LIBMAJOR=2
LIBMINOR=2
STOBJLISTS=OBJS.ST generic/OBJS.ST krb5/OBJS.ST
SHLIB_EXPDEPS=\
	$(TOPLIBD)/libkrb5$(SHLIBEXT) \
	$(TOPLIBD)/libk5crypto$(SHLIBEXT) \
	$(TOPLIBD)/libcom_err$(SHLIBEXT)
SHLIB_EXPLIBS=-lkrb5 -lk5crypto -lcom_err
SHLIB_DIRS=-L$(TOPLIBD)
SHLIB_RDIRS=$(KRB5_LIBDIR)
RELDIR=gssapi

all-unix:: all-liblinks

install-unix:: install-libs

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

clean-windows::
	$(RM) gssapi.lib gssapi.bak

all-windows::
	cd generic
	@echo Making in gssapi\generic
	$(MAKE) -$(MFLAGS)
	cd ..\krb5
	@echo Making in gssapi\krb5
	$(MAKE) -$(MFLAGS)
#	cd ..\mechglue
#	@echo Making in gssapi\mechglue
#	$(MAKE) -$(MFLAGS)
	cd ..

clean-windows::
	cd generic
	@echo Making clean in gssapi\generic
	$(MAKE) -$(MFLAGS) clean
	cd ..\krb5
	@echo Making clean in gssapi\krb5
	$(MAKE) -$(MFLAGS) clean
#	cd ..\mechglue
#	@echo Making clean in gssapi\mechglue
#	$(MAKE) -$(MFLAGS) clean
	cd ..
	@echo Making clean in gssapi

