1 SUBDIRS := . build @LIBSYSIO_SUBDIR@ portals lustre
2 DIST_SUBDIRS := build @LIBSYSIO_SUBDIR@ portals lustre
4 # these empty rules are needed so that automake doesn't add its own
15 rm -f $(top_srcdir)/TAGS
16 ETAGSF=`etags --version | grep -iq exuberant && \
17 echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
18 find $(top_srcdir) -name '*.[hc]' | xargs etags $$ETAGSF -a
20 rm -f $(top_srcdir)/tags
21 CTAGSF=`ctags --version | grep -iq exuberant && \
22 echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
23 find $(top_srcdir) -name '*.[hc]' | xargs ctags $$CTAGSF -a
29 $(MAKE) sources -C portals
30 $(MAKE) sources -C lustre
37 $(MAKE) $(ARCH_UM) CC="$(CC)" -C $(LINUX_OBJ) \
38 -f $(PWD)/build/Makefile LUSTRE_LINUX_CONFIG=$(LINUX_CONFIG) \
39 -o scripts -o include/config/MARKER _sfdep_$(PWD) \
40 _FASTDEP_ALL_SUB_DIRS="$(PWD)"
45 modules: $(DEP) all-sources
46 $(MAKE) $(ARCH_UM) CC="$(CC)" -C $(LINUX_OBJ) \
47 -f $(PWD)/build/Makefile LUSTRE_LINUX_CONFIG=$(LINUX_CONFIG) \
48 $(MODULE_TARGET)=$(PWD) -o tmp_include_depends -o scripts -o \
49 include/config/MARKER $@
54 find $(distdir) -name .deps | xargs rm -rf
55 find $(distdir) -name CVS | xargs rm -rf
58 rpmbuild -ta $(distdir).tar.gz