# 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

# allow the resource compiler to search the dest\include tree

AFSDEV_AUXRCFLAGS = $(AFSDEV_AUXRCFLAGS) -I$(DESTDIR)\include -I..

# include the primary makefile
RELDIR=WINNT\client_exp\lang
!INCLUDE ..\..\..\config\NTMakefile.$(SYS_NAME)
!INCLUDE ..\..\..\config\NTMakefile.version

############################################################################
#
# LANGUAGE
#
# To select which language to build, run the ntlang.bat batch file
# before performing a build.
#

!IF ("$(LANGID)" == "") || ("$(LANGNAME)" == "") || ("$(LANGCP)" == "")
!ERROR Must select language before building (run NTLANG.BAT)
!ENDIF

############################################################################
#
# BUILD TARGETS
#

DLLFILE = $(DESTDIR)\root.client\usr\vice\etc\afs_shl_ext_$(LANGID).dll

RCFILE = $(LANGNAME)\afs_shl_ext.rc

RESFILE = $(OUT)\afs_shl_ext_$(LANGID).res

DLLOBJS = $(RESFILE)

############################################################################

$(DLLFILE) : $(DLLOBJS)
	$(DLLRESLINK)
	$(DLLPREP)
        $(CODESIGN_USERLAND)

install : $(DLLFILE)

clean ::
	$(DEL) $(RESFILE)
        $(DEL) RC*
        $(DEL) RD*
        $(DEL) $(DLLFILE)
	$(DEL) AFS_component_version_number.h

############################################################################
#
# Dependencies
#

$(RESFILE) : $(RCFILE) AFS_component_version_number.h
	$(RC) /fo$(RESFILE) /c$(LANGCP) $(RCFILE)


mkdir:


