lctl_LDADD := liblustreapi.a $(LIBPTLCTL) $(PTHREAD_LIBS) $(LIBREADLINE)
lctl_DEPENDENCIES := $(LIBPTLCTL) liblustreapi.a
-lfs_SOURCES = lfs.c obd.c lustre_cfg.c
-lfs_LDADD := liblustreapi.a $(LIBPTLCTL) $(PTHREAD_LIBS) $(LIBREADLINE)
+lfs_SOURCES = lfs.c
+lfs_LDADD := liblustreapi.a $(LIBPTLCTL) $(LIBREADLINE)
lfs_DEPENDENCIES := $(LIBPTLCTL) liblustreapi.a
loadgen_SOURCES = loadgen.c lustre_cfg.c obd.c
llverdev_LDADD := $(EXT2FSLIB) $(BLKIDLIB)
+L_STRING := $(top_builddir)/libcfs/libcfs/user-string.c
L_IOCTL := $(top_builddir)/libcfs/libcfs/util/l_ioctl.c
L_KERNELCOMM := $(top_builddir)/libcfs/libcfs/kernel_user_comm.c
liblustreapitmp_a_SOURCES = liblustreapi.c liblustreapi_hsm.c \
liblustreapi_nodemap.c lustreapi_internal.h \
- liblustreapi_json.c $(L_IOCTL) $(L_KERNELCOMM)
+ liblustreapi_json.c $(L_IOCTL) $(L_KERNELCOMM) \
+ $(L_STRING)
# build static and shared lib lustreapi
liblustreapi.a : liblustreapitmp.a
mount_osd_ldiskfs_la_SOURCES = mount_utils_ldiskfs.c
mount_osd_ldiskfs_la_LDFLAGS = -shared -export-dynamic -module -avoid-version
-mount_osd_ldiskfs_LDADD = libiam.a
endif
mount_lustre_SOURCES = mount_lustre.c mount_utils.c mount_utils.h
ltrack_stats_SOURCES = ltrack_stats.c
lhsmtool_posix_SOURCES = lhsmtool_posix.c
-lhsmtool_posix_LDADD := liblustreapi.a $(PTHREAD_LIBS)
-lhsmtool_posix_DEPENDENCIES := liblustreapi.a
+lhsmtool_posix_LDADD := liblustreapi.a $(LIBPTLCTL) $(PTHREAD_LIBS)
+lhsmtool_posix_DEPENDENCIES := liblustreapi.a $(LIBPTLCTL)
wirecheck_SOURCES = wirecheck.c
wirecheck_CPPFLAGS = -DCC="\"$(CC)\""
LANG=C ./wirecheck >> wiretest.c
cp ../ptlrpc/wirehdr.c ../ptlrpc/wiretest.c
LANG=C ./wirecheck >> ../ptlrpc/wiretest.c
-