1 SUBDIRS := . build @LIBSYSIO_SUBDIR@ portals lustre
2 DIST_SUBDIRS := build @LIBSYSIO_SUBDIR@ portals lustre
4 EXTRA_DIST := config.h.in
6 # these empty rules are needed so that automake doesn't add its own
17 rm -f $(top_srcdir)/TAGS
18 ETAGSF=`etags --version | grep -iq exuberant && \
19 echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
20 find $(top_srcdir) -name '*.[hc]' | xargs etags $$ETAGSF -a
22 rm -f $(top_srcdir)/tags
23 CTAGSF=`ctags --version | grep -iq exuberant && \
24 echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
25 find $(top_srcdir) -name '*.[hc]' | xargs ctags $$CTAGSF -a
31 $(MAKE) sources -C portals
32 $(MAKE) sources -C lustre
39 $(MAKE) $(ARCH_UM) CC="$(CC)" -C $(LINUX_OBJ) \
40 -f $(PWD)/build/Makefile LUSTRE_LINUX_CONFIG=$(LINUX_CONFIG) \
41 -o scripts -o include/config/MARKER _sfdep_$(PWD) \
42 _FASTDEP_ALL_SUB_DIRS="$(PWD)"
47 modules: $(DEP) all-sources
48 $(MAKE) $(ARCH_UM) CC="$(CC)" -C $(LINUX_OBJ) \
49 -f $(PWD)/build/Makefile LUSTRE_LINUX_CONFIG=$(LINUX_CONFIG) \
50 $(MODULE_TARGET)=$(PWD) -o tmp_include_depends -o scripts -o \
51 include/config/MARKER $@
56 find $(distdir) -name .deps | xargs rm -rf
57 find $(distdir) -name CVS | xargs rm -rf
60 rpmbuild -ta $(distdir).tar.gz