xref: /titanic_52/usr/src/cmd/mdb/intel/amd64/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.cmd.64
359acbbeafSnn35248include ../../Makefile.amd64
369acbbeafSnn35248include ../../../Makefile.module
379acbbeafSnn35248
389acbbeafSnn35248CFLAGS64 += -I../../../../../lib/libproc/common
399acbbeafSnn35248LINTFLAGS64 += -I../../../../../lib/libproc/common
409acbbeafSnn35248
41*7014882cSRichard LoweCERRWARN += -_gcc=-Wno-uninitialized
42*7014882cSRichard Lowe
439acbbeafSnn35248%.o: $(MODSRCS_DIR)/%.c
449acbbeafSnn35248	$(COMPILE.c) $<
459acbbeafSnn35248	$(CTFCONVERT_O)
469acbbeafSnn35248
479acbbeafSnn35248%.ln: $(MODSRCS_DIR)/%.c
489acbbeafSnn35248	$(LINT.c) -c $<
49