1 # Copyright (C) 2001 Cluster File Systems, Inc.
3 # This code is issued under the GNU General Public License.
4 # See the file COPYING in this distribution
6 include $(src)/../portals/Kernelenv
9 obdclass-objs := llog.o llog_cat.o class_obd.o debug.o \
10 genops.o sysctl.o uuid.o lprocfs_status.o lustre_handles.o \
11 lustre_peer.o statfs_pack.o obdo.o llog_lvfs.o llog_obd.o \
12 obd_config.o llog_ioctl.o
14 $(obj)/class_obd.o: lustre_build_version
16 # XXX I'm sure there's some automake mv-if-different helper for this.
20 perl $(src)/../scripts/version_tag.pl $(src)/.. $(obj)/.. > $(obj)/tmpver
21 cmp -s $(src)/../include/linux/lustre_build_version.h $(obj)/tmpver \
23 $(RM) $(obj)/tmpver || \
24 mv $(obj)/tmpver $(src)/../include/linux/lustre_build_version.h