From 0fd741fd1809dfc82f160a44c41f881a64daf430 Mon Sep 17 00:00:00 2001 From: "ssu%netscape.com" Date: Wed, 8 Sep 1999 18:02:02 +0000 Subject: [PATCH] initial checkin. Not part of Seamonkey build yet --- modules/zlib/standalone/makefile.win | 73 +++++++++++++++++++++ xpinstall/wizard/windows/nszip/makefile.win | 50 ++++++++++++++ 2 files changed, 123 insertions(+) create mode 100644 modules/zlib/standalone/makefile.win create mode 100644 xpinstall/wizard/windows/nszip/makefile.win diff --git a/modules/zlib/standalone/makefile.win b/modules/zlib/standalone/makefile.win new file mode 100644 index 00000000000..7161d05addb --- /dev/null +++ b/modules/zlib/standalone/makefile.win @@ -0,0 +1,73 @@ +#!gmake +# +# The contents of this file are subject to the Netscape Public License +# Version 1.0 (the "License"); you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, +# released March 31, 1998. +# +# The Initial Developer of the Original Code is Netscape Communications +# Corporation. Portions created by Netscape are +# Copyright (C) 1998 Netscape Communications Corporation. All Rights +# Reserved. +# +# Contributors: +# Daniel Veditz + + +MODULE=zlib +DEPTH=..\..\.. + +MAKE_OBJ_TYPE=DLL + +#USE_NON_MT_LIBS=1 +USE_STATIC_LIBS=1 + +LIBRARY=$(OBJDIR)\$(MODULE)_s.lib + +OBJS= \ + .\$(OBJDIR)\adler32.obj \ + .\$(OBJDIR)\compress.obj \ + .\$(OBJDIR)\crc32.obj \ + .\$(OBJDIR)\deflate.obj \ + .\$(OBJDIR)\gzio.obj \ + .\$(OBJDIR)\infblock.obj \ + .\$(OBJDIR)\infcodes.obj \ + .\$(OBJDIR)\inffast.obj \ + .\$(OBJDIR)\inflate.obj \ + .\$(OBJDIR)\inftrees.obj \ + .\$(OBJDIR)\infutil.obj \ + .\$(OBJDIR)\trees.obj \ + .\$(OBJDIR)\uncompr.obj \ + .\$(OBJDIR)\zutil.obj \ + $(NULL) + +LCFLAGS=-DSTANDALONE -UMOZILLA_CLIENT +#LLFLAGS= /NODEFAULTLIB libcmt libcmtd + +include <$(DEPTH)/config/rules.mak> + +docopy: + $(MAKE_INSTALL) ..\src\*.c . + $(MAKE_INSTALL) ..\src\*.h . + $(MAKE_INSTALL) ..\src\zlib.h $(DIST)\include + +export:: docopy + +libs:: $(LIBRARY) + $(MAKE_INSTALL) .\$(OBJDIR)\$(MODULE)_s.lib $(DIST)\lib + +clobber:: + $(RM) *.h *.c + +clobber_all:: + $(RM) *.h *.c + $(RM) $(DIST)\lib\$(MODULE)_s.lib + diff --git a/xpinstall/wizard/windows/nszip/makefile.win b/xpinstall/wizard/windows/nszip/makefile.win new file mode 100644 index 00000000000..811699c76c7 --- /dev/null +++ b/xpinstall/wizard/windows/nszip/makefile.win @@ -0,0 +1,50 @@ +# +# The contents of this file are subject to the Netscape Public License +# Version 1.0 (the "License"); you may not use this file except in +# compliance with the License. You may obtain a copy of the License at +# http://www.mozilla.org/NPL/ +# +# Software distributed under the License is distributed on an "AS IS" basis, +# WITHOUT WARRANTY OF ANY KIND, either express or implied. See the License +# for the specific language governing rights and limitations under the +# License. +# +# The Original Code is Mozilla Communicator client code, +# released March 31, 1998. +# +# The Initial Developer of the Original Code is Netscape Communications +# Corporation. Portions created by Netscape are +# Copyright (C) 1999 Netscape Communications Corporation. All Rights +# Reserved. + +DEPTH=..\..\..\.. + +MAKE_OBJ_TYPE = EXE +USE_STATIC_LIBS = 1 + +MODULE = nszip +PROGRAM = .\$(OBJDIR)\$(MODULE).exe +RESFILE = $(MODULE).res + +OBJS = \ + .\$(OBJDIR)\nszip.obj \ + .\$(OBJDIR)\mainfrm.obj \ + .\$(OBJDIR)\nszipdoc.obj \ + .\$(OBJDIR)\nszipvw.obj \ + .\$(OBJDIR)\stdafx.obj \ + $(NULL) + +LCFLAGS= -UMOZILLA_CLIENT + +LLIBS= \ + $(DIST)\lib\zlib_s.lib \ + $(NULL) + +include <$(DEPTH)\config\rules.mak> + +libs:: $(PROGRAM) + $(MAKE_INSTALL) $(PROGRAM) $(DIST)\install + +clobber_all:: + $(RM) $(DIST)\install\$(MODULE).exe +