X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=build%2FautoMakefile.am.toplevel;h=030d30b0d1bdf6c45eabc31688d9a1aa3633a1ef;hb=fa3493b9f62b2d86e47c586650b8999bacd761a4;hp=5336f2c78500550409291afb5724242cc28759b5;hpb=356b11c36639b3470c197129a92f4cf26f61d87a;p=fs%2Flustre-release.git diff --git a/build/autoMakefile.am.toplevel b/build/autoMakefile.am.toplevel index 5336f2c..030d30b 100644 --- a/build/autoMakefile.am.toplevel +++ b/build/autoMakefile.am.toplevel @@ -1,7 +1,7 @@ AUTOMAKE_OPTIONS = foreign SUBDIRS := . build @LIBSYSIO_SUBDIR@ portals lustre -DIST_SUBDIRS := build @LIBSYSIO_SUBDIR@ portals lustre +DIST_SUBDIRS := build libsysio portals lustre EXTRA_DIST := config.h.in @@ -27,12 +27,13 @@ tags: find $(top_srcdir) -name '*.[hc]' | xargs ctags $$CTAGSF -a if MODULES -all-am: modules - all-sources: $(MAKE) sources -C portals $(MAKE) sources -C lustre +if LINUX +all-am: modules + if !LINUX25 DEP = dep dep: .depend @@ -44,13 +45,14 @@ dep: .depend _FASTDEP_ALL_SUB_DIRS="$(PWD)" CLEANFILES = .depend -endif +endif # !LINUX25 modules: $(DEP) all-sources $(MAKE) $(ARCH_UM) CC="$(CC)" -C $(LINUX_OBJ) \ -f $(PWD)/build/Makefile LUSTRE_LINUX_CONFIG=$(LINUX_CONFIG) \ $(MODULE_TARGET)=$(PWD) -o tmp_include_depends -o scripts -o \ include/config/MARKER $@ +endif # LINUX endif # MODULES