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