1 AUTOMAKE_OPTIONS = foreign
3 SUBDIRS := . build @LIBSYSIO_SUBDIR@ portals lustre
4 DIST_SUBDIRS := build @LIBSYSIO_SUBDIR@ portals lustre
6 EXTRA_DIST := config.h.in
8 # these empty rules are needed so that automake doesn't add its own
19 rm -f $(top_srcdir)/TAGS
20 ETAGSF=`etags --version | grep -iq exuberant && \
21 echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
22 find $(top_srcdir) -name '*.[hc]' | xargs etags $$ETAGSF -a
24 rm -f $(top_srcdir)/tags
25 CTAGSF=`ctags --version | grep -iq exuberant && \
26 echo "-I __initdata,__exitdata,EXPORT_SYMBOL"`; \
27 find $(top_srcdir) -name '*.[hc]' | xargs ctags $$CTAGSF -a
33 $(MAKE) sources -C portals
34 $(MAKE) sources -C lustre
41 $(MAKE) $(ARCH_UM) CC="$(CC)" -C $(LINUX_OBJ) \
42 -f $(PWD)/build/Makefile LUSTRE_LINUX_CONFIG=$(LINUX_CONFIG) \
43 -o scripts -o include/config/MARKER _sfdep_$(PWD) \
44 _FASTDEP_ALL_SUB_DIRS="$(PWD)"
49 modules: $(DEP) all-sources
50 $(MAKE) $(ARCH_UM) CC="$(CC)" -C $(LINUX_OBJ) \
51 -f $(PWD)/build/Makefile LUSTRE_LINUX_CONFIG=$(LINUX_CONFIG) \
52 $(MODULE_TARGET)=$(PWD) -o tmp_include_depends -o scripts -o \
53 include/config/MARKER $@
58 find $(distdir) -name .deps | xargs rm -rf
59 find $(distdir) -name CVS | xargs rm -rf
62 rpmbuild -ta $(distdir).tar.gz