sbin_PROGRAMS += mkfs.lustre tunefs.lustre
endif
if LIBPTHREAD
-sbin_PROGRAMS += loadgen
+sbin_PROGRAMS += loadgen lhsmtool_posix
endif
bin_PROGRAMS = lfs req_layout
bin_SCRIPTS = $(bin_scripts)
ltrack_stats_SOURCES = ltrack_stats.c
+lhsmtool_posix_SOURCES = lhsmtool_posix.c
+lhsmtool_posix_LDADD := liblustreapi.a $(PTHREAD_LIBS)
+lhsmtool_posix_DEPENDENCIES := liblustreapi.a
+
EXTRA_DIST = $(sbin_scripts) $(bin_scripts)
# NOTE: this should only be run on i386.