Whamcloud - gitweb
LU-8837 utils: make tools lightweight for lustre clients
[fs/lustre-release.git] / lustre / include / uapi / linux / lustre / Makefile.am
index a2e099e..cd941ec 100644 (file)
 
 lustreincludedir = /usr/include/linux/lustre
 lustreinclude_HEADERS = \
-       lustre_barrier_user.h \
        lustre_cfg.h \
-       lustre_disk.h \
        lustre_fid.h \
        lustre_fiemap.h \
        lustre_idl.h \
        lustre_ioctl.h \
        lustre_kernelcomm.h \
-       lustre_lfsck_user.h \
-       lustre_log_user.h \
        lustre_ostid.h \
        lustre_param.h \
        lustre_user.h \
        lustre_ver.h
 
+if SERVER
+lustreinclude_HEADERS += \
+       lustre_barrier_user.h \
+       lustre_disk.h \
+       lustre_lfsck_user.h \
+       lustre_log_user.h
+endif
+
 EXTRA_DIST = \
        lustre_barrier_user.h \
        lustre_cfg.h \