2
# The contents of this file are subject to the Netscape Public
3
# License Version 1.1 (the "License"); you may not use this file
4
# except in compliance with the License. You may obtain a copy of
5
# the License at http://www.mozilla.org/NPL/
7
# Software distributed under the License is distributed on an "AS
8
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
9
# implied. See the License for the specific language governing
10
# rights and limitations under the License.
12
# The Original Code is mozilla.org code.
14
# The Initial Developer of the Original Code is Netscape
15
# Communications Corporation. Portions created by Netscape are
16
# Copyright (C) 1998 Netscape Communications Corporation. All
23
topsrcdir = @top_srcdir@
27
include $(DEPTH)/config/autoconf.mk
28
include $(srcdir)/objs.mk
34
PACKAGE_FILE = zlib.pkg
36
ifeq ($(OS_ARCH),WINNT)
38
MAPFILE = $(LIBRARY_NAME).map
39
DEFFILE = $(srcdir)/zlib.def
41
DEFINES += -DZLIB_DLL=1
44
CSRCS = $(MODULES_ZLIB_SRC_LCSRCS)
46
EXPORTS = $(MODULES_ZLIB_SRC_LEXPORTS)
48
# This library is used by other shared libs in a static build
51
include $(topsrcdir)/config/rules.mk