xref: /titanic_41/usr/src/cmd/mdb/intel/amd64/libpython2.6/Makefile (revision ea394cb00fd96864e34d2841b4a22357b621c78f)
1*ea394cb0Sjohansen#
2*ea394cb0Sjohansen# CDDL HEADER START
3*ea394cb0Sjohansen#
4*ea394cb0Sjohansen# The contents of this file are subject to the terms of the
5*ea394cb0Sjohansen# Common Development and Distribution License (the "License").
6*ea394cb0Sjohansen# You may not use this file except in compliance with the License.
7*ea394cb0Sjohansen#
8*ea394cb0Sjohansen# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
9*ea394cb0Sjohansen# or http://www.opensolaris.org/os/licensing.
10*ea394cb0Sjohansen# See the License for the specific language governing permissions
11*ea394cb0Sjohansen# and limitations under the License.
12*ea394cb0Sjohansen#
13*ea394cb0Sjohansen# When distributing Covered Code, include this CDDL HEADER in each
14*ea394cb0Sjohansen# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
15*ea394cb0Sjohansen# If applicable, add the following below this CDDL HEADER, with the
16*ea394cb0Sjohansen# fields enclosed by brackets "[]" replaced with your own identifying
17*ea394cb0Sjohansen# information: Portions Copyright [yyyy] [name of copyright owner]
18*ea394cb0Sjohansen#
19*ea394cb0Sjohansen# CDDL HEADER END
20*ea394cb0Sjohansen#
21*ea394cb0Sjohansen#
22*ea394cb0Sjohansen# Copyright 2010 Sun Microsystems, Inc.  All rights reserved.
23*ea394cb0Sjohansen# Use is subject to license terms.
24*ea394cb0Sjohansen#
25*ea394cb0Sjohansen
26*ea394cb0SjohansenMODULE = libpython2.6.so
27*ea394cb0SjohansenMDBTGT = proc
28*ea394cb0Sjohansen
29*ea394cb0SjohansenMODSRCS_DIR = ../../../common/modules/libpython2.6
30*ea394cb0Sjohansen
31*ea394cb0SjohansenMODSRCS = libpython26.c
32*ea394cb0Sjohansen
33*ea394cb0Sjohanseninclude ../../../../Makefile.cmd
34*ea394cb0Sjohanseninclude ../../../../Makefile.cmd.64
35*ea394cb0Sjohanseninclude ../../Makefile.amd64
36*ea394cb0Sjohanseninclude ../../../Makefile.module
37*ea394cb0Sjohansen
38*ea394cb0Sjohansendmod/$(MODULE) := LDLIBS += -lproc
39*ea394cb0Sjohansen
40*ea394cb0Sjohansen%.o: $(MODSRCS_DIR)/%.c
41*ea394cb0Sjohansen	$(COMPILE.c) $<
42*ea394cb0Sjohansen	$(CTFCONVERT_O)
43*ea394cb0Sjohansen
44*ea394cb0Sjohansen%.ln: $(MODSRCS_DIR)/%.c
45*ea394cb0Sjohansen	$(LINT.c) -c $<
46