Whamcloud - gitweb
b=4642
[fs/lustre-release.git] / build / autoMakefile.am.toplevel
index 1283dec..030d30b 100644 (file)
@@ -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