summaryrefslogtreecommitdiff
path: root/security/nss/cmd/zlib/makefile.win
diff options
context:
space:
mode:
Diffstat (limited to 'security/nss/cmd/zlib/makefile.win')
-rw-r--r--security/nss/cmd/zlib/makefile.win91
1 files changed, 91 insertions, 0 deletions
diff --git a/security/nss/cmd/zlib/makefile.win b/security/nss/cmd/zlib/makefile.win
new file mode 100644
index 000000000..0f87b40b8
--- /dev/null
+++ b/security/nss/cmd/zlib/makefile.win
@@ -0,0 +1,91 @@
+NODEPEND=1
+IGNORE_MANIFEST = 1
+
+#//------------------------------------------------------------------------
+#//
+# New build system where zip dll is build indepenant of java stubs.
+#//
+#//------------------------------------------------------------------------
+MODULE = zlib
+EXPORTS = \
+ zlib.h \
+ zconf.h \
+ $(NULL)
+
+
+#//------------------------------------------------------------------------
+#//
+#// Specify the depth of the current directory relative to the
+#// root of NS
+#//
+#//------------------------------------------------------------------------
+DEPTH= ..\..\..\
+
+MAKE_OBJ_TYPE=DLL
+#//------------------------------------------------------------------------
+#//
+#// Define any Public Make Variables here: (ie. PDFFILE, MAPFILE, ...)
+#//
+#//------------------------------------------------------------------------
+DLLNAME=$(ZIPDLL)
+PDBFILE=$(MOD_ZIP).pdb
+MAPFILE=$(MOD_ZIP).map
+!if "$(MOZ_BITS)" == "16"
+DEFFILE=zip16.def
+!endif
+#RESFILE=zip.res
+
+#//------------------------------------------------------------------------
+#//
+#// Define the files necessary to build the target (ie. OBJS)
+#//
+#//------------------------------------------------------------------------
+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)
+
+#//------------------------------------------------------------------------
+#//
+#// Define any Public Targets here (ie. PROGRAM, LIBRARY, DLL, ...)
+#// (these must be defined before the common makefiles are included)
+#//
+#//------------------------------------------------------------------------
+
+DLL=.\$(OBJDIR)\$(DLLNAME)
+MAPFILE= $(MOD_ZIP).map
+
+
+#//------------------------------------------------------------------------
+#//
+#// Define any local options for the make tools
+#// (ie. LCFLAGS, LLFLAGS, LLIBS, LINCS)
+#//
+#//------------------------------------------------------------------------
+LLIBS=$(LLIBS) $(LIBNSPR)
+LINCS=$(LINCS) -I. -I_gen
+# clobber and clobber_all will remove the following garbage:
+GARBAGE = $(GARBAGE) _gen
+
+#//------------------------------------------------------------------------
+#//
+#// Include the common makefile rules
+#//
+#//------------------------------------------------------------------------
+include <$(DEPTH)/sun-java/config/rules.mak>
+
+export:: $(DLL)
+ $(MAKE_INSTALL) .\$(OBJDIR)\$(DLLNAME) $(DIST)\bin
+ $(MAKE_INSTALL) .\$(OBJDIR)\$(MOD_ZIP).lib $(DIST)\lib