xref: /titanic_41/usr/src/cmd/mdb/intel/ia32/libproc/Makefile (revision 7014882c6a3672fd0e5d60200af8643ae53c5928)
19acbbeafSnn35248#
29acbbeafSnn35248# CDDL HEADER START
39acbbeafSnn35248#
49acbbeafSnn35248# The contents of this file are subject to the terms of the
59acbbeafSnn35248# Common Development and Distribution License (the "License").
69acbbeafSnn35248# You may not use this file except in compliance with the License.
79acbbeafSnn35248#
89acbbeafSnn35248# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
99acbbeafSnn35248# or http://www.opensolaris.org/os/licensing.
109acbbeafSnn35248# See the License for the specific language governing permissions
119acbbeafSnn35248# and limitations under the License.
129acbbeafSnn35248#
139acbbeafSnn35248# When distributing Covered Code, include this CDDL HEADER in each
149acbbeafSnn35248# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
159acbbeafSnn35248# If applicable, add the following below this CDDL HEADER, with the
169acbbeafSnn35248# fields enclosed by brackets "[]" replaced with your own identifying
179acbbeafSnn35248# information: Portions Copyright [yyyy] [name of copyright owner]
189acbbeafSnn35248#
199acbbeafSnn35248# CDDL HEADER END
209acbbeafSnn35248#
219acbbeafSnn35248#
229acbbeafSnn35248# Copyright 2006 Sun Microsystems, Inc.  All rights reserved.
239acbbeafSnn35248# Use is subject to license terms.
249acbbeafSnn35248#
259acbbeafSnn35248
269acbbeafSnn35248MODULE = libproc.so
279acbbeafSnn35248MDBTGT = proc
289acbbeafSnn35248
299acbbeafSnn35248MODSRCS_DIR = ../../../common/modules/libproc
309acbbeafSnn35248
319acbbeafSnn35248MODSRCS = libproc.c
329acbbeafSnn35248
339acbbeafSnn35248include ../../../../Makefile.cmd
349acbbeafSnn35248include ../../Makefile.ia32
359acbbeafSnn35248include ../../../Makefile.module
369acbbeafSnn35248
379acbbeafSnn35248CFLAGS += -I../../../../../lib/libproc/common
389acbbeafSnn35248LINTFLAGS += -I../../../../../lib/libproc/common
399acbbeafSnn35248
40*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized
41*7014882cSRichard Lowe
429acbbeafSnn35248%.o: $(MODSRCS_DIR)/%.c
439acbbeafSnn35248	$(COMPILE.c) $<
449acbbeafSnn35248	$(CTFCONVERT_O)
459acbbeafSnn35248
469acbbeafSnn35248%.ln: $(MODSRCS_DIR)/%.c
479acbbeafSnn35248	$(LINT.c) -c $<
48