Skip to content

Instantly share code, notes, and snippets.

@citrus-it
Created October 30, 2021 09:57
Show Gist options
  • Save citrus-it/cec76d69c0d004e93c5d0b01a2a24239 to your computer and use it in GitHub Desktop.
Save citrus-it/cec76d69c0d004e93c5d0b01a2a24239 to your computer and use it in GitHub Desktop.
ov_14196_librename
diff --git a/usr/src/lib/librename/Makefile b/usr/src/lib/librename/Makefile
index 1278c6cc9d2..6ae7851aa3a 100644
--- a/usr/src/lib/librename/Makefile
+++ b/usr/src/lib/librename/Makefile
@@ -24,15 +24,14 @@ all := TARGET = all
clean := TARGET = clean
clobber := TARGET = clobber
install := TARGET = install
-lint := TARGET = lint
.KEEP_STATE:
-all clean clobber lint: $(SUBDIRS)
+all clean clobber: $(SUBDIRS)
-install: $(SUBDIRS) install_h
+install: $(SUBDIRS) install_h
-install_h: $(ROOTHDRS)
+install_h: $(ROOTHDRS)
check: $(CHECKHDRS)
diff --git a/usr/src/lib/librename/Makefile.com b/usr/src/lib/librename/Makefile.com
index f0a22f25acf..1e1457879a5 100644
--- a/usr/src/lib/librename/Makefile.com
+++ b/usr/src/lib/librename/Makefile.com
@@ -19,7 +19,7 @@ OBJECTS = librename.o \
include ../../Makefile.lib
-LIBS = $(DYNLIB) $(LINTLIB)
+LIBS = $(DYNLIB)
LDLIBS += -lc
CPPFLAGS += -I../common
@@ -29,6 +29,4 @@ SRCDIR = ../common
all: $(LIBS)
-lint: lintcheck
-
include ../../Makefile.targ
diff --git a/usr/src/lib/librename/amd64/Makefile b/usr/src/lib/librename/amd64/Makefile
index 15d904c6160..e03ee6aac61 100644
--- a/usr/src/lib/librename/amd64/Makefile
+++ b/usr/src/lib/librename/amd64/Makefile
@@ -16,4 +16,4 @@
include ../Makefile.com
include ../../Makefile.lib.64
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/librename/common/llib-lrename b/usr/src/lib/librename/common/llib-lrename
deleted file mode 100644
index 6f1dd81a7b1..00000000000
--- a/usr/src/lib/librename/common/llib-lrename
+++ /dev/null
@@ -1,19 +0,0 @@
-/*
- * This file and its contents are supplied under the terms of the
- * Common Development and Distribution License ("CDDL"), version 1.0.
- * You may only use this file in accordance with the terms of version
- * 1.0 of the CDDL.
- *
- * A full copy of the text of the CDDL should have accompanied this
- * source. A copy of the CDDL is also available via the Internet at
- * http://www.illumos.org/license/CDDL.
- */
-
-/*
- * Copyright (c) 2014 Joyent, Inc. All rights reserved.
- */
-
-/* LINTLIBRARY */
-/* PROTOLIB1 */
-
-#include <librename.h>
diff --git a/usr/src/lib/librename/i386/Makefile b/usr/src/lib/librename/i386/Makefile
index 41e699e8f86..73fc6a2070b 100644
--- a/usr/src/lib/librename/i386/Makefile
+++ b/usr/src/lib/librename/i386/Makefile
@@ -15,4 +15,4 @@
include ../Makefile.com
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
+install: all $(ROOTLIBS) $(ROOTLINKS)
diff --git a/usr/src/lib/librename/sparc/Makefile b/usr/src/lib/librename/sparc/Makefile
deleted file mode 100644
index 41e699e8f86..00000000000
--- a/usr/src/lib/librename/sparc/Makefile
+++ /dev/null
@@ -1,18 +0,0 @@
-#
-# This file and its contents are supplied under the terms of the
-# Common Development and Distribution License ("CDDL"), version 1.0.
-# You may only use this file in accordance with the terms of version
-# 1.0 of the CDDL.
-#
-# A full copy of the text of the CDDL should have accompanied this
-# source. A copy of the CDDL is also available via the Internet at
-# http://www.illumos.org/license/CDDL.
-#
-
-#
-# Copyright (c) 2014 Joyent, Inc. All rights reserved.
-#
-
-include ../Makefile.com
-
-install: all $(ROOTLIBS) $(ROOTLINKS) $(ROOTLINT)
diff --git a/usr/src/lib/librename/sparcv9/Makefile b/usr/src/lib/librename/sparcv9/Makefile
deleted file mode 100644
index 15d904c6160..00000000000
--- a/usr/src/lib/librename/sparcv9/Makefile
+++ /dev/null
@@ -1,19 +0,0 @@
-#
-# This file and its contents are supplied under the terms of the
-# Common Development and Distribution License ("CDDL"), version 1.0.
-# You may only use this file in accordance with the terms of version
-# 1.0 of the CDDL.
-#
-# A full copy of the text of the CDDL should have accompanied this
-# source. A copy of the CDDL is also available via the Internet at
-# http://www.illumos.org/license/CDDL.
-#
-
-#
-# Copyright (c) 2014 Joyent, Inc. All rights reserved.
-#
-
-include ../Makefile.com
-include ../../Makefile.lib.64
-
-install: all $(ROOTLIBS64) $(ROOTLINKS64) $(ROOTLINT64)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment