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