[OpenAFS-win32-devel] [PATCH] makefile fix, change installer compression

Jeffrey Altman jaltman@columbia.edu
Wed, 05 May 2004 14:47:10 -0400


This is a cryptographically signed message in MIME format.

--------------ms050800090604090309010308
Content-Type: multipart/alternative;
 boundary="------------040900050107080004070908"

This is a multi-part message in MIME format.
--------------040900050107080004070908
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Joe:

Which version of nmake are you using?
The 1.3.63 release of openAFS was built using MSVC 6.0

    [C:\4\4NT]nmake -version   
    Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0

and it had no problems.  What errors have you seen?

---

I will commit the installer change.

Jeffrey Altman


Joe Buehler wrote:

> The nmake I have (MSVC 6) does not like client_creds/NTMakefile as is,
> I suspect there are some typos.
>
> Using lzma compression in the installer reduces the installer size by
> a couple megabytes.
>
> Index: src/WINNT/client_creds/NTMakefile
> ===================================================================
> RCS file: /cvs/openafs/src/WINNT/client_creds/NTMakefile,v
> retrieving revision 1.9
> diff -u -r1.9 NTMakefile
> --- src/WINNT/client_creds/NTMakefile    1 Apr 2004 19:29:47 -0000    1.9
> +++ src/WINNT/client_creds/NTMakefile    5 May 2004 12:28:01 -0000
> @@ -42,7 +42,7 @@
>
>  AFSDOBJS = \
>      $(OUT)\fs_utils.obj
> -   
> +
>  AFSAPPLIBOBJS= \
>      $(OUT)\checklist.obj \
>      $(OUT)\al_wizard.obj \
> @@ -90,19 +90,19 @@
>  CLIENT= ..\client_config
>
>  $(CLIENTOBJS): $(CLIENT)\$$(@B).cpp
> -    $(C2OBJ) -I$*(*D) $**
> +    $(C2OBJ) -I$(*D) $**
>
>  $(AFSAPPLIBOBJS): $(AFSAPPLIB)\$$(@B).cpp
> -    $(C2OBJ) -I$*(*D) $**
> +    $(C2OBJ) -I$(*D) $**
>
>  $(AFSDOBJS): $(AFSD)\$$(@B).c
> -    $(C2OBJ) -I$*(*D) $**
> +    $(C2OBJ) -I$(*D) $**
>
>  $(EXEOBJS): $$(@B).cpp
> -    $(C2OBJ) -I$*(*D) -I$(AFSAPPLIB) $**
> +    $(C2OBJ) -I$(*D) -I$(AFSAPPLIB) $**
>
>  $(EXECOBJS): $$(@B).c
> -    $(C2OBJ) -I$*(*D) -I$(AFSAPPLIB) $**
> +    $(C2OBJ) -I$(*D) -I$(AFSAPPLIB) $**
>
>  ############################################################################ 
>
>
> Index: src/WINNT/install/NSIS/OpenAFS.nsi
> ===================================================================
> RCS file: /cvs/openafs/src/WINNT/install/NSIS/OpenAFS.nsi,v
> retrieving revision 1.50
> diff -u -r1.50 OpenAFS.nsi
> --- src/WINNT/install/NSIS/OpenAFS.nsi    2 May 2004 22:09:22 -0000    
> 1.50
> +++ src/WINNT/install/NSIS/OpenAFS.nsi    5 May 2004 12:28:13 -0000
> @@ -53,7 +53,7 @@
>    OutFile "${AFS_DESTDIR}\WinInstall\OpenAFSforWindows-DEBUG.exe"
>  !endif
>    SilentInstall normal
> -  SetCompressor bzip2
> +  SetCompressor lzma
>    !define MUI_ICON "..\..\client_config\afs_config.ico"
>    !define MUI_UNICON "..\..\client_config\afs_config.ico"
>    !define AFS_COMPANY_NAME "OpenAFS"
>

--------------040900050107080004070908
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Bitstream Cyberbit">Joe:<br>
<br>
Which version of nmake are you using?<br>
The 1.3.63 release of openAFS was built using MSVC 6.0 <br>
<br>
&nbsp;&nbsp;&nbsp; [C:\4\4NT]nmake -version&nbsp;&nbsp;&nbsp; <br>
&nbsp;&nbsp;&nbsp; Microsoft (R) Program Maintenance Utility&nbsp;&nbsp; Version 6.00.8168.0<br>
<br>
and it had no problems.&nbsp; What errors have you seen?<br>
<br>
---<br>
<br>
I will commit the installer change.<br>
<br>
Jeffrey Altman<br>
<br>
<br>
Joe Buehler wrote:<br>
</font>
<blockquote cite="midc7an58$jhl$1@sea.gmane.org" type="cite"><font
 face="Bitstream Cyberbit">The nmake I have (MSVC 6) does not like
client_creds/NTMakefile as is,
  <br>
I suspect there are some typos.
  <br>
  <br>
Using lzma compression in the installer reduces the installer size by
  <br>
a couple megabytes.
  <br>
  <br>
Index: src/WINNT/client_creds/NTMakefile
  <br>
===================================================================
  <br>
RCS file: /cvs/openafs/src/WINNT/client_creds/NTMakefile,v
  <br>
retrieving revision 1.9
  <br>
diff -u -r1.9 NTMakefile
  <br>
--- src/WINNT/client_creds/NTMakefile&nbsp;&nbsp;&nbsp; 1 Apr 2004 19:29:47 -0000&nbsp;&nbsp;&nbsp;
1.9
  <br>
+++ src/WINNT/client_creds/NTMakefile&nbsp;&nbsp;&nbsp; 5 May 2004 12:28:01 -0000
  <br>
@@ -42,7 +42,7 @@
  <br>
  <br>
&nbsp;AFSDOBJS = \
  <br>
&nbsp;&nbsp;&nbsp;&nbsp; $(OUT)\fs_utils.obj
  <br>
-&nbsp;&nbsp;&nbsp; <br>
+
  <br>
&nbsp;AFSAPPLIBOBJS= \
  <br>
&nbsp;&nbsp;&nbsp;&nbsp; $(OUT)\checklist.obj \
  <br>
&nbsp;&nbsp;&nbsp;&nbsp; $(OUT)\al_wizard.obj \
  <br>
@@ -90,19 +90,19 @@
  <br>
&nbsp;CLIENT= ..\client_config
  <br>
  <br>
&nbsp;$(CLIENTOBJS): $(CLIENT)\$$(@B).cpp
  <br>
-&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$*(*D) $**
  <br>
+&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$(*D) $**
  <br>
  <br>
&nbsp;$(AFSAPPLIBOBJS): $(AFSAPPLIB)\$$(@B).cpp
  <br>
-&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$*(*D) $**
  <br>
+&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$(*D) $**
  <br>
  <br>
&nbsp;$(AFSDOBJS): $(AFSD)\$$(@B).c
  <br>
-&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$*(*D) $**
  <br>
+&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$(*D) $**
  <br>
  <br>
&nbsp;$(EXEOBJS): $$(@B).cpp
  <br>
-&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$*(*D) -I$(AFSAPPLIB) $**
  <br>
+&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$(*D) -I$(AFSAPPLIB) $**
  <br>
  <br>
&nbsp;$(EXECOBJS): $$(@B).c
  <br>
-&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$*(*D) -I$(AFSAPPLIB) $**
  <br>
+&nbsp;&nbsp;&nbsp; $(C2OBJ) -I$(*D) -I$(AFSAPPLIB) $**
  <br>
  <br>
&nbsp;############################################################################
  <br>
  <br>
Index: src/WINNT/install/NSIS/OpenAFS.nsi
  <br>
===================================================================
  <br>
RCS file: /cvs/openafs/src/WINNT/install/NSIS/OpenAFS.nsi,v
  <br>
retrieving revision 1.50
  <br>
diff -u -r1.50 OpenAFS.nsi
  <br>
--- src/WINNT/install/NSIS/OpenAFS.nsi&nbsp;&nbsp;&nbsp; 2 May 2004 22:09:22 -0000&nbsp;&nbsp;&nbsp;
1.50
  <br>
+++ src/WINNT/install/NSIS/OpenAFS.nsi&nbsp;&nbsp;&nbsp; 5 May 2004 12:28:13 -0000
  <br>
@@ -53,7 +53,7 @@
  <br>
&nbsp;&nbsp; OutFile "${AFS_DESTDIR}\WinInstall\OpenAFSforWindows-DEBUG.exe"
  <br>
&nbsp;!endif
  <br>
&nbsp;&nbsp; SilentInstall normal
  <br>
-&nbsp; SetCompressor bzip2
  <br>
+&nbsp; SetCompressor lzma
  <br>
&nbsp;&nbsp; !define MUI_ICON "..\..\client_config\afs_config.ico"
  <br>
&nbsp;&nbsp; !define MUI_UNICON "..\..\client_config\afs_config.ico"
  <br>
&nbsp;&nbsp; !define AFS_COMPANY_NAME "OpenAFS"
  <br>
  <br>
  </font>
</blockquote>
</body>
</html>

--------------040900050107080004070908--

--------------ms050800090604090309010308
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJOzCC
AvgwggJhoAMCAQICAwwjmjANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE
ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv
bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwNDE2MDIxODM0WhcNMDUwNDE2MDIxODM0
WjBGMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSMwIQYJKoZIhvcNAQkBFhRq
YWx0bWFuQGNvbHVtYmlhLmVkdTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKyS
7eWrak81hbARkTT+lqX+uujXLK3tDmCn/6IQH9tDKYtf5A8/llZJdPYHUA9p1FH9hwk23iGY
scSkJq84FJenlWKOOqOsT6BlueWsrlKuseJCdMf9uhN28p+UnZvrcVhcLLTYfRvQT9OUw/k3
h4TzNdyAXbBJ3LnL1ySbFRaNVkq7cW/2ircAWpcyqHH4ZKstdSLbo6axsDHWRZL8yHUsI1Gz
esRSYQf2aUeUqvmGbEKEKFwbfqgfLwlBLiv1Lqib/++J3s5g3syhqWe3T8tUffmhdibUdX2W
umT2uiWl/WGEBvc1+o5k0T2JqWMNR9VgzPyk8P+iZRHl76Yb49ECAwEAAaNUMFIwDgYDVR0P
AQH/BAQDAgP4MBEGCWCGSAGG+EIBAQQEAwIFoDAfBgNVHREEGDAWgRRqYWx0bWFuQGNvbHVt
YmlhLmVkdTAMBgNVHRMBAf8EAjAAMA0GCSqGSI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