# Makefile - makefile for target/src/debug/coredump/zlib
#
# Copyright (c) 1996-2010 Wind River Systems, Inc.
#
# The right to copy, distribute, modify or otherwise make use
# of this software may be licensed only pursuant to the terms
# of an applicable Wind River license agreement.
#
# modification history
# --------------------
# 01d,30mar11,jmp  Updated to hide conversion warnings raised by zlib imported
#                  code.
# 01c,21nov06,jmp  no longer uses ADDED_CFLAGS, moved parameters to zconf.h.
#                  (CQ:WIND00082136).
# 01b,24nov05,jmp  upgrade to zlib version 1.2.3
# 01a,16jul05,jmp  created.
#
# DESCRIPTION
# This file contains the makefile rules for building the vx library
#
#*/

TGT_DIR=$(WIND_BASE)/target

DOC_FILES =

LIB_BASE_NAME =	debug

# Including defs.library to see if _WRS_CONFIG_LP64 is defined.
# It must be after LIB_BASE_NAME
include $(TGT_DIR)/h/make/defs.library

ifdef _WRS_CONFIG_LP64
ifeq ($(TOOL_FAMILY),gnu)
# For LP64, the gnu compiler warns about implicit type conversions. We
# disable this option for zlib build since this code is imported from the
# public domain, and we do not want to modify it to ease potential upgrade
# to newer zlib version.
ADDED_CFLAGS = -Wno-conversion
endif
endif

OBJS = coreDump_adler32.o coreDump_deflate.o coreDump_trees.o coreDump_zutil.o

include $(TGT_DIR)/h/make/rules.library
