2000-08-19 02:08:22 +04:00
|
|
|
#
|
|
|
|
# The contents of this file are subject to the Netscape Public
|
|
|
|
# License Version 1.1 (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.org code.
|
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
# Contributor(s):
|
|
|
|
# Samir Gehani <sgehani@netscape.com>
|
|
|
|
#
|
|
|
|
|
|
|
|
DEPTH = ../../..
|
|
|
|
topsrcdir = @top_srcdir@
|
|
|
|
srcdir = @srcdir@
|
2001-10-17 10:00:18 +04:00
|
|
|
VPATH = @srcdir@
|
2000-08-19 02:08:22 +04:00
|
|
|
|
|
|
|
include $(DEPTH)/config/autoconf.mk
|
2000-09-11 08:13:16 +04:00
|
|
|
include $(srcdir)/../src/objs.mk
|
2000-08-19 02:08:22 +04:00
|
|
|
|
|
|
|
MODULE = zlib
|
2001-03-10 02:53:17 +03:00
|
|
|
LIBRARY_NAME = mozz_s
|
2000-08-19 02:08:22 +04:00
|
|
|
|
2000-09-11 08:13:16 +04:00
|
|
|
CSRCS = $(MODULES_ZLIB_SRC_LCSRCS)
|
2001-10-17 10:00:18 +04:00
|
|
|
EXPORTS = $(MODULES_ZLIB_SRC_EXPORTS)
|
2000-08-19 02:08:22 +04:00
|
|
|
|
2001-06-19 02:10:38 +04:00
|
|
|
FORCE_STATIC_LIB = 1
|
2002-12-13 05:36:06 +03:00
|
|
|
SRCS_IN_OBJDIR = 1
|
2000-08-19 02:08:22 +04:00
|
|
|
|
2001-12-18 12:14:29 +03:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
USE_NON_MT_LIBS=1
|
|
|
|
endif
|
|
|
|
|
2002-08-21 02:21:21 +04:00
|
|
|
ifeq ($(OS_ARCH),OS2)
|
|
|
|
USE_STATIC_LIBS=1
|
|
|
|
endif
|
|
|
|
|
2000-08-19 02:08:22 +04:00
|
|
|
EXTRA_DSO_LDOPTS += $(MOZ_COMPONENT_NSPR_LIBS)
|
|
|
|
|
2001-10-17 10:00:18 +04:00
|
|
|
GARBAGE += $(MODULES_ZLIB_SRC_LCSRCS) $(wildcard *.$(OBJ_SUFFIX))
|
2000-09-13 03:37:16 +04:00
|
|
|
|
2002-06-17 21:09:57 +04:00
|
|
|
ifeq ($(OS_ARCH),WINNT)
|
|
|
|
GARBAGE += $(addprefix $(srcdir)/,$(MODULES_ZLIB_SRC_LCSRCS))
|
|
|
|
endif
|
|
|
|
|
2000-08-19 02:08:22 +04:00
|
|
|
include $(topsrcdir)/config/rules.mk
|
2000-08-20 05:14:26 +04:00
|
|
|
|
2001-10-17 10:00:18 +04:00
|
|
|
LOCAL_INCLUDES = -I$(srcdir)/../src
|
|
|
|
|
|
|
|
export:: $(MODULES_ZLIB_SRC_CSRCS)
|
|
|
|
$(INSTALL) $^ .
|
2002-06-17 21:09:57 +04:00
|
|
|
|