From 35fa020436971e0d663866b134eff23b6f45d32c Mon Sep 17 00:00:00 2001 From: Hans Rosenfeld Date: Tue, 8 Jun 2021 11:52:57 +0200 Subject: 13863 want 64bit libipadm Reviewed by: Andy Fiddaman Reviewed by: Toomas Soome Approved by: Dan McDonald --- usr/src/lib/libipadm/Makefile | 12 +++++++++++- usr/src/lib/libipadm/amd64/Makefile | 19 +++++++++++++++++++ usr/src/lib/libipadm/sparcv9/Makefile | 19 +++++++++++++++++++ usr/src/pkg/manifests/system-library.mf | 1 + 4 files changed, 50 insertions(+), 1 deletion(-) create mode 100644 usr/src/lib/libipadm/amd64/Makefile create mode 100644 usr/src/lib/libipadm/sparcv9/Makefile (limited to 'usr/src') 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 -- cgit v1.2.3