anitazha / rpms / ndctl

Forked from rpms/ndctl 2 years ago
Clone
e0018b
From 44f2f06c688fec84db41b26b47c2de45040906eb Mon Sep 17 00:00:00 2001
e0018b
From: Dan Williams <dan.j.williams@intel.com>
e0018b
Date: Wed, 5 Jan 2022 13:33:03 -0800
e0018b
Subject: [PATCH 084/217] ndctl: Jettison autotools
e0018b
e0018b
Similar to several other projects, ndctl has run its course with autotools
e0018b
and sees a better path forward with Meson. Now that the Meson conversion is
e0018b
complete, remove the autotools infrastructure.
e0018b
e0018b
Link: https://lore.kernel.org/r/164141838349.3990253.14745993061779737304.stgit@dwillia2-desk3.amr.corp.intel.com
e0018b
Tested-by: Alison Schofield <alison.schofield@intel.com>
e0018b
Tested-by: Vaibhav Jain <vaibhav@linux.ibm.com>
e0018b
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
e0018b
Signed-off-by: Vishal Verma <vishal.l.verma@intel.com>
e0018b
---
e0018b
 .gitignore                        |  58 -------
e0018b
 Documentation/cxl/Makefile.am     |  61 -------
e0018b
 Documentation/cxl/lib/Makefile.am |  58 -------
e0018b
 Documentation/daxctl/Makefile.am  |  72 --------
e0018b
 Documentation/ndctl/Makefile.am   | 103 ------------
e0018b
 Makefile.am                       | 104 ------------
e0018b
 Makefile.am.in                    |  46 -----
e0018b
 autogen.sh                        |  28 ----
e0018b
 configure.ac                      | 270 ------------------------------
e0018b
 cxl/Makefile.am                   |  25 ---
e0018b
 cxl/lib/Makefile.am               |  32 ----
e0018b
 daxctl/Makefile.am                |  45 -----
e0018b
 daxctl/lib/Makefile.am            |  42 -----
e0018b
 ndctl.spec.in                     |  28 +---
e0018b
 ndctl/Makefile.am                 |  86 ----------
e0018b
 ndctl/lib/Makefile.am             |  58 -------
e0018b
 rhel/meson.build                  |   3 +-
e0018b
 sles/meson.build                  |   3 +-
e0018b
 test/Makefile.am                  | 169 -------------------
e0018b
 19 files changed, 4 insertions(+), 1287 deletions(-)
e0018b
 delete mode 100644 Documentation/cxl/Makefile.am
e0018b
 delete mode 100644 Documentation/cxl/lib/Makefile.am
e0018b
 delete mode 100644 Documentation/daxctl/Makefile.am
e0018b
 delete mode 100644 Documentation/ndctl/Makefile.am
e0018b
 delete mode 100644 Makefile.am
e0018b
 delete mode 100644 Makefile.am.in
e0018b
 delete mode 100755 autogen.sh
e0018b
 delete mode 100644 configure.ac
e0018b
 delete mode 100644 cxl/Makefile.am
e0018b
 delete mode 100644 cxl/lib/Makefile.am
e0018b
 delete mode 100644 daxctl/Makefile.am
e0018b
 delete mode 100644 daxctl/lib/Makefile.am
e0018b
 delete mode 100644 ndctl/Makefile.am
e0018b
 delete mode 100644 ndctl/lib/Makefile.am
e0018b
 delete mode 100644 test/Makefile.am
e0018b
e0018b
diff -up ndctl-71.1/.gitignore.orig ndctl-71.1/.gitignore
e0018b
--- ndctl-71.1/.gitignore.orig	2022-10-07 18:39:13.182886649 -0400
e0018b
+++ ndctl-71.1/.gitignore	2022-10-07 18:39:43.934991351 -0400
e0018b
@@ -1,63 +1,5 @@
e0018b
-*.o
e0018b
-*.lo
e0018b
-*.xml
e0018b
-.deps/
e0018b
-.libs/
e0018b
-Makefile
e0018b
-!contrib/Makefile
e0018b
-Makefile.in
e0018b
-/aclocal.m4
e0018b
-/autom4te.cache
e0018b
-/build-aux
e0018b
-/config.h
e0018b
-/config.log
e0018b
-/config.status
e0018b
-/configure
e0018b
-/libtool
e0018b
-/stamp-h1
e0018b
-*.1
e0018b
-*.3
e0018b
-Documentation/daxctl/asciidoc.conf
e0018b
-Documentation/ndctl/asciidoc.conf
e0018b
-Documentation/cxl/asciidoc.conf
e0018b
-Documentation/cxl/lib/asciidoc.conf
e0018b
-Documentation/daxctl/asciidoctor-extensions.rb
e0018b
-Documentation/ndctl/asciidoctor-extensions.rb
e0018b
-Documentation/cxl/asciidoctor-extensions.rb
e0018b
-Documentation/cxl/lib/asciidoctor-extensions.rb
e0018b
-.dirstamp
e0018b
 build/
e0018b
-daxctl/config.h
e0018b
-daxctl/daxctl
e0018b
-daxctl/lib/libdaxctl.la
e0018b
-daxctl/lib/libdaxctl.pc
e0018b
-*.a
e0018b
-ndctl/config.h
e0018b
-ndctl/lib/libndctl.pc
e0018b
-ndctl/ndctl
e0018b
 rhel/ndctl.spec
e0018b
 sles/ndctl.spec
e0018b
-version.m4
e0018b
 *.swp
e0018b
-cscope.files
e0018b
-cscope*.out
e0018b
 tags
e0018b
-test/*.log
e0018b
-test/*.trs
e0018b
-test/dax-dev
e0018b
-test/dax-errors
e0018b
-test/dax-pmd
e0018b
-test/daxdev-errors
e0018b
-test/device-dax
e0018b
-test/dsm-fail
e0018b
-test/hugetlb
e0018b
-test/image
e0018b
-test/libndctl
e0018b
-test/mmap
e0018b
-test/pmem-ns
e0018b
-test/smart-listen
e0018b
-test/smart-notify
e0018b
-test/fio.job
e0018b
-test/local-write-0-verify.state
e0018b
-test/ack-shutdown-count-set
e0018b
-test/list-smart-dimm
e0018b
diff -up ndctl-71.1/Documentation/cxl/Makefile.am.orig /dev/null
e0018b
--- ndctl-71.1/Documentation/cxl/Makefile.am	2022-10-07 18:39:13.067886258 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,61 +0,0 @@
e0018b
-# SPDX-License-Identifier: GPL-2.0
e0018b
-# Copyright (C) 2020-2021 Intel Corporation. All rights reserved.
e0018b
-
e0018b
-if USE_ASCIIDOCTOR
e0018b
-
e0018b
-do_subst = sed -e 's,@Utility@,Cxl,g' -e's,@utility@,cxl,g'
e0018b
-CONFFILE = asciidoctor-extensions.rb
e0018b
-asciidoctor-extensions.rb: ../asciidoctor-extensions.rb.in
e0018b
-	$(AM_V_GEN) $(do_subst) < $< > $@
e0018b
-
e0018b
-else
e0018b
-
e0018b
-do_subst = sed -e 's,UTILITY,cxl,g'
e0018b
-CONFFILE = asciidoc.conf
e0018b
-asciidoc.conf: ../asciidoc.conf.in
e0018b
-	$(AM_V_GEN) $(do_subst) < $< > $@
e0018b
-
e0018b
-endif
e0018b
-
e0018b
-man1_MANS = \
e0018b
-	cxl.1 \
e0018b
-	cxl-list.1 \
e0018b
-	cxl-read-labels.1 \
e0018b
-	cxl-write-labels.1 \
e0018b
-	cxl-zero-labels.1
e0018b
-
e0018b
-EXTRA_DIST = $(man1_MANS)
e0018b
-
e0018b
-CLEANFILES = $(man1_MANS)
e0018b
-
e0018b
-XML_DEPS = \
e0018b
-	../../version.m4 \
e0018b
-	../copyright.txt \
e0018b
-	Makefile \
e0018b
-	$(CONFFILE)
e0018b
-
e0018b
-RM ?= rm -f
e0018b
-
e0018b
-if USE_ASCIIDOCTOR
e0018b
-
e0018b
-%.1: %.txt $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@+ $@ && \
e0018b
-		$(ASCIIDOC) -b manpage -d manpage -acompat-mode \
e0018b
-		-I. -rasciidoctor-extensions \
e0018b
-		-amansource=cxl -amanmanual="cxl Manual" \
e0018b
-		-andctl_version=$(VERSION) -o $@+ $< && \
e0018b
-		mv $@+ $@
e0018b
-
e0018b
-else
e0018b
-
e0018b
-%.xml: %.txt $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@+ $@ && \
e0018b
-		$(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \
e0018b
-		--unsafe -acxl_version=$(VERSION) -o $@+ $< && \
e0018b
-		mv $@+ $@
e0018b
-
e0018b
-%.1: %.xml $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@ && \
e0018b
-		$(XMLTO) -o . -m ../manpage-normal.xsl man $<
e0018b
-
e0018b
-endif
e0018b
diff -up ndctl-71.1/Documentation/cxl/lib/Makefile.am /dev/null
e0018b
--- ndctl-71.1/Documentation/cxl/lib/Makefile.am	2022-10-07 18:39:13.071886271 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,58 +0,0 @@
e0018b
-# SPDX-License-Identifier: GPL-2.0
e0018b
-# Copyright (C) 2020-2021 Intel Corporation. All rights reserved.
e0018b
-
e0018b
-if USE_ASCIIDOCTOR
e0018b
-
e0018b
-do_subst = sed -e 's,@Utility@,Libcxl,g' -e's,@utility@,libcxl,g'
e0018b
-CONFFILE = asciidoctor-extensions.rb
e0018b
-asciidoctor-extensions.rb: ../../asciidoctor-extensions.rb.in
e0018b
-	$(AM_V_GEN) $(do_subst) < $< > $@
e0018b
-
e0018b
-else
e0018b
-
e0018b
-do_subst = sed -e 's,UTILITY,libcxl,g'
e0018b
-CONFFILE = asciidoc.conf
e0018b
-asciidoc.conf: ../../asciidoc.conf.in
e0018b
-	$(AM_V_GEN) $(do_subst) < $< > $@
e0018b
-
e0018b
-endif
e0018b
-
e0018b
-man3_MANS = \
e0018b
-	libcxl.3 \
e0018b
-	cxl_new.3
e0018b
-
e0018b
-EXTRA_DIST = $(man3_MANS)
e0018b
-
e0018b
-CLEANFILES = $(man3_MANS)
e0018b
-
e0018b
-XML_DEPS = \
e0018b
-	../../../version.m4 \
e0018b
-	../../copyright.txt \
e0018b
-	Makefile \
e0018b
-	$(CONFFILE)
e0018b
-
e0018b
-RM ?= rm -f
e0018b
-
e0018b
-if USE_ASCIIDOCTOR
e0018b
-
e0018b
-%.3: %.txt $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@+ $@ && \
e0018b
-		$(ASCIIDOC) -b manpage -d manpage -acompat-mode \
e0018b
-		-I. -rasciidoctor-extensions \
e0018b
-		-amansource=libcxl -amanmanual="libcxl Manual" \
e0018b
-		-andctl_version=$(VERSION) -o $@+ $< && \
e0018b
-		mv $@+ $@
e0018b
-
e0018b
-else
e0018b
-
e0018b
-%.xml: %.txt $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@+ $@ && \
e0018b
-		$(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \
e0018b
-		--unsafe -alibcxl_version=$(VERSION) -o $@+ $< && \
e0018b
-		mv $@+ $@
e0018b
-
e0018b
-%.3: %.xml $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@ && \
e0018b
-		$(XMLTO) -o . -m ../../manpage-normal.xsl man $<
e0018b
-
e0018b
-endif
e0018b
diff -up ndctl-71.1/Documentation/daxctl/Makefile.am /dev/null
e0018b
--- ndctl-71.1/Documentation/daxctl/Makefile.am	2022-10-07 18:42:19.341520462 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,66 +0,0 @@
e0018b
-# SPDX-License-Identifier: GPL-2.0
e0018b
-# Copyright (C) 2015-2020 Intel Corporation. All rights reserved.
e0018b
-
e0018b
-if USE_ASCIIDOCTOR
e0018b
-
e0018b
-do_subst = sed -e 's,@Utility@,Daxctl,g' -e's,@utility@,daxctl,g'
e0018b
-CONFFILE = asciidoctor-extensions.rb
e0018b
-asciidoctor-extensions.rb: ../asciidoctor-extensions.rb.in
e0018b
-	$(AM_V_GEN) $(do_subst) < $< > $@
e0018b
-
e0018b
-else
e0018b
-
e0018b
-do_subst = sed -e 's,UTILITY,daxctl,g'
e0018b
-CONFFILE = asciidoc.conf
e0018b
-asciidoc.conf: ../asciidoc.conf.in
e0018b
-	$(AM_V_GEN) $(do_subst) < $< > $@
e0018b
-
e0018b
-endif
e0018b
-
e0018b
-man1_MANS = \
e0018b
-	daxctl.1 \
e0018b
-	daxctl-list.1 \
e0018b
-	daxctl-migrate-device-model.1 \
e0018b
-	daxctl-reconfigure-device.1 \
e0018b
-	daxctl-online-memory.1 \
e0018b
-	daxctl-offline-memory.1 \
e0018b
-	daxctl-disable-device.1 \
e0018b
-	daxctl-enable-device.1 \
e0018b
-	daxctl-create-device.1 \
e0018b
-	daxctl-destroy-device.1
e0018b
-
e0018b
-EXTRA_DIST = $(man1_MANS)
e0018b
-
e0018b
-CLEANFILES = $(man1_MANS)
e0018b
-
e0018b
-XML_DEPS = \
e0018b
-	../../version.m4 \
e0018b
-	../copyright.txt \
e0018b
-	Makefile \
e0018b
-	$(CONFFILE)
e0018b
-
e0018b
-RM ?= rm -f
e0018b
-
e0018b
-if USE_ASCIIDOCTOR
e0018b
-
e0018b
-%.1: %.txt $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@+ $@ && \
e0018b
-		$(ASCIIDOC) -b manpage -d manpage -acompat-mode \
e0018b
-		-I. -rasciidoctor-extensions \
e0018b
-		-amansource=daxctl -amanmanual="daxctl Manual" \
e0018b
-		-andctl_version=$(VERSION) -o $@+ $< && \
e0018b
-		mv $@+ $@
e0018b
-
e0018b
-else
e0018b
-
e0018b
-%.xml: %.txt $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@+ $@ && \
e0018b
-		$(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \
e0018b
-		--unsafe -adaxctl_version=$(VERSION) -o $@+ $< && \
e0018b
-		mv $@+ $@
e0018b
-
e0018b
-%.1: %.xml $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@ && \
e0018b
-		$(XMLTO) -o . -m ../manpage-normal.xsl man $<
e0018b
-
e0018b
-endif
e0018b
diff -up ndctl-71.1/Documentation/ndctl/Makefile.am /dev/null
e0018b
--- ndctl-71.1/Documentation/ndctl/Makefile.am	2020-12-22 16:44:57.000000000 -0500
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,106 +0,0 @@
e0018b
-# SPDX-License-Identifier: GPL-2.0
e0018b
-# Copyright (C) 2015-2020 Intel Corporation. All rights reserved.
e0018b
-
e0018b
-if USE_ASCIIDOCTOR
e0018b
-
e0018b
-do_subst = sed -e 's,@Utility@,Ndctl,g' -e's,@utility@,ndctl,g'
e0018b
-CONFFILE = asciidoctor-extensions.rb
e0018b
-asciidoctor-extensions.rb: ../asciidoctor-extensions.rb.in
e0018b
-	$(AM_V_GEN) $(do_subst) < $< > $@
e0018b
-
e0018b
-else
e0018b
-
e0018b
-do_subst = sed -e 's,UTILITY,ndctl,g'
e0018b
-CONFFILE = asciidoc.conf
e0018b
-asciidoc.conf: ../asciidoc.conf.in
e0018b
-	$(AM_V_GEN) $(do_subst) < $< > $@
e0018b
-
e0018b
-endif
e0018b
-
e0018b
-man1_MANS = \
e0018b
-	ndctl.1 \
e0018b
-	ndctl-wait-scrub.1 \
e0018b
-	ndctl-start-scrub.1 \
e0018b
-	ndctl-zero-labels.1 \
e0018b
-	ndctl-read-labels.1 \
e0018b
-	ndctl-write-labels.1 \
e0018b
-	ndctl-init-labels.1 \
e0018b
-	ndctl-check-labels.1 \
e0018b
-	ndctl-enable-region.1 \
e0018b
-	ndctl-disable-region.1 \
e0018b
-	ndctl-enable-dimm.1 \
e0018b
-	ndctl-disable-dimm.1 \
e0018b
-	ndctl-enable-namespace.1 \
e0018b
-	ndctl-disable-namespace.1 \
e0018b
-	ndctl-create-namespace.1 \
e0018b
-	ndctl-destroy-namespace.1 \
e0018b
-	ndctl-check-namespace.1 \
e0018b
-	ndctl-clear-errors.1 \
e0018b
-	ndctl-inject-error.1 \
e0018b
-	ndctl-inject-smart.1 \
e0018b
-	ndctl-update-firmware.1 \
e0018b
-	ndctl-list.1 \
e0018b
-	ndctl-monitor.1 \
e0018b
-	ndctl-setup-passphrase.1 \
e0018b
-	ndctl-update-passphrase.1 \
e0018b
-	ndctl-remove-passphrase.1 \
e0018b
-	ndctl-freeze-security.1 \
e0018b
-	ndctl-sanitize-dimm.1 \
e0018b
-	ndctl-load-keys.1 \
e0018b
-	ndctl-wait-overwrite.1 \
e0018b
-	ndctl-read-infoblock.1 \
e0018b
-	ndctl-write-infoblock.1 \
e0018b
-	ndctl-activate-firmware.1
e0018b
-
e0018b
-EXTRA_DIST = $(man1_MANS)
e0018b
-
e0018b
-CLEANFILES = $(man1_MANS)
e0018b
-
e0018b
-.ONESHELL:
e0018b
-attrs.adoc: $(srcdir)/Makefile.am
e0018b
-	$(AM_V_GEN) cat <<- EOF >$@
e0018b
-		:ndctl_monitorconfdir: $(ndctl_monitorconfdir)
e0018b
-		:ndctl_monitorconf: $(ndctl_monitorconf)
e0018b
-		:ndctl_keysdir: $(ndctl_keysdir)
e0018b
-		EOF
e0018b
-
e0018b
-XML_DEPS = \
e0018b
-	../../version.m4 \
e0018b
-	Makefile \
e0018b
-	$(CONFFILE) \
e0018b
-	../copyright.txt \
e0018b
-	region-description.txt \
e0018b
-	xable-region-options.txt \
e0018b
-	dimm-description.txt \
e0018b
-	xable-dimm-options.txt \
e0018b
-	xable-namespace-options.txt \
e0018b
-	ars-description.txt \
e0018b
-	labels-description.txt \
e0018b
-	labels-options.txt \
e0018b
-	attrs.adoc
e0018b
-
e0018b
-RM ?= rm -f
e0018b
-
e0018b
-if USE_ASCIIDOCTOR
e0018b
-
e0018b
-%.1: %.txt $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@+ $@ && \
e0018b
-		$(ASCIIDOC) -b manpage -d manpage -acompat-mode \
e0018b
-		-I. -rasciidoctor-extensions \
e0018b
-		-amansource=ndctl -amanmanual="ndctl Manual" \
e0018b
-		-andctl_version=$(VERSION) -o $@+ $< && \
e0018b
-		mv $@+ $@
e0018b
-
e0018b
-else
e0018b
-
e0018b
-%.xml: %.txt $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@+ $@ && \
e0018b
-		$(ASCIIDOC) -b docbook -d manpage -f asciidoc.conf \
e0018b
-		--unsafe -andctl_version=$(VERSION) -o $@+ $< && \
e0018b
-		mv $@+ $@
e0018b
-
e0018b
-%.1: %.xml $(XML_DEPS)
e0018b
-	$(AM_V_GEN)$(RM) $@ && \
e0018b
-		$(XMLTO) -o . -m ../manpage-normal.xsl man $<
e0018b
-
e0018b
-endif
e0018b
diff -up ndctl-71.1/Makefile.am.in /dev/null
e0018b
--- ndctl-71.1/Makefile.am.in	2022-10-07 18:39:13.130886472 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,46 +0,0 @@
e0018b
-EXTRA_DIST =
e0018b
-CLEANFILES =
e0018b
-
e0018b
-AM_MAKEFLAGS = --no-print-directory
e0018b
-
e0018b
-AM_CPPFLAGS = \
e0018b
-	-include $(top_builddir)/config.h \
e0018b
-	-DSYSCONFDIR=\""$(sysconfdir)"\" \
e0018b
-	-DLIBEXECDIR=\""$(libexecdir)"\" \
e0018b
-	-DPREFIX=\""$(prefix)"\" \
e0018b
-	-DNDCTL_MAN_PATH=\""$(mandir)"\" \
e0018b
-	-I${top_srcdir}/ \
e0018b
-	$(KMOD_CFLAGS) \
e0018b
-	$(UDEV_CFLAGS) \
e0018b
-	$(UUID_CFLAGS) \
e0018b
-	$(JSON_CFLAGS)
e0018b
-
e0018b
-AM_CFLAGS = ${my_CFLAGS} \
e0018b
-	-fvisibility=hidden \
e0018b
-	-ffunction-sections \
e0018b
-	-fdata-sections
e0018b
-
e0018b
-AM_LDFLAGS = \
e0018b
-	-Wl,--gc-sections \
e0018b
-	-Wl,--as-needed
e0018b
-
e0018b
-SED_PROCESS = \
e0018b
-	$(AM_V_GEN)$(MKDIR_P) $(dir $@) && $(SED) \
e0018b
-	-e 's,@VERSION\@,$(VERSION),g' \
e0018b
-	-e 's,@prefix\@,$(prefix),g' \
e0018b
-	-e 's,@exec_prefix\@,$(exec_prefix),g' \
e0018b
-	-e 's,@libdir\@,$(libdir),g' \
e0018b
-	-e 's,@includedir\@,$(includedir),g' \
e0018b
-	< $< > $@ || rm $@
e0018b
-
e0018b
-LIBNDCTL_CURRENT=26
e0018b
-LIBNDCTL_REVISION=1
e0018b
-LIBNDCTL_AGE=20
e0018b
-
e0018b
-LIBDAXCTL_CURRENT=7
e0018b
-LIBDAXCTL_REVISION=0
e0018b
-LIBDAXCTL_AGE=6
e0018b
-
e0018b
-LIBCXL_CURRENT=1
e0018b
-LIBCXL_REVISION=0
e0018b
-LIBCXL_AGE=0
e0018b
diff -up ndctl-71.1/Makefile.am /dev/null
e0018b
--- ndctl-71.1/Makefile.am	2022-10-07 18:39:13.182886649 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,102 +0,0 @@
e0018b
-include Makefile.am.in
e0018b
-
e0018b
-ACLOCAL_AMFLAGS = -I m4 ${ACLOCAL_FLAGS}
e0018b
-SUBDIRS = . cxl/lib daxctl/lib ndctl/lib cxl ndctl daxctl
e0018b
-if ENABLE_DOCS
e0018b
-SUBDIRS += Documentation/ndctl Documentation/daxctl Documentation/cxl
e0018b
-SUBDIRS += Documentation/cxl/lib
e0018b
-endif
e0018b
-SUBDIRS += test
e0018b
-
e0018b
-BUILT_SOURCES = version.m4
e0018b
-version.m4: FORCE
e0018b
-	$(AM_V_GEN)$(top_srcdir)/git-version-gen
e0018b
-
e0018b
-FORCE:
e0018b
-
e0018b
-EXTRA_DIST += ndctl.spec.in \
e0018b
-		sles/header \
e0018b
-		contrib/nvdimm-security.conf
e0018b
-
e0018b
-noinst_SCRIPTS = rhel/ndctl.spec sles/ndctl.spec
e0018b
-CLEANFILES += $(noinst_SCRIPTS)
e0018b
-
e0018b
-do_rhel_subst = sed -e 's,VERSION,$(VERSION),g' \
e0018b
-            -e 's,MESON,0,g' \
e0018b
-            -e 's,DAX_DNAME,daxctl-devel,g' \
e0018b
-            -e 's,CXL_DNAME,cxl-devel,g' \
e0018b
-            -e 's,DNAME,ndctl-devel,g' \
e0018b
-            -e '/^%defattr.*/d' \
e0018b
-	    -e 's,DAX_LNAME,daxctl-libs,g' \
e0018b
-	    -e 's,CXL_LNAME,cxl-libs,g' \
e0018b
-	    -e 's,LNAME,ndctl-libs,g'
e0018b
-
e0018b
-do_sles_subst = sed -e 's,VERSION,$(VERSION),g' \
e0018b
-            -e 's,MESON,0,g' \
e0018b
-            -e 's,DAX_DNAME,libdaxctl-devel,g' \
e0018b
-            -e 's,CXL_DNAME,libcxl-devel,g' \
e0018b
-            -e 's,DNAME,libndctl-devel,g' \
e0018b
-            -e 's,%license,%doc,g' \
e0018b
-            -e 's,\(^License:.*GPL\)v2,\1-2.0,g' \
e0018b
-            -e "s,DAX_LNAME,libdaxctl$$(($(LIBDAXCTL_CURRENT) - $(LIBDAXCTL_AGE))),g" \
e0018b
-            -e "s,CXL_LNAME,libcxl$$(($(LIBCXL_CURRENT) - $(LIBCXL_AGE))),g" \
e0018b
-            -e "s,LNAME,libndctl$$(($(LIBNDCTL_CURRENT) - $(LIBNDCTL_AGE))),g"
e0018b
-
e0018b
-rhel/ndctl.spec: ndctl.spec.in Makefile.am version.m4
e0018b
-	$(AM_V_GEN)$(MKDIR_P) rhel; $(do_rhel_subst) < $< > $@
e0018b
-
e0018b
-sles/ndctl.spec: sles/header ndctl.spec.in Makefile.am version.m4
e0018b
-	$(AM_V_GEN)$(MKDIR_P) sles; cat sles/header $< | $(do_sles_subst) > $@
e0018b
-
e0018b
-if ENABLE_BASH_COMPLETION
e0018b
-bashcompletiondir = $(BASH_COMPLETION_DIR)
e0018b
-dist_bashcompletion_DATA = contrib/ndctl
e0018b
-install-data-hook:
e0018b
-	$(LN_S) -f $(BASH_COMPLETION_DIR)/ndctl $(DESTDIR)/$(BASH_COMPLETION_DIR)/daxctl
e0018b
-	$(LN_S) -f $(BASH_COMPLETION_DIR)/ndctl $(DESTDIR)/$(BASH_COMPLETION_DIR)/cxl
e0018b
-endif
e0018b
-
e0018b
-modprobe_file = contrib/nvdimm-security.conf
e0018b
-modprobedir = $(sysconfdir)/modprobe.d/
e0018b
-modprobe_DATA = $(modprobe_file)
e0018b
-
e0018b
-noinst_LIBRARIES = libccan.a
e0018b
-libccan_a_SOURCES = \
e0018b
-	ccan/str/str.h \
e0018b
-	ccan/str/str_debug.h \
e0018b
-	ccan/str/str.c \
e0018b
-	ccan/str/debug.c \
e0018b
-	ccan/list/list.h \
e0018b
-	ccan/list/list.c \
e0018b
-	ccan/container_of/container_of.h \
e0018b
-	ccan/check_type/check_type.h \
e0018b
-	ccan/build_assert/build_assert.h \
e0018b
-	ccan/array_size/array_size.h \
e0018b
-	ccan/minmax/minmax.h \
e0018b
-	ccan/short_types/short_types.h \
e0018b
-	ccan/endian/endian.h
e0018b
-
e0018b
-noinst_LIBRARIES += libutil.a
e0018b
-libutil_a_SOURCES = \
e0018b
-	util/parse-options.c \
e0018b
-	util/parse-options.h \
e0018b
-	util/usage.c \
e0018b
-	util/size.c \
e0018b
-	util/main.c \
e0018b
-	util/help.c \
e0018b
-	util/strbuf.c \
e0018b
-	util/wrapper.c \
e0018b
-	util/bitmap.c \
e0018b
-	util/abspath.c \
e0018b
-	util/iomem.c \
e0018b
-	util/util.h \
e0018b
-	util/strbuf.h \
e0018b
-	util/size.h \
e0018b
-	util/main.h \
e0018b
-	util/filter.h \
e0018b
-	util/bitmap.h
e0018b
-
e0018b
-nobase_include_HEADERS = \
e0018b
-	daxctl/libdaxctl.h \
e0018b
-	cxl/libcxl.h \
e0018b
-	cxl/cxl_mem.h
e0018b
diff -up ndctl-71.1/autogen.sh /dev/null
e0018b
--- ndctl-71.1/autogen.sh	2020-12-22 16:44:57.000000000 -0500
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,28 +0,0 @@
e0018b
-#!/bin/sh -e
e0018b
-
e0018b
-if [ -f .git/hooks/pre-commit.sample -a ! -f .git/hooks/pre-commit ] ; then
e0018b
-        cp -p .git/hooks/pre-commit.sample .git/hooks/pre-commit && \
e0018b
-        chmod +x .git/hooks/pre-commit && \
e0018b
-        echo "Activated pre-commit hook."
e0018b
-fi
e0018b
-
e0018b
-$(dirname $0)/git-version-gen
e0018b
-reconf_args=''
e0018b
-[ -n "$*" ] && reconf_args="$*"
e0018b
-autoreconf --install --symlink $reconf_args
e0018b
-
e0018b
-libdir() {
e0018b
-        echo $(cd $1/$(gcc -print-multi-os-directory); pwd)
e0018b
-}
e0018b
-
e0018b
-args="--prefix=/usr \
e0018b
---sysconfdir=/etc \
e0018b
---libdir=$(libdir /usr/lib)"
e0018b
-
e0018b
-echo
e0018b
-echo "----------------------------------------------------------------"
e0018b
-echo "Initialized build system. For a common configuration please run:"
e0018b
-echo "----------------------------------------------------------------"
e0018b
-echo
e0018b
-echo "./configure CFLAGS='-g -O2' $args"
e0018b
-echo
e0018b
diff -up ndctl-71.1/configure.ac /dev/null
e0018b
--- ndctl-71.1/configure.ac	2022-10-07 18:39:13.083886312 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,254 +0,0 @@
e0018b
-AC_PREREQ(2.60)
e0018b
-m4_include([version.m4])
e0018b
-AC_INIT([ndctl],
e0018b
-        GIT_VERSION,
e0018b
-        [nvdimm@lists.linux.dev],
e0018b
-        [ndctl],
e0018b
-        [https://github.com/pmem/ndctl])
e0018b
-AC_CONFIG_SRCDIR([ndctl/lib/libndctl.c])
e0018b
-AC_CONFIG_AUX_DIR([build-aux])
e0018b
-AM_INIT_AUTOMAKE([
e0018b
-	foreign
e0018b
-	1.11
e0018b
-	-Wall
e0018b
-	-Wno-portability
e0018b
-	silent-rules
e0018b
-	tar-pax
e0018b
-	no-dist-gzip
e0018b
-	dist-xz
e0018b
-	subdir-objects
e0018b
-])
e0018b
-AC_PROG_CC_STDC
e0018b
-AC_USE_SYSTEM_EXTENSIONS
e0018b
-AC_SYS_LARGEFILE
e0018b
-AC_CONFIG_MACRO_DIR([m4])
e0018b
-AM_SILENT_RULES([yes])
e0018b
-LT_INIT([
e0018b
-	disable-static
e0018b
-	pic-only
e0018b
-])
e0018b
-AC_PREFIX_DEFAULT([/usr])
e0018b
-
e0018b
-AC_PROG_SED
e0018b
-AC_PROG_MKDIR_P
e0018b
-AC_PROG_LN_S
e0018b
-
e0018b
-AC_ARG_ENABLE([docs],
e0018b
-        AS_HELP_STRING([--disable-docs],
e0018b
-	[disable documentation build @<:@default=enabled@:>@]),
e0018b
-        [], enable_docs=yes)
e0018b
-AS_IF([test "x$enable_docs" = "xyes"], [
e0018b
-        AC_DEFINE(ENABLE_DOCS, [1], [Documentation / man pages.])
e0018b
-])
e0018b
-AM_CONDITIONAL([ENABLE_DOCS], [test "x$enable_docs" = "xyes"])
e0018b
-
e0018b
-AC_ARG_ENABLE([asciidoctor],
e0018b
-	AS_HELP_STRING([--enable-asciidoctor],
e0018b
-	[use asciidoctor for documentation build]),
e0018b
-	[], enable_asciidoctor=yes)
e0018b
-AM_CONDITIONAL([USE_ASCIIDOCTOR], [test "x$enable_asciidoctor" = "xyes"])
e0018b
-if test "x$enable_asciidoctor" = "xyes"; then
e0018b
-	asciidoc="asciidoctor"
e0018b
-else
e0018b
-	asciidoc="asciidoc"
e0018b
-fi
e0018b
-AC_CHECK_PROG(ASCIIDOC, [$asciidoc], [$(which $asciidoc)], [missing])
e0018b
-if test "x$ASCIIDOC" = xmissing -a "x$enable_docs" = "xyes"; then
e0018b
-	AC_MSG_ERROR([$asciidoc needed to build documentation])
e0018b
-fi
e0018b
-AC_SUBST([ASCIIDOC])
e0018b
-
e0018b
-if test x"$asciidoc" = x"asciidoc"; then
e0018b
-AC_CHECK_PROG(XMLTO, [xmlto], [$(which xmlto)], [missing])
e0018b
-if test "x$XMLTO" = xmissing -a "x$enable_docs" = "xyes"; then
e0018b
-       AC_MSG_ERROR([xmlto needed to build documentation])
e0018b
-fi
e0018b
-AC_SUBST([XMLTO])
e0018b
-fi
e0018b
-
e0018b
-AC_C_TYPEOF
e0018b
-AC_DEFINE([HAVE_STATEMENT_EXPR], 1, [Define to 1 if you have statement expressions.])
e0018b
-
e0018b
-AC_C_BIGENDIAN(
e0018b
-	AC_DEFINE(HAVE_BIG_ENDIAN, 1, [Define to 1 if big-endian-arch]),
e0018b
-	AC_DEFINE(HAVE_LITTLE_ENDIAN, 1, [Define to 1 if little-endian-arch]),
e0018b
-	[], [])
e0018b
-
e0018b
-AC_ARG_ENABLE([logging],
e0018b
-        AS_HELP_STRING([--disable-logging], [disable system logging @<:@default=enabled@:>@]),
e0018b
-        [], enable_logging=yes)
e0018b
-AS_IF([test "x$enable_logging" = "xyes"], [
e0018b
-        AC_DEFINE(ENABLE_LOGGING, [1], [System logging.])
e0018b
-])
e0018b
-
e0018b
-AC_ARG_ENABLE([debug],
e0018b
-        AS_HELP_STRING([--enable-debug], [enable debug messages @<:@default=disabled@:>@]),
e0018b
-        [], [enable_debug=no])
e0018b
-AS_IF([test "x$enable_debug" = "xyes"], [
e0018b
-        AC_DEFINE(ENABLE_DEBUG, [1], [Debug messages.])
e0018b
-])
e0018b
-
e0018b
-AC_ARG_ENABLE([destructive],
e0018b
-        AS_HELP_STRING([--enable-destructive], [enable destructive functional tests @<:@default=disabled@:>@]),
e0018b
-        [], [enable_destructive=no])
e0018b
-AS_IF([test "x$enable_destructive" = "xyes"],
e0018b
-	[AC_DEFINE([ENABLE_DESTRUCTIVE], [1], [destructive functional tests support])])
e0018b
-AM_CONDITIONAL([ENABLE_DESTRUCTIVE], [test "x$enable_destructive" = "xyes"])
e0018b
-
e0018b
-AC_ARG_ENABLE([test],
e0018b
-        AS_HELP_STRING([--enable-test], [enable ndctl test command @<:@default=disabled@:>@]),
e0018b
-        [], [enable_test=$enable_destructive])
e0018b
-AS_IF([test "x$enable_test" = "xyes"],
e0018b
-	[AC_DEFINE([ENABLE_TEST], [1], [ndctl test support])])
e0018b
-AM_CONDITIONAL([ENABLE_TEST], [test "x$enable_test" = "xyes"])
e0018b
-
e0018b
-AC_CHECK_DECLS([BUS_MCEERR_AR], [enable_bus_mc_err=yes], [], [[#include <signal.h>]])
e0018b
-AC_CHECK_DECLS([MAP_SHARED_VALIDATE], [kernel_map_shared_validate=yes], [], [[#include <linux/mman.h>]])
e0018b
-AC_CHECK_DECLS([MAP_SYNC], [kernel_map_sync=yes], [], [[#include <linux/mman.h>]])
e0018b
-AS_UNSET([ac_cv_have_decl_MAP_SHARED_VALIDATE])
e0018b
-AS_UNSET([ac_cv_have_decl_MAP_SYNC])
e0018b
-AC_CHECK_DECLS([MAP_SHARED_VALIDATE], [enable_map_shared_validate=yes], [], [[#include <sys/mman.h>]])
e0018b
-AC_CHECK_DECLS([MAP_SYNC], [enable_map_sync=yes], [], [[#include <sys/mman.h>]])
e0018b
-
e0018b
-if test "x$kernel_map_shared_validate" = "xyes" -a "x$enable_map_shared_validate" != "xyes" ; then
e0018b
-	AC_MSG_WARN([MAP_SHARED_VALIDATE supported by kernel but not by <sys/mman.h>, consider installing glibc-2.28 or later.])
e0018b
-fi
e0018b
-if test "x$kernel_map_shared_validate" != "xyes" -a "x$enable_map_shared_validate" != "xyes" ; then
e0018b
-	AC_MSG_WARN([MAP_SHARED_VALIDATE not supported by kernel, consider installing kernel-4.15 or later.])
e0018b
-fi
e0018b
-if test "x$kernel_map_sync" = "xyes" -a "x$enable_map_sync" != "xyes" ; then
e0018b
-	AC_MSG_WARN([MAP_SYNC supported by kernel but not by <sys/mman.h>, consider installing glibc-2.28 or later.])
e0018b
-fi
e0018b
-if test "x$kernel_map_sync" != "xyes" -a "x$enable_map_sync" != "xyes" ; then
e0018b
-	AC_MSG_WARN([MAP_SYNC not supported by kernel or architecture, consider installing kernel-4.15 or later.])
e0018b
-fi
e0018b
-
e0018b
-AS_IF([test "x$enable_bus_mc_err" = "xyes" -a "x$enable_map_sync" = "xyes" -a "x$enable_map_shared_validate" = "xyes"],
e0018b
-	[AC_DEFINE([ENABLE_POISON], [1], [ndctl test poison support])])
e0018b
-AM_CONDITIONAL([ENABLE_POISON],
e0018b
-	[test "x$enable_bus_mc_err" = "xyes" -a "x$enable_map_sync" = "xyes" -a "x$enable_map_shared_validate" = "xyes"])
e0018b
-
e0018b
-PKG_CHECK_MODULES([KMOD], [libkmod])
e0018b
-PKG_CHECK_MODULES([UDEV], [libudev])
e0018b
-PKG_CHECK_MODULES([UUID], [uuid],
e0018b
-	[AC_DEFINE([HAVE_UUID], [1], [Define to 1 if using libuuid])])
e0018b
-PKG_CHECK_MODULES([JSON], [json-c])
e0018b
-
e0018b
-AC_ARG_WITH([bash],
e0018b
-	AS_HELP_STRING([--with-bash],
e0018b
-		[Enable bash auto-completion. @<:@default=yes@:>@]),
e0018b
-	[],
e0018b
-	[with_bash=yes])
e0018b
-
e0018b
-if test "x$with_bash" = "xyes"; then
e0018b
-	PKG_CHECK_MODULES([BASH_COMPLETION], [bash-completion >= 2.0],
e0018b
-		[BASH_COMPLETION_DIR=$($PKG_CONFIG --variable=completionsdir bash-completion)], [])
e0018b
-fi
e0018b
-
e0018b
-AC_SUBST([BASH_COMPLETION_DIR])
e0018b
-AM_CONDITIONAL([ENABLE_BASH_COMPLETION], [test "x$with_bash" = "xyes"])
e0018b
-
e0018b
-AC_ARG_ENABLE([local],
e0018b
-        AS_HELP_STRING([--disable-local], [build against kernel ndctl.h @<:@default=system@:>@]),
e0018b
-        [], [enable_local=yes])
e0018b
-
e0018b
-AC_CHECK_HEADERS_ONCE([linux/version.h])
e0018b
-
e0018b
-AC_CHECK_FUNCS([ \
e0018b
-	__secure_getenv \
e0018b
-	secure_getenv\
e0018b
-])
e0018b
-
e0018b
-AC_ARG_WITH([systemd],
e0018b
-	AS_HELP_STRING([--with-systemd],
e0018b
-		[Enable systemd functionality (monitor). @<:@default=yes@:>@]),
e0018b
-	[], [with_systemd=yes])
e0018b
-
e0018b
-if test "x$with_systemd" = "xyes"; then
e0018b
-	PKG_CHECK_MODULES([SYSTEMD], [systemd],
e0018b
-	[systemd_unitdir=$($PKG_CONFIG --variable=systemdsystemunitdir systemd)], [])
e0018b
-fi
e0018b
-
e0018b
-AC_SUBST([systemd_unitdir])
e0018b
-AM_CONDITIONAL([ENABLE_SYSTEMD_UNITS], [test "x$with_systemd" = "xyes"])
e0018b
-
e0018b
-ndctl_monitorconfdir=${sysconfdir}/ndctl
e0018b
-ndctl_monitorconf=monitor.conf
e0018b
-AC_SUBST([ndctl_monitorconfdir])
e0018b
-AC_SUBST([ndctl_monitorconf])
e0018b
-
e0018b
-daxctl_modprobe_datadir=${datadir}/daxctl
e0018b
-daxctl_modprobe_data=daxctl.conf
e0018b
-AC_SUBST([daxctl_modprobe_datadir])
e0018b
-AC_SUBST([daxctl_modprobe_data])
e0018b
-
e0018b
-AC_ARG_WITH([keyutils],
e0018b
-	    AS_HELP_STRING([--with-keyutils],
e0018b
-			[Enable keyutils functionality (security).  @<:@default=yes@:>@]), [], [with_keyutils=yes])
e0018b
-
e0018b
-if test "x$with_keyutils" = "xyes"; then
e0018b
-	AC_CHECK_HEADERS([keyutils.h],,[
e0018b
-		AC_MSG_ERROR([keyutils.h not found, consider installing the keyutils library development package (variously named keyutils-libs-devel, keyutils-devel, or libkeyutils-dev).])
e0018b
-		])
e0018b
-fi
e0018b
-AS_IF([test "x$with_keyutils" = "xyes"],
e0018b
-	[AC_DEFINE([ENABLE_KEYUTILS], [1], [Enable keyutils support])])
e0018b
-AM_CONDITIONAL([ENABLE_KEYUTILS], [test "x$with_keyutils" = "xyes"])
e0018b
-
e0018b
-ndctl_keysdir=${sysconfdir}/ndctl/keys
e0018b
-ndctl_keysreadme=keys.readme
e0018b
-AC_SUBST([ndctl_keysdir])
e0018b
-AC_SUBST([ndctl_keysreadme])
e0018b
-
e0018b
-my_CFLAGS="\
e0018b
--Wall \
e0018b
--Wchar-subscripts \
e0018b
--Wformat-security \
e0018b
--Wmissing-declarations \
e0018b
--Wmissing-prototypes \
e0018b
--Wnested-externs \
e0018b
--Wshadow \
e0018b
--Wsign-compare \
e0018b
--Wstrict-prototypes \
e0018b
--Wtype-limits \
e0018b
--Wmaybe-uninitialized \
e0018b
--Wdeclaration-after-statement \
e0018b
--Wunused-result \
e0018b
--D_FORTIFY_SOURCE=2 \
e0018b
--O2
e0018b
-"
e0018b
-AC_SUBST([my_CFLAGS])
e0018b
-
e0018b
-AC_CONFIG_HEADERS(config.h)
e0018b
-AC_CONFIG_FILES([
e0018b
-        Makefile
e0018b
-        daxctl/lib/Makefile
e0018b
-        cxl/lib/Makefile
e0018b
-        ndctl/lib/Makefile
e0018b
-        ndctl/Makefile
e0018b
-        daxctl/Makefile
e0018b
-        cxl/Makefile
e0018b
-        test/Makefile
e0018b
-        Documentation/ndctl/Makefile
e0018b
-        Documentation/daxctl/Makefile
e0018b
-        Documentation/cxl/Makefile
e0018b
-        Documentation/cxl/lib/Makefile
e0018b
-])
e0018b
-
e0018b
-AC_OUTPUT
e0018b
-AC_MSG_RESULT([
e0018b
-        $PACKAGE $VERSION
e0018b
-        =====
e0018b
-
e0018b
-        prefix:                 ${prefix}
e0018b
-        sysconfdir:             ${sysconfdir}
e0018b
-        libdir:                 ${libdir}
e0018b
-        includedir:             ${includedir}
e0018b
-
e0018b
-        compiler:               ${CC}
e0018b
-        cflags:                 ${CFLAGS}
e0018b
-        ldflags:                ${LDFLAGS}
e0018b
-
e0018b
-        logging:                ${enable_logging}
e0018b
-        debug:                  ${enable_debug}
e0018b
-])
e0018b
diff -up ndctl-71.1/cxl/Makefile.am /dev/null
e0018b
--- ndctl-71.1/cxl/Makefile.am	2022-10-07 18:39:13.131886476 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,25 +0,0 @@
e0018b
-include $(top_srcdir)/Makefile.am.in
e0018b
-
e0018b
-bin_PROGRAMS = cxl
e0018b
-
e0018b
-DISTCLEANFILES = config.h
e0018b
-BUILT_SOURCES = config.h
e0018b
-config.h: $(srcdir)/Makefile.am
e0018b
-	$(AM_V_GEN) echo "/* Autogenerated by cxl/Makefile.am */" >$@
e0018b
-
e0018b
-cxl_SOURCES =\
e0018b
-		cxl.c \
e0018b
-		list.c \
e0018b
-		memdev.c \
e0018b
-		../util/json.c \
e0018b
-		json.c \
e0018b
-		filter.c \
e0018b
-		filter.h \
e0018b
-		builtin.h
e0018b
-
e0018b
-cxl_LDADD =\
e0018b
-	lib/libcxl.la \
e0018b
-	../libutil.a \
e0018b
-	$(UUID_LIBS) \
e0018b
-	$(KMOD_LIBS) \
e0018b
-	$(JSON_LIBS)
e0018b
diff -up ndctl-71.1/cxl/lib/Makefile.am /dev/null
e0018b
--- ndctl-71.1/cxl/lib/Makefile.am	2022-10-07 18:39:13.041886169 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,32 +0,0 @@
e0018b
-include $(top_srcdir)/Makefile.am.in
e0018b
-
e0018b
-%.pc: %.pc.in Makefile
e0018b
-	$(SED_PROCESS)
e0018b
-
e0018b
-pkginclude_HEADERS = ../libcxl.h ../cxl_mem.h
e0018b
-lib_LTLIBRARIES = libcxl.la
e0018b
-
e0018b
-libcxl_la_SOURCES =\
e0018b
-	../libcxl.h \
e0018b
-	private.h \
e0018b
-	../../util/sysfs.c \
e0018b
-	../../util/sysfs.h \
e0018b
-	../../util/log.c \
e0018b
-	../../util/log.h \
e0018b
-	libcxl.c
e0018b
-
e0018b
-libcxl_la_LIBADD =\
e0018b
-	$(UUID_LIBS) \
e0018b
-	$(KMOD_LIBS)
e0018b
-
e0018b
-EXTRA_DIST += libcxl.sym
e0018b
-
e0018b
-libcxl_la_LDFLAGS = $(AM_LDFLAGS) \
e0018b
-	-version-info $(LIBCXL_CURRENT):$(LIBCXL_REVISION):$(LIBCXL_AGE) \
e0018b
-	-Wl,--version-script=$(top_srcdir)/cxl/lib/libcxl.sym
e0018b
-libcxl_la_DEPENDENCIES = libcxl.sym
e0018b
-
e0018b
-pkgconfigdir = $(libdir)/pkgconfig
e0018b
-pkgconfig_DATA = libcxl.pc
e0018b
-EXTRA_DIST += libcxl.pc.in
e0018b
-CLEANFILES += libcxl.pc
e0018b
diff -up ndctl-71.1/daxctl/Makefile.am /dev/null
e0018b
--- ndctl-71.1/daxctl/Makefile.am	2022-10-07 18:39:13.132886479 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,33 +0,0 @@
e0018b
-include $(top_srcdir)/Makefile.am.in
e0018b
-
e0018b
-bin_PROGRAMS = daxctl
e0018b
-
e0018b
-DISTCLEANFILES = config.h
e0018b
-BUILT_SOURCES = config.h
e0018b
-config.h: $(srcdir)/Makefile.am
e0018b
-	$(AM_V_GEN) echo "/* Autogenerated by daxctl/Makefile.am */" >$@ && \
e0018b
-	echo '#define DAXCTL_MODPROBE_DATA \
e0018b
-		"$(daxctl_modprobe_datadir)/$(daxctl_modprobe_data)"' >>$@ && \
e0018b
-	echo '#define DAXCTL_MODPROBE_INSTALL \
e0018b
-		"$(sysconfdir)/modprobe.d/$(daxctl_modprobe_data)"' >>$@
e0018b
-
e0018b
-daxctl_SOURCES =\
e0018b
-		daxctl.c \
e0018b
-		acpi.c \
e0018b
-		list.c \
e0018b
-		migrate.c \
e0018b
-		device.c \
e0018b
-		../util/json.c \
e0018b
-		../util/json.h \
e0018b
-		json.c \
e0018b
-		json.h \
e0018b
-		filter.c \
e0018b
-		filter.h \
e0018b
-		builtin.h
e0018b
-
e0018b
-daxctl_LDADD =\
e0018b
-	lib/libdaxctl.la \
e0018b
-	../libutil.a \
e0018b
-	$(UUID_LIBS) \
e0018b
-	$(KMOD_LIBS) \
e0018b
-	$(JSON_LIBS)
e0018b
diff -up ndctl-71.1/daxctl/lib/Makefile.am /dev/null
e0018b
--- ndctl-71.1/daxctl/lib/Makefile.am	2020-12-22 16:44:57.000000000 -0500
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,36 +0,0 @@
e0018b
-include $(top_srcdir)/Makefile.am.in
e0018b
-
e0018b
-%.pc: %.pc.in Makefile
e0018b
-	$(SED_PROCESS)
e0018b
-
e0018b
-pkginclude_HEADERS = ../libdaxctl.h
e0018b
-lib_LTLIBRARIES = libdaxctl.la
e0018b
-
e0018b
-libdaxctl_la_SOURCES =\
e0018b
-	../libdaxctl.h \
e0018b
-	libdaxctl-private.h \
e0018b
-	../../util/iomem.c \
e0018b
-	../../util/iomem.h \
e0018b
-	../../util/sysfs.c \
e0018b
-	../../util/sysfs.h \
e0018b
-	../../util/log.c \
e0018b
-	../../util/log.h \
e0018b
-	libdaxctl.c
e0018b
-
e0018b
-libdaxctl_la_LIBADD =\
e0018b
-	$(UUID_LIBS) \
e0018b
-	$(KMOD_LIBS)
e0018b
-
e0018b
-daxctl_modprobe_data_DATA = daxctl.conf
e0018b
-
e0018b
-EXTRA_DIST += libdaxctl.sym daxctl.conf
e0018b
-
e0018b
-libdaxctl_la_LDFLAGS = $(AM_LDFLAGS) \
e0018b
-	-version-info $(LIBDAXCTL_CURRENT):$(LIBDAXCTL_REVISION):$(LIBDAXCTL_AGE) \
e0018b
-	-Wl,--version-script=$(top_srcdir)/daxctl/lib/libdaxctl.sym
e0018b
-libdaxctl_la_DEPENDENCIES = libdaxctl.sym
e0018b
-
e0018b
-pkgconfigdir = $(libdir)/pkgconfig
e0018b
-pkgconfig_DATA = libdaxctl.pc
e0018b
-EXTRA_DIST += libdaxctl.pc.in
e0018b
-CLEANFILES += libdaxctl.pc
e0018b
diff -up ndctl-71.1/ndctl.spec.in.orig ndctl-71.1/ndctl.spec.in
e0018b
--- ndctl-71.1/ndctl.spec.in.orig	2022-10-07 18:39:13.183886653 -0400
e0018b
+++ ndctl-71.1/ndctl.spec.in	2022-10-07 18:44:39.333997092 -0400
e0018b
@@ -6,21 +6,16 @@ License:	GPLv2
e0018b
 Url:		https://github.com/pmem/ndctl
e0018b
 Source0:	https://github.com/pmem/%{name}/archive/v%{version}.tar.gz#/%{name}-%{version}.tar.gz
e0018b
 
e0018b
-%define with_meson MESON
e0018b
 Requires:	LNAME%{?_isa} = %{version}-%{release}
e0018b
 Requires:	DAX_LNAME%{?_isa} = %{version}-%{release}
e0018b
 Requires:	CXL_LNAME%{?_isa} = %{version}-%{release}
e0018b
 BuildRequires:	autoconf
e0018b
 %if 0%{?rhel} < 9
e0018b
 BuildRequires:	asciidoc
e0018b
-%if !%{with_meson}
e0018b
-%define asciidoc --disable-asciidoctor
e0018b
-%endif
e0018b
+%define asciidoctor -Dasciidoctor=disabled
e0018b
 %else
e0018b
-%if %{with_meson}
e0018b
-%define asciidoctor -Dasciidoctor=enabled
e0018b
-%endif
e0018b
 BuildRequires:	rubygem-asciidoctor
e0018b
+%define asciidoctor -Dasciidoctor=enabled
e0018b
 %endif
e0018b
 BuildRequires:	xmlto
e0018b
 BuildRequires:	automake
e0018b
@@ -34,9 +29,7 @@ BuildRequires:	pkgconfig(bash-completion
e0018b
 BuildRequires:	pkgconfig(systemd)
e0018b
 BuildRequires:	keyutils-libs-devel
e0018b
 
e0018b
-%if %{with_meson}
e0018b
 BuildRequires:	meson
e0018b
-%endif
e0018b
 
e0018b
 %description
e0018b
 Utility library for managing the "libnvdimm" subsystem.  The "libnvdimm"
e0018b
@@ -125,30 +118,14 @@ libcxl is a library for enumerating and
e0018b
 %setup -q ndctl-%{version}
e0018b
 
e0018b
 %build
e0018b
-%if %{with_meson}
e0018b
 %meson %{?asciidoctor} -Dversion-tag=%{version}
e0018b
 %meson_build
e0018b
-%else
e0018b
-echo %{version} > version
e0018b
-./autogen.sh
e0018b
-%configure --disable-static --disable-silent-rules %{?asciidoc}
e0018b
-make %{?_smp_mflags}
e0018b
-%endif
e0018b
 
e0018b
 %install
e0018b
-%if %{with_meson}
e0018b
 %meson_install
e0018b
-%else
e0018b
-%make_install
e0018b
-find $RPM_BUILD_ROOT -name '*.la' -exec rm -f {} ';'
e0018b
-%endif
e0018b
 
e0018b
 %check
e0018b
-%if %{with_meson}
e0018b
 %meson_test
e0018b
-%else
e0018b
-make check
e0018b
-%endif
e0018b
 
e0018b
 %ldconfig_scriptlets -n LNAME
e0018b
 
e0018b
diff -up ndctl-71.1/ndctl/Makefile.am /dev/null
e0018b
--- ndctl-71.1/ndctl/Makefile.am	2022-10-07 18:39:13.135886489 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,83 +0,0 @@
e0018b
-include $(top_srcdir)/Makefile.am.in
e0018b
-
e0018b
-bin_PROGRAMS = ndctl
e0018b
-
e0018b
-DISTCLEANFILES = config.h
e0018b
-BUILT_SOURCES = config.h
e0018b
-config.h: $(srcdir)/Makefile.am
e0018b
-	$(AM_V_GEN) echo "/* Autogenerated by ndctl/Makefile.am */" >$@ && \
e0018b
-	echo '#define NDCTL_CONF_FILE \
e0018b
-		"$(ndctl_monitorconfdir)/$(ndctl_monitorconf)"' >>$@
e0018b
-	$(AM_V_GEN) echo '#define NDCTL_KEYS_DIR  "$(ndctl_keysdir)"' >>$@
e0018b
-
e0018b
-ndctl_SOURCES = ndctl.c \
e0018b
-		builtin.h \
e0018b
-		bus.c \
e0018b
-		create-nfit.c \
e0018b
-		namespace.c \
e0018b
-		check.c \
e0018b
-		region.c \
e0018b
-		dimm.c \
e0018b
-		../util/log.c \
e0018b
-		../daxctl/filter.c \
e0018b
-		../daxctl/filter.h \
e0018b
-		filter.c \
e0018b
-		filter.h \
e0018b
-		list.c \
e0018b
-		../util/json.c \
e0018b
-		../util/json.h \
e0018b
-		../daxctl/json.c \
e0018b
-		../daxctl/json.h \
e0018b
-		json.c \
e0018b
-		json.h \
e0018b
-		json-smart.c \
e0018b
-		keys.h \
e0018b
-		inject-error.c \
e0018b
-		inject-smart.c \
e0018b
-		monitor.c \
e0018b
-		namespace.h \
e0018b
-		action.h \
e0018b
-		../nfit.h \
e0018b
-		../test.h \
e0018b
-		firmware-update.h
e0018b
-
e0018b
-if ENABLE_KEYUTILS
e0018b
-ndctl_SOURCES += keys.c \
e0018b
-		load-keys.c
e0018b
-keys_configdir = $(ndctl_keysdir)
e0018b
-keys_config_DATA = $(ndctl_keysreadme)
e0018b
-endif
e0018b
-
e0018b
-EXTRA_DIST += keys.readme monitor.conf ndctl-monitor.service
e0018b
-
e0018b
-if ENABLE_DESTRUCTIVE
e0018b
-ndctl_SOURCES += ../test/pmem_namespaces.c
e0018b
-ndctl_SOURCES += bat.c
e0018b
-endif
e0018b
-
e0018b
-ndctl_LDADD =\
e0018b
-	lib/libndctl.la \
e0018b
-	../daxctl/lib/libdaxctl.la \
e0018b
-	../libutil.a \
e0018b
-	$(UUID_LIBS) \
e0018b
-	$(KMOD_LIBS) \
e0018b
-	$(JSON_LIBS)
e0018b
-
e0018b
-if ENABLE_KEYUTILS
e0018b
-ndctl_LDADD += -lkeyutils
e0018b
-endif
e0018b
-
e0018b
-if ENABLE_TEST
e0018b
-ndctl_SOURCES += ../test/libndctl.c \
e0018b
-		 ../test/dsm-fail.c \
e0018b
-		 ../util/sysfs.c \
e0018b
-		 ../test/core.c \
e0018b
-		 test.c
e0018b
-endif
e0018b
-
e0018b
-monitor_configdir = $(ndctl_monitorconfdir)
e0018b
-monitor_config_DATA = $(ndctl_monitorconf)
e0018b
-
e0018b
-if ENABLE_SYSTEMD_UNITS
e0018b
-systemd_unit_DATA = ndctl-monitor.service
e0018b
-endif
e0018b
diff -up ndctl-71.1/ndctl/lib/Makefile.am /dev/null
e0018b
--- ndctl-71.1/ndctl/lib/Makefile.am	2020-12-22 16:44:57.000000000 -0500
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,52 +0,0 @@
e0018b
-include $(top_srcdir)/Makefile.am.in
e0018b
-
e0018b
-%.pc: %.pc.in Makefile
e0018b
-	$(SED_PROCESS)
e0018b
-
e0018b
-pkginclude_HEADERS = ../libndctl.h ../ndctl.h
e0018b
-lib_LTLIBRARIES = libndctl.la
e0018b
-
e0018b
-libndctl_la_SOURCES =\
e0018b
-	../libndctl.h \
e0018b
-	private.h \
e0018b
-	../../util/list.h \
e0018b
-	../../util/log.c \
e0018b
-	../../util/log.h \
e0018b
-	../../util/sysfs.c \
e0018b
-	../../util/sysfs.h \
e0018b
-	../../util/fletcher.h \
e0018b
-	dimm.c \
e0018b
-	inject.c \
e0018b
-	nfit.c \
e0018b
-	smart.c \
e0018b
-	intel.c \
e0018b
-	hpe1.c \
e0018b
-	msft.c \
e0018b
-	hyperv.c \
e0018b
-	papr.c \
e0018b
-	ars.c \
e0018b
-	firmware.c \
e0018b
-	libndctl.c \
e0018b
-	intel.h \
e0018b
-	hpe1.h \
e0018b
-	msft.h \
e0018b
-	hyperv.h \
e0018b
-	../../ndctl/libndctl-nfit.h
e0018b
-
e0018b
-libndctl_la_LIBADD =\
e0018b
-	../../daxctl/lib/libdaxctl.la \
e0018b
-	$(UDEV_LIBS) \
e0018b
-	$(UUID_LIBS) \
e0018b
-	$(KMOD_LIBS)
e0018b
-
e0018b
-EXTRA_DIST += libndctl.sym
e0018b
-
e0018b
-libndctl_la_LDFLAGS = $(AM_LDFLAGS) \
e0018b
-	-version-info $(LIBNDCTL_CURRENT):$(LIBNDCTL_REVISION):$(LIBNDCTL_AGE) \
e0018b
-	-Wl,--version-script=$(top_srcdir)/ndctl/lib/libndctl.sym
e0018b
-libndctl_la_DEPENDENCIES = libndctl.sym
e0018b
-
e0018b
-pkgconfigdir = $(libdir)/pkgconfig
e0018b
-pkgconfig_DATA = libndctl.pc
e0018b
-EXTRA_DIST += libndctl.pc.in
e0018b
-CLEANFILES += libndctl.pc
e0018b
diff -up ndctl-71.1/rhel/meson.build.orig ndctl-71.1/rhel/meson.build
e0018b
--- ndctl-71.1/rhel/meson.build.orig	2022-10-07 18:39:13.184886656 -0400
e0018b
+++ ndctl-71.1/rhel/meson.build	2022-10-07 18:41:13.892297627 -0400
e0018b
@@ -7,8 +7,7 @@ rhel_spec1 = vcs_tag(
e0018b
 
e0018b
 rhel_spec2 = custom_target('ndctl.spec',
e0018b
   command : [
e0018b
-    'sed', '-e', 's,MESON,1,g',
e0018b
-	   '-e', 's,DAX_DNAME,daxctl-devel,g',
e0018b
+    'sed', '-e', 's,DAX_DNAME,daxctl-devel,g',
e0018b
 	   '-e', 's,CXL_DNAME,cxl-devel,g',
e0018b
 	   '-e', 's,DNAME,ndctl-devel,g',
e0018b
 	   '-e', '/^%defattr.*/d',
e0018b
diff -up ndctl-71.1/sles/meson.build.orig ndctl-71.1/sles/meson.build
e0018b
--- ndctl-71.1/sles/meson.build.orig	2022-10-07 18:39:13.184886656 -0400
e0018b
+++ ndctl-71.1/sles/meson.build	2022-10-07 18:41:13.893297631 -0400
e0018b
@@ -18,8 +18,7 @@ sles_spec2 = custom_target('ndctl.spec.i
e0018b
 
e0018b
 sles_spec3 = custom_target('ndctl.spec',
e0018b
   command : [
e0018b
-    'sed', '-e', 's,MESON,1,g',
e0018b
-           '-e', 's,DAX_DNAME,libdaxctl-devel,g',
e0018b
+    'sed', '-e', 's,DAX_DNAME,libdaxctl-devel,g',
e0018b
            '-e', 's,CXL_DNAME,libcxl-devel,g',
e0018b
            '-e', 's,DNAME,libndctl-devel,g',
e0018b
            '-e', 's,%license,%doc,g',
e0018b
diff -up ndctl-71.1/test/Makefile.am /dev/null
e0018b
--- ndctl-71.1/test/Makefile.am	2022-10-07 18:39:13.146886527 -0400
e0018b
+++ /dev/null	2022-07-27 11:30:34.495212588 -0400
e0018b
@@ -1,169 +0,0 @@
e0018b
-include $(top_srcdir)/Makefile.am.in
e0018b
-
e0018b
-TESTS =\
e0018b
-	libndctl \
e0018b
-	dsm-fail \
e0018b
-	create.sh \
e0018b
-	clear.sh \
e0018b
-	pmem-errors.sh \
e0018b
-	daxdev-errors.sh \
e0018b
-	multi-dax.sh \
e0018b
-	btt-check.sh \
e0018b
-	label-compat.sh \
e0018b
-	sector-mode.sh \
e0018b
-	inject-error.sh \
e0018b
-	btt-errors.sh \
e0018b
-	hugetlb \
e0018b
-	btt-pad-compat.sh \
e0018b
-	firmware-update.sh \
e0018b
-	ack-shutdown-count-set \
e0018b
-	rescan-partitions.sh \
e0018b
-	inject-smart.sh \
e0018b
-	monitor.sh \
e0018b
-	max_available_extent_ns.sh \
e0018b
-	pfn-meta-errors.sh \
e0018b
-	track-uuid.sh
e0018b
-
e0018b
-EXTRA_DIST += $(TESTS) common \
e0018b
-		btt-pad-compat.xxd \
e0018b
-		nmem1.bin nmem2.bin nmem3.bin nmem4.bin
e0018b
-
e0018b
-check_PROGRAMS =\
e0018b
-	libndctl \
e0018b
-	dsm-fail \
e0018b
-	dax-errors \
e0018b
-	smart-notify \
e0018b
-	smart-listen \
e0018b
-	hugetlb \
e0018b
-	daxdev-errors \
e0018b
-	ack-shutdown-count-set \
e0018b
-	list-smart-dimm
e0018b
-
e0018b
-if ENABLE_DESTRUCTIVE
e0018b
-TESTS +=\
e0018b
-	pmem-ns \
e0018b
-	sub-section.sh \
e0018b
-	dax-dev \
e0018b
-	dax-ext4.sh \
e0018b
-	dax-xfs.sh \
e0018b
-	align.sh \
e0018b
-	device-dax \
e0018b
-	revoke-devmem \
e0018b
-	device-dax-fio.sh \
e0018b
-	daxctl-devices.sh \
e0018b
-	daxctl-create.sh \
e0018b
-	dm.sh \
e0018b
-	mmap.sh
e0018b
-
e0018b
-if ENABLE_KEYUTILS
e0018b
-TESTS += security.sh
e0018b
-endif
e0018b
-
e0018b
-check_PROGRAMS +=\
e0018b
-	pmem-ns \
e0018b
-	dax-dev \
e0018b
-	dax-pmd \
e0018b
-	device-dax \
e0018b
-	revoke-devmem \
e0018b
-	mmap
e0018b
-endif
e0018b
-
e0018b
-LIBNDCTL_LIB =\
e0018b
-       ../ndctl/lib/libndctl.la \
e0018b
-       ../daxctl/lib/libdaxctl.la
e0018b
-
e0018b
-testcore =\
e0018b
-	core.c \
e0018b
-	../util/log.c \
e0018b
-	../util/sysfs.c
e0018b
-
e0018b
-libndctl_SOURCES = libndctl.c $(testcore)
e0018b
-libndctl_LDADD = $(LIBNDCTL_LIB) $(UUID_LIBS) $(KMOD_LIBS)
e0018b
-
e0018b
-namespace_core =\
e0018b
-	../ndctl/namespace.c \
e0018b
-	../ndctl/filter.c \
e0018b
-	../ndctl/check.c \
e0018b
-	../util/json.c \
e0018b
-	../ndctl/json.c \
e0018b
-	../daxctl/filter.c \
e0018b
-	../daxctl/json.c
e0018b
-
e0018b
-dsm_fail_SOURCES =\
e0018b
-	dsm-fail.c \
e0018b
-	$(testcore) \
e0018b
-	$(namespace_core)
e0018b
-
e0018b
-dsm_fail_LDADD = $(LIBNDCTL_LIB) \
e0018b
-		$(KMOD_LIBS) \
e0018b
-		$(JSON_LIBS) \
e0018b
-		$(UUID_LIBS) \
e0018b
-		../libutil.a
e0018b
-
e0018b
-ack_shutdown_count_set_SOURCES =\
e0018b
-	ack-shutdown-count-set.c \
e0018b
-	$(testcore)
e0018b
-
e0018b
-ack_shutdown_count_set_LDADD = $(LIBNDCTL_LIB) $(KMOD_LIBS)
e0018b
-
e0018b
-pmem_ns_SOURCES = pmem_namespaces.c $(testcore)
e0018b
-pmem_ns_LDADD = $(LIBNDCTL_LIB) $(KMOD_LIBS) $(UUID_LIBS)
e0018b
-
e0018b
-dax_dev_SOURCES = dax-dev.c $(testcore)
e0018b
-dax_dev_LDADD = $(LIBNDCTL_LIB) $(KMOD_LIBS)
e0018b
-
e0018b
-dax_pmd_SOURCES = dax-pmd.c \
e0018b
-		$(testcore)
e0018b
-
e0018b
-hugetlb_SOURCES = hugetlb.c \
e0018b
-		  dax-pmd.c
e0018b
-
e0018b
-mmap_SOURCES = mmap.c
e0018b
-dax_errors_SOURCES = dax-errors.c
e0018b
-daxdev_errors_SOURCES = daxdev-errors.c \
e0018b
-			../util/log.c \
e0018b
-			../util/sysfs.c
e0018b
-daxdev_errors_LDADD = $(LIBNDCTL_LIB)
e0018b
-device_dax_SOURCES = \
e0018b
-		device-dax.c \
e0018b
-		dax-dev.c \
e0018b
-		dax-pmd.c \
e0018b
-		$(testcore) \
e0018b
-		$(namespace_core)
e0018b
-
e0018b
-if ENABLE_POISON
e0018b
-dax_pmd_SOURCES += dax-poison.c
e0018b
-hugetlb_SOURCES += dax-poison.c
e0018b
-device_dax_SOURCES += dax-poison.c
e0018b
-endif
e0018b
-
e0018b
-device_dax_LDADD = \
e0018b
-		$(LIBNDCTL_LIB) \
e0018b
-		$(KMOD_LIBS) \
e0018b
-		$(JSON_LIBS) \
e0018b
-                $(UUID_LIBS) \
e0018b
-		../libutil.a
e0018b
-
e0018b
-revoke_devmem_SOURCES = \
e0018b
-		revoke-devmem.c \
e0018b
-		dax-dev.c \
e0018b
-		$(testcore)
e0018b
-
e0018b
-revoke_devmem_LDADD = $(LIBNDCTL_LIB)
e0018b
-
e0018b
-smart_notify_SOURCES = smart-notify.c
e0018b
-smart_notify_LDADD = $(LIBNDCTL_LIB)
e0018b
-smart_listen_SOURCES = smart-listen.c
e0018b
-smart_listen_LDADD = $(LIBNDCTL_LIB)
e0018b
-
e0018b
-list_smart_dimm_SOURCES = \
e0018b
-		list-smart-dimm.c \
e0018b
-		../ndctl/filter.c \
e0018b
-		../util/json.c \
e0018b
-		../ndctl/json.c
e0018b
-
e0018b
-list_smart_dimm_LDADD = \
e0018b
-		$(LIBNDCTL_LIB) \
e0018b
-		$(JSON_LIBS) \
e0018b
-		$(UUID_LIBS) \
e0018b
-		../libutil.a