Makefile revision 789d94c2889bedf502063bc22addcabfa798a438
201N/A#
201N/A# CDDL HEADER START
201N/A#
201N/A# The contents of this file are subject to the terms of the
201N/A# Common Development and Distribution License (the "License").
201N/A# You may not use this file except in compliance with the License.
201N/A#
201N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
201N/A# or http://www.opensolaris.org/os/licensing.
201N/A# See the License for the specific language governing permissions
201N/A# and limitations under the License.
201N/A#
201N/A# When distributing Covered Code, include this CDDL HEADER in each
201N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
201N/A# If applicable, add the following below this CDDL HEADER, with the
201N/A# fields enclosed by brackets "[]" replaced with your own identifying
201N/A# information: Portions Copyright [yyyy] [name of copyright owner]
201N/A#
201N/A# CDDL HEADER END
201N/A#
201N/A#
201N/A# Copyright 2006 Sun Microsystems, Inc. All rights reserved.
201N/A# Use is subject to license terms.
201N/A#
201N/A#ident "%Z%%M% %I% %E% SMI"
201N/A
201N/AMODULE = libumem.so
201N/AMDBTGT = proc
201N/A
201N/AMODSRCS_DIR = ../../../common/modules/genunix
201N/A
201N/AMODSRCS = \
201N/A kgrep.c \
201N/A leaky.c \
201N/A leaky_subr.c \
201N/A libumem.c \
201N/A misc.c \
201N/A proc_kludges.c \
201N/A umem.c
201N/A
201N/Ainclude ../../../../Makefile.cmd
201N/A
201N/ACPPFLAGS += -I$(SRC)/lib/libumem/common
201N/ACPPFLAGS += -I$(MODSRCS_DIR)
201N/A
201N/Ainclude ../../Makefile.sparcv7
201N/Ainclude ../../../Makefile.module
201N/A
201N/Admod/$(MODULE) := LDLIBS += -lm
201N/A
201N/A%.o: $(MODSRCS_DIR)/%.c
201N/A $(COMPILE.c) $<
201N/A $(CTFCONVERT_O)
201N/A
201N/A%.ln: $(MODSRCS_DIR)/%.c
201N/A $(LINT.c) -c $<