summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
authorHans Rosenfeld <rosenfeld@grumpf.hope-2000.org>2021-06-08 11:52:57 +0200
committerHans Rosenfeld <rosenfeld@grumpf.hope-2000.org>2021-07-29 11:08:42 +0200
commit35fa020436971e0d663866b134eff23b6f45d32c (patch)
tree39e06e00b7fc3620dcf3dd937b727eda99308531 /usr/src
parentff5d40392f371e5d7648aef49cd3ce3834e48611 (diff)
downloadillumos-joyent-35fa020436971e0d663866b134eff23b6f45d32c.tar.gz
13863 want 64bit libipadm
Reviewed by: Andy Fiddaman <andy@omnios.org> Reviewed by: Toomas Soome <tsoome@me.com> Approved by: Dan McDonald <danmcd@joyent.com>
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/lib/libipadm/Makefile12
-rw-r--r--usr/src/lib/libipadm/amd64/Makefile19
-rw-r--r--usr/src/lib/libipadm/sparcv9/Makefile19
-rw-r--r--usr/src/pkg/manifests/system-library.mf1
4 files changed, 50 insertions, 1 deletions
diff --git a/usr/src/lib/libipadm/Makefile b/usr/src/lib/libipadm/Makefile
index d0077cc3b4..05b9444f9a 100644
--- a/usr/src/lib/libipadm/Makefile
+++ b/usr/src/lib/libipadm/Makefile
@@ -22,6 +22,7 @@
# Copyright 2010 Sun Microsystems, Inc. All rights reserved.
# Use is subject to license terms.
#
+# Copyright 2021 Tintri by DDN, Inc. All rights reserved.
#
include $(SRC)/lib/Makefile.lib
@@ -29,11 +30,20 @@ include $(SRC)/lib/Makefile.lib
HDRS = libipadm.h ipadm_ndpd.h ipadm_ipmgmt.h
HDRDIR = common
SUBDIRS = $(MACH)
+$(BUILD64)SUBDIRS += $(MACH64)
POFILE = libipadm.po
MSGFILES = common/libipadm.c common/ipadm_prop.c common/ipadm_persist.c \
common/ipadm_addr.c common/ipadm_if.c common/ipadm_ndpd.c
XGETFLAGS = -a -x libipadm.xcl
+TYPECHECK_LIB = libipadm.so.1
+TYPELIST = \
+ ipmgmt_aobjop_rval_t \
+ ipmgmt_get_rval_t \
+ ipmgmt_getif_rval_t \
+ ipmgmt_getprop_rval_t \
+ ipmgmt_retval_t
+
all := TARGET = all
clean := TARGET = clean
clobber := TARGET = clobber
@@ -45,7 +55,7 @@ all clean clobber install: $(SUBDIRS)
install_h: $(ROOTHDRS)
-check: $(CHECKHDRS)
+check: $(CHECKHDRS) $(TYPECHECK)
$(POFILE): pofile_MSGFILES
diff --git a/usr/src/lib/libipadm/amd64/Makefile b/usr/src/lib/libipadm/amd64/Makefile
new file mode 100644
index 0000000000..83c8e93bf0
--- /dev/null
+++ b/usr/src/lib/libipadm/amd64/Makefile
@@ -0,0 +1,19 @@
+#
+# 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 2021 Tintri by DDN, Inc. All rights reserved.
+#
+
+include ../Makefile.com
+include ../../Makefile.lib.64
+
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/lib/libipadm/sparcv9/Makefile b/usr/src/lib/libipadm/sparcv9/Makefile
new file mode 100644
index 0000000000..83c8e93bf0
--- /dev/null
+++ b/usr/src/lib/libipadm/sparcv9/Makefile
@@ -0,0 +1,19 @@
+#
+# 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 2021 Tintri by DDN, Inc. All rights reserved.
+#
+
+include ../Makefile.com
+include ../../Makefile.lib.64
+
+install: all $(ROOTLIBS64) $(ROOTLINKS64)
diff --git a/usr/src/pkg/manifests/system-library.mf b/usr/src/pkg/manifests/system-library.mf
index a1f7d93b35..4b3acde4aa 100644
--- a/usr/src/pkg/manifests/system-library.mf
+++ b/usr/src/pkg/manifests/system-library.mf
@@ -210,6 +210,7 @@ $(i386_ONLY)file path=lib/$(ARCH64)/libfdisk.so.1
file path=lib/$(ARCH64)/libgen.so.1
file path=lib/$(ARCH64)/libinetutil.so.1
file path=lib/$(ARCH64)/libintl.so.1
+file path=lib/$(ARCH64)/libipadm.so.1
file path=lib/$(ARCH64)/libkmf.so.1
file path=lib/$(ARCH64)/libkmfberder.so.1
file path=lib/$(ARCH64)/libkstat.so.1