Whamcloud - gitweb
44c7ec7cb05f61a92208d1aff0e7e472cb1ba82e
[fs/lustre-release.git] / lustre / obdclass / Makefile.am
1 # FIXME: we need to make it clear that obdclass.o depends on
2 # lustre_build_version, or 'make -j2' breaks!
3 DEFS=
4 MODULE = obdclass
5 modulefs_DATA = lustre_build_version obdclass.o
6 EXTRA_PROGRAMS = obdclass
7 obdclass_SOURCES = debug.c genops.c class_obd.c sysctl.c uuid.c lprocfs_status.c
8 include $(top_srcdir)/Rules
9 lustre_build_version:
10         perl $(top_srcdir)/scripts/version_tag.pl $(top_srcdir) > tmpver
11         diff -u tmpver $(top_builddir)/include/linux/lustre_build_version.h &&\
12                 $(RM) tmpver || \
13                 mv tmpver $(top_builddir)/include/linux/lustre_build_version.h