-# Copyright (C) 1998 Transarc Corporation. All rights reserved.
-#
-
+# 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\afssvrcpa
!INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
!INCLUDE ..\..\config\NTMakefile.version
-
############################################################################
# Definitions for building a DLL.
DLLFILE = $(DESTDIR)\root.server\usr\afs\bin\afsserver.cpl
DLLOBJS =\
- afssvrcpa_stub.res \
- cpl_interface.obj \
- AFS_component_version_number.obj
+ $(OUT)\cpl_interface.obj \
+ $(OUT)\AFS_component_version_number.obj \
+ $(OUT)\afssvrcpa_stub.res
DLLLIBS =\
$(DESTDIR)\lib\afs\afsreg.lib \
############################################################################
# Definitions for generating versioninfo resource via RC
-afssvrcpa_stub.res: afssvrcpa_stub.rc AFS_component_version_number.h
- $(RC) $*.rc
-
+$(OUT)\afssvrcpa_stub.res: afssvrcpa_stub.rc AFS_component_version_number.h
############################################################################
# Install target; primary makefile target
lang::
$(CD) lang
- for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /f NTMakefile install
+ for /f %l in ('dir /B ??_??') do @$(NTLANG) %l $(MAKECMD) /nologo /e /f NTMakefile install
$(CD) ..
clean::
+
+mkdir:
+ -mkdir $(OUT)\lang
+ cd lang
+ nmake /nologo /f ntmakefile SRC=$(SRC) OBJ=$(OBJ) mkdir
+ cd ..
+