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