# 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

RELDIR=WINNT\afsreg
!INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)

INCFILES = \
	$(DESTDIR)\include\WINNT\afsreg.h \
	$(DESTDIR)\include\WINNT\syscfg.h \
	$(DESTDIR)\include\WINNT\afssw.h \
	$(DESTDIR)\include\WINNT\vptab.h


LIBFILE = $(DESTDIR)\lib\afs\afsreg.lib

LIBOBJS = \
	$(OUT)\afsreg.obj \
	$(OUT)\syscfg.obj \
	$(OUT)\afssw.obj \
	$(OUT)\vptab.obj

$(LIBOBJS): $$(@B).c
    $(C2OBJ) $**

$(LIBFILE): $(LIBOBJS)
	$(LIBARCH) Iphlpapi.lib

install_headers: $(INCFILES)

install: install_headers $(LIBFILE)

install9x: install

clean::
	$(DEL) $(LIBFILE)