windows-build-clean-20061010
[openafs.git] / src / WINNT / client_exp / NTMakefile
index e142fc8..55c7911 100644 (file)
@@ -7,63 +7,70 @@
 
 AFSDEV_AUXCDEFINES = $(AFSDEV_AUXCDEFINES) -I..\afsd  /D"_WINDOWS" /D"_WINDLL" /D"_AFXDLL" /D"_USRDLL"
 
+NO_CRTDBG=1                    #define this to disable any CRT_DBG flag
+RELDIR=WINNT\client_exp
 !INCLUDE ..\..\config\NTMakefile.$(SYS_NAME)
 !include ..\..\config\NTMakefile.version
 
-
 ############################################################################
 # afs_shl_ext.dll
 
 DLLFILE = $(DESTDIR)\root.client\usr\vice\etc\afs_shl_ext.dll
 
 DLLOBJS =\
-       add_acl_entry_dlg.obj \
-       add_submount_dlg.obj \
-       afs_shl_ext.obj \
-       afs_shl_ext_stub.res \
-       auth_dlg.obj \
-       clear_acl_dlg.obj \
-       copy_acl_dlg.obj \
-       down_servers_dlg.obj \
-       fs_utils.obj \
-       gui2fs.obj \
-       help.obj \
-       klog_dlg.obj \
-       make_mount_point_dlg.obj \
-       mount_points_dlg.obj \
-       msgs.obj \
-       partition_info_dlg.obj \
-       results_dlg.obj \
-       server_status_dlg.obj \
-       set_afs_acl.obj \
-       shell_ext.obj \
-       stdafx.obj \
-       submount_info.obj \
-       submounts_dlg.obj \
-       unlog_dlg.obj \
-       volumeinfo.obj \
-       AFS_component_version_number.obj
+       $(OUT)\add_acl_entry_dlg.obj \
+       $(OUT)\add_submount_dlg.obj \
+       $(OUT)\afs_shl_ext.obj \
+       $(OUT)\afs_shl_ext_stub.res \
+       $(OUT)\auth_dlg.obj \
+       $(OUT)\clear_acl_dlg.obj \
+       $(OUT)\copy_acl_dlg.obj \
+       $(OUT)\down_servers_dlg.obj \
+       $(OUT)\fs_utils.obj \
+       $(OUT)\gui2fs.obj \
+       $(OUT)\help.obj \
+       $(OUT)\klog_dlg.obj \
+       $(OUT)\make_mount_point_dlg.obj \
+       $(OUT)\mount_points_dlg.obj \
+       $(OUT)\msgs.obj \
+       $(OUT)\partition_info_dlg.obj \
+       $(OUT)\results_dlg.obj \
+       $(OUT)\server_status_dlg.obj \
+       $(OUT)\set_afs_acl.obj \
+       $(OUT)\shell_ext.obj \
+       $(OUT)\stdafx.obj \
+       $(OUT)\submount_info.obj \
+       $(OUT)\submounts_dlg.obj \
+       $(OUT)\unlog_dlg.obj \
+       $(OUT)\volumeinfo.obj \
+       $(OUT)\make_symbolic_link_dlg.obj \
+       $(OUT)\AFS_component_version_number.obj
 
 AFSD = ..\afsd
 
-fs_utils.obj: $(AFSD)\fs_utils.c
+$(OUT)\fs_utils.obj: $(AFSD)\fs_utils.c
        $(C2OBJ) $**
 
+DLLSDKLIBS =\
+    mpr.lib
+
 DLLLIBS =\
-       mpr.lib \
        $(DESTDIR)\lib\afsrpc.lib \
        $(DESTDIR)\lib\afsauthent.lib \
        $(DESTDIR)\lib\libafsconf.lib \
-       $(DESTDIR)\lib\afs\TaLocale.lib
+       $(DESTDIR)\lib\libosi.lib \
+       $(DESTDIR)\lib\afs\TaLocale.lib \
+       $(DESTDIR)\lib\afs\afsutil.lib
 
-$(DLLFILE): $(DLLOBJS)
-       $(DLLCONLINK) /def:afs_shl_ext.def $(DLLLIBS)
+$(DLLFILE): $(DLLOBJS) $(DLLLIBS)
+       $(DLLCONLINK) /DEF:afs_shl_ext.def $(DLLSDKLIBS)
+        $(_VC_MANIFEST_EMBED_DLL)
        $(DLLPREP)
 
 ############################################################################
 # Definitions for generating versioninfo resources
 
-afs_shl_ext_stub.res: afs_shl_ext_stub.rc AFS_component_version_number.h
+$(OUT)\afs_shl_ext_stub.res: AFS_component_version_number.h
 
 ############################################################################
 # Install target; primary makefile target
@@ -122,7 +129,9 @@ de_DE:
 # Local clean target; augments predefined clean target
 
 clean::
+       $(DEL) *.pdb
        $(CD) lang
+       $(DEL) AFS_component_version_number.h
        if exist $(NTLANG) $(NTLANG) en_US $(MAKECMD) /nologo /f NTMakefile clean
        if exist $(NTLANG) $(NTLANG) ja_JP $(MAKECMD) /nologo /f NTMakefile clean
        if exist $(NTLANG) $(NTLANG) ko_KR $(MAKECMD) /nologo /f NTMakefile clean
@@ -132,3 +141,9 @@ clean::
        if exist $(NTLANG) $(NTLANG) es_ES $(MAKECMD) /nologo /f NTMakefile clean
        if exist $(NTLANG) $(NTLANG) de_DE $(MAKECMD) /nologo /f NTMakefile clean
     $(CD) ..
+
+mkdir:
+       -mkdir $(OUT)\lang
+       cd lang
+       nmake /nologo /f ntmakefile SRC=$(SRC) OBJ=$(OBJ) mkdir
+       cd ..