#
# CDDL HEADER START
#
# The contents of this file are subject to the terms of the
# Common Development and Distribution License (the "License").
# You may not use this file except in compliance with the License.
#
# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
# See the License for the specific language governing permissions
# and limitations under the License.
#
# When distributing Covered Code, include this CDDL HEADER in each
# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
# If applicable, add the following below this CDDL HEADER, with the
# fields enclosed by brackets "[]" replaced with your own identifying
# information: Portions Copyright [yyyy] [name of copyright owner]
#
# CDDL HEADER END
#
#
# Copyright 2016 RackTop Systems.
#
SRCBASE = ../../../..
# Establish any global flags.
# Setting DEBUG = -DDEBUG (or "make DEBUG=-DDEBUG ...") enables ASSERT()
# checking. This is automatically enabled for DEBUG builds, not for non-debug
# builds. Unset the global C99_DISABLE flag to insure we uncover all compiler
DEBUG =
C99_DISABLE = $(C99_ENABLE)
#
# Location of the shared elfcap code
#
# Reassign CPPFLAGS so that local search paths are used before any parent
# $ROOT paths.
$(CPPFLAGS.master) -I$(ELFCAP)
# PICS64 is unique to our environment
# Establish the local tools, proto and package area.
# Mimic the structure of an installed system.
#
# Macros to be used to include link against libconv and include vernote.o
#
# The cmd/Makefile.com and lib/Makefile.com define TEXT_DOMAIN. We don't need
# this definition as the sgs utilities obtain their domain via sgsmsg(1l).
DTEXTDOM =
# Define any generic sgsmsg(1l) flags. The default message generation system
# is to use gettext(3i), add the -C flag to switch to catgets(3c).
# Native targets should use the minimum of ld(1) flags to allow building on
# previous releases. We use mapfiles to scope, but don't bother versioning.
$(HSONAME)
# Comment out the following two lines to have the sgs built from the system
# link-editor, rather than the local proto link-editor.
LD_USE_PROTO = $(SGSBINDIR)/
#
# lint-related stuff
#
LINTLIBSRC = $(LINTLIB:%.ln=%)
#
# When building a lint library, no other lint libraries are verified as
# dependencies, nor is the stardard C lint library processed. All dependency
# verification is carried out through linting the sources themselves.
#
$(LINTLIB) := LINTFLAGS64 += -n
$(LINTLIB32) := LINTFLAGS64 += -n
$(LINTLIB64) := LINTFLAGS64 += -n
#
# These libraries have two resulting lint libraries. If a dependency is
# declared using these variables, the substitution for the 32/64 versions at
# lint time happens automatically (see Makefile.targ).
#