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