summaryrefslogtreecommitdiff
path: root/usr/src/cmd/mdb/sparc
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src/cmd/mdb/sparc')
-rw-r--r--usr/src/cmd/mdb/sparc/v7/libpython/Makefile (renamed from usr/src/cmd/mdb/sparc/v7/libpython2.6/Makefile)9
-rw-r--r--usr/src/cmd/mdb/sparc/v9/libpython/Makefile (renamed from usr/src/cmd/mdb/sparc/v9/libpython2.6/Makefile)9
2 files changed, 12 insertions, 6 deletions
diff --git a/usr/src/cmd/mdb/sparc/v7/libpython2.6/Makefile b/usr/src/cmd/mdb/sparc/v7/libpython/Makefile
index 67fa9e938f..f0c2120e4f 100644
--- a/usr/src/cmd/mdb/sparc/v7/libpython2.6/Makefile
+++ b/usr/src/cmd/mdb/sparc/v7/libpython/Makefile
@@ -23,12 +23,15 @@
# Use is subject to license terms.
#
-MODULE = libpython2.6.so
+include $(SRC)/Makefile.master
+
+MODULE = libpython$(PYTHON_VERSION).so
MDBTGT = proc
+MODULE_NAME = libpython
-MODSRCS_DIR = ../../../common/modules/libpython2.6
+MODSRCS_DIR = ../../../common/modules/libpython
-MODSRCS = libpython26.c
+MODSRCS = libpython.c
include ../../../../Makefile.cmd
include ../../Makefile.sparcv7
diff --git a/usr/src/cmd/mdb/sparc/v9/libpython2.6/Makefile b/usr/src/cmd/mdb/sparc/v9/libpython/Makefile
index abccb3974c..cb3d7a78b8 100644
--- a/usr/src/cmd/mdb/sparc/v9/libpython2.6/Makefile
+++ b/usr/src/cmd/mdb/sparc/v9/libpython/Makefile
@@ -23,12 +23,15 @@
# Use is subject to license terms.
#
-MODULE = libpython2.6.so
+include $(SRC)/Makefile.master
+
+MODULE = libpython$(PYTHON_VERSION).so
MDBTGT = proc
+MODULE_NAME = libpython
-MODSRCS_DIR = ../../../common/modules/libpython2.6
+MODSRCS_DIR = ../../../common/modules/libpython
-MODSRCS = libpython26.c
+MODSRCS = libpython.c
include ../../../../Makefile.cmd
include ../../../../Makefile.cmd.64