@@ -3,14 +3,14 @@ include $(top_srcdir)/Makefile.am.in
bin_PROGRAMS = ndctl
ndctl_SOURCES = ndctl.c \
- builtin-create-nfit.c \
- builtin-xaction-namespace.c \
- builtin-check.c \
- builtin-xable-region.c \
- builtin-dimm.c \
+ create-nfit.c \
+ namespace.c \
+ check.c \
+ region.c \
+ dimm.c \
../util/log.c \
- builtin-list.c \
- builtin-test.c \
+ list.c \
+ test.c \
../util/json.c
if ENABLE_SMART
@@ -20,7 +20,7 @@ endif
if ENABLE_DESTRUCTIVE
ndctl_SOURCES += ../test/blk_namespaces.c \
../test/pmem_namespaces.c
-ndctl_SOURCES += builtin-bat.c
+ndctl_SOURCES += bat.c
endif
ndctl_LDADD =\
similarity index 100%
rename from ndctl/builtin-bat.c
rename to ndctl/bat.c
similarity index 100%
rename from ndctl/builtin-check.c
rename to ndctl/check.c
similarity index 100%
rename from ndctl/builtin-create-nfit.c
rename to ndctl/create-nfit.c
similarity index 100%
rename from ndctl/builtin-dimm.c
rename to ndctl/dimm.c
similarity index 100%
rename from ndctl/builtin-list.c
rename to ndctl/list.c
similarity index 100%
rename from ndctl/builtin-xaction-namespace.c
rename to ndctl/namespace.c
similarity index 100%
rename from ndctl/builtin-xable-region.c
rename to ndctl/region.c
similarity index 100%
rename from ndctl/builtin-test.c
rename to ndctl/test.c
@@ -79,8 +79,8 @@ device_dax_SOURCES = \
dax-dev.c \
dax-pmd.c \
$(testcore) \
- ../ndctl/builtin-xaction-namespace.c \
- ../ndctl/builtin-check.c \
+ ../ndctl/namespace.c \
+ ../ndctl/check.c \
../util/json.c
device_dax_LDADD = \
$(LIBNDCTL_LIB) \
@@ -91,8 +91,8 @@ device_dax_LDADD = \
multi_pmem_SOURCES = \
multi-pmem.c \
$(testcore) \
- ../ndctl/builtin-xaction-namespace.c \
- ../ndctl/builtin-check.c \
+ ../ndctl/namespace.c \
+ ../ndctl/check.c \
../util/json.c
multi_pmem_LDADD = \
$(LIBNDCTL_LIB) \
The "builtin" designation is a hold over from the initial duplication of git infrastructure where builtin commands are differentiated from shell helper commands. Since ndctl only has the former the prefix is not useful. Signed-off-by: Dan Williams <dan.j.williams@intel.com> --- ndctl/Makefile.am | 16 ++++++++-------- ndctl/bat.c | 0 ndctl/check.c | 0 ndctl/create-nfit.c | 0 ndctl/dimm.c | 0 ndctl/list.c | 0 ndctl/namespace.c | 0 ndctl/region.c | 0 ndctl/test.c | 0 test/Makefile.am | 8 ++++---- 10 files changed, 12 insertions(+), 12 deletions(-) rename ndctl/{builtin-bat.c => bat.c} (100%) rename ndctl/{builtin-check.c => check.c} (100%) rename ndctl/{builtin-create-nfit.c => create-nfit.c} (100%) rename ndctl/{builtin-dimm.c => dimm.c} (100%) rename ndctl/{builtin-list.c => list.c} (100%) rename ndctl/{builtin-xaction-namespace.c => namespace.c} (100%) rename ndctl/{builtin-xable-region.c => region.c} (100%) rename ndctl/{builtin-test.c => test.c} (100%)