Makefile revision 259e54381b0df8c5ffcf91a7cadb5dcb00385fee
70N/A#
70N/A# CDDL HEADER START
70N/A#
70N/A# The contents of this file are subject to the terms of the
1072N/A# Common Development and Distribution License (the "License").
70N/A# You may not use this file except in compliance with the License.
70N/A#
919N/A# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
919N/A# or http://www.opensolaris.org/os/licensing.
919N/A# See the License for the specific language governing permissions
919N/A# and limitations under the License.
919N/A#
919N/A# When distributing Covered Code, include this CDDL HEADER in each
919N/A# file and include the License file at usr/src/OPENSOLARIS.LICENSE.
919N/A# If applicable, add the following below this CDDL HEADER, with the
919N/A# fields enclosed by brackets "[]" replaced with your own identifying
919N/A# information: Portions Copyright [yyyy] [name of copyright owner]
919N/A#
919N/A# CDDL HEADER END
919N/A#
919N/A#
919N/A# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
919N/A# Use is subject to license terms.
919N/A#
70N/A
70N/Ainclude $(SRC)/Makefile.master
70N/A
70N/AMODULE = libpython$(PYTHON_VERSION).so
493N/AMDBTGT = proc
70N/AMODULE_NAME = libpython
70N/A
1072N/AMODSRCS_DIR = ../../../common/modules/libpython
70N/A
911N/AMODSRCS = libpython.c
1072N/A
1072N/Ainclude ../../../../Makefile.cmd
911N/Ainclude ../../../../Makefile.cmd.64
70N/Ainclude ../../Makefile.sparcv9
70N/Ainclude ../../../Makefile.module
70N/A
70N/A%.o := CPPFLAGS += $(PYCPPFLAGS)
70N/A%.ln := CPPFLAGS += $(PYLNFLAGS)
70N/ALINTFLAGS += -erroff=E_MACRO_REDEFINED
970N/A
970N/Admod/$(MODULE) := LDLIBS += -lproc
970N/A
970N/A%.o: $(MODSRCS_DIR)/%.c
70N/A $(COMPILE.c) $<
70N/A $(CTFCONVERT_O)
493N/A
969N/A%.ln: $(MODSRCS_DIR)/%.c
70N/A $(LINT.c) -c $<
70N/A