summaryrefslogtreecommitdiff
path: root/security/nss/cmd/zlib/makefile.win
blob: 0f87b40b8b492d81a67920f60fbe4096ef6f353e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
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