@@ -33,6 +33,8 @@ man1_MANS = \
daxctl-online-memory.1 \
daxctl-offline-memory.1
+EXTRA_DIST = $(man1_MANS)
+
CLEANFILES = $(man1_MANS)
XML_DEPS = \
@@ -57,6 +57,8 @@ man1_MANS = \
ndctl-load-keys.1 \
ndctl-wait-overwrite.1
+EXTRA_DIST = $(man1_MANS)
+
CLEANFILES = $(man1_MANS)
.ONESHELL:
@@ -13,6 +13,10 @@ version.m4: FORCE
FORCE:
+EXTRA_DIST += ndctl.spec.in \
+ sles/header \
+ contrib/nvdimm-security.conf
+
noinst_SCRIPTS = rhel/ndctl.spec sles/ndctl.spec
CLEANFILES += $(noinst_SCRIPTS)
@@ -75,6 +79,12 @@ libutil_a_SOURCES = \
util/filter.c \
util/bitmap.c \
util/abspath.c \
- util/iomem.c
+ util/iomem.c \
+ util/util.h \
+ util/strbuf.h \
+ util/size.h \
+ util/main.h \
+ util/filter.h \
+ util/bitmap.h
nobase_include_HEADERS = daxctl/libdaxctl.h
@@ -16,7 +16,8 @@ daxctl_SOURCES =\
list.c \
migrate.c \
device.c \
- ../util/json.c
+ ../util/json.c \
+ builtin.h
daxctl_LDADD =\
lib/libdaxctl.la \
@@ -23,7 +23,7 @@ libdaxctl_la_LIBADD =\
daxctl_modprobe_data_DATA = daxctl.conf
-EXTRA_DIST += libdaxctl.sym
+EXTRA_DIST += libdaxctl.sym daxctl.conf
libdaxctl_la_LDFLAGS = $(AM_LDFLAGS) \
-version-info $(LIBDAXCTL_CURRENT):$(LIBDAXCTL_REVISION):$(LIBDAXCTL_AGE) \
@@ -11,6 +11,7 @@ config.h: $(srcdir)/Makefile.am
$(AM_V_GEN) echo '#define NDCTL_KEYS_DIR "$(ndctl_keysdir)"' >>$@
ndctl_SOURCES = ndctl.c \
+ builtin.h \
bus.c \
create-nfit.c \
namespace.c \
@@ -20,11 +21,18 @@ ndctl_SOURCES = ndctl.c \
../util/log.c \
list.c \
../util/json.c \
+ ../util/json.h \
util/json-smart.c \
util/json-firmware.c \
+ util/keys.h \
inject-error.c \
inject-smart.c \
- monitor.c
+ monitor.c \
+ namespace.h \
+ action.h \
+ ../nfit.h \
+ ../test.h \
+ firmware-update.h
if ENABLE_KEYUTILS
ndctl_SOURCES += util/keys.c \
@@ -33,6 +41,8 @@ keys_configdir = $(ndctl_keysdir)
keys_config_DATA = $(ndctl_keysreadme)
endif
+EXTRA_DIST += keys.readme monitor.conf ndctl-monitor.service
+
if ENABLE_DESTRUCTIVE
ndctl_SOURCES += ../test/blk_namespaces.c \
../test/pmem_namespaces.c
@@ -9,10 +9,12 @@ lib_LTLIBRARIES = libndctl.la
libndctl_la_SOURCES =\
../libndctl.h \
private.h \
+ ../../util/list.h \
../../util/log.c \
../../util/log.h \
../../util/sysfs.c \
../../util/sysfs.h \
+ ../../util/fletcher.h \
dimm.c \
inject.c \
nfit.c \
@@ -23,7 +25,12 @@ libndctl_la_SOURCES =\
hyperv.c \
ars.c \
firmware.c \
- libndctl.c
+ libndctl.c \
+ intel.h \
+ hpe1.h \
+ msft.h \
+ hyperv.h \
+ ../../ndctl/libndctl-nfit.h
libndctl_la_LIBADD =\
../../daxctl/lib/libdaxctl.la \
@@ -27,6 +27,8 @@ TESTS =\
max_available_extent_ns.sh \
pfn-meta-errors.sh
+EXTRA_DIST = $(TESTS)
+
check_PROGRAMS =\
libndctl \
dsm-fail \