2001-07-06 13:12:14 +00:00
|
|
|
# generic utility modules
|
|
|
|
|
# (c) 2001 jannet it services
|
|
|
|
|
# contact@jannet.de
|
|
|
|
|
# $Id$
|
|
|
|
|
|
2009-05-27 11:56:26 +00:00
|
|
|
.NOTPARALLEL:
|
|
|
|
|
|
2001-07-27 22:02:40 +00:00
|
|
|
include $(MODDIR)/make/defs.mk
|
2001-07-06 13:12:14 +00:00
|
|
|
|
2009-06-02 12:46:17 +00:00
|
|
|
SUBDIRS ?= $(FIND_SUBDIRS)
|
|
|
|
|
|
2010-12-04 13:59:24 +00:00
|
|
|
ifeq ($(SUBDIRS_TO_ITERATE),)
|
2010-12-02 21:43:03 +00:00
|
|
|
|
2002-02-20 17:21:59 +00:00
|
|
|
all:
|
2001-10-29 17:10:45 +00:00
|
|
|
subdirs:
|
2001-11-06 07:50:14 +00:00
|
|
|
clean distclean:
|
|
|
|
|
.DEFAULT:
|
|
|
|
|
install:
|
2010-12-02 21:43:03 +00:00
|
|
|
|
2001-10-29 17:10:45 +00:00
|
|
|
else
|
2010-12-04 13:59:24 +00:00
|
|
|
.PHONY: $(SUBDIRS_TO_ITERATE)
|
2010-12-02 21:43:03 +00:00
|
|
|
|
2005-07-30 12:52:36 +00:00
|
|
|
all subdirs:
|
2001-07-06 13:12:14 +00:00
|
|
|
$(make_subdirs)
|
|
|
|
|
|
2010-12-02 21:43:03 +00:00
|
|
|
$(MAKECMDGOALS):
|
2007-09-04 21:51:47 +00:00
|
|
|
$(make_subdirs_target)
|
|
|
|
|
|
2010-12-02 21:43:03 +00:00
|
|
|
clean: dirs.clean
|
|
|
|
|
distclean: dirs.distclean clean
|
|
|
|
|
|
|
|
|
|
dirs.clean:
|
2009-06-02 12:46:17 +00:00
|
|
|
rm -rf $(TEXTCLEAN) $(CLEAN) dist *.done *~ .*.swp *.tmp core *.rep
|
2001-07-06 13:12:14 +00:00
|
|
|
|
2010-12-02 21:43:03 +00:00
|
|
|
dirs.distclean:
|
2002-07-25 10:39:55 +00:00
|
|
|
rm -rf $(DISTCLEAN)
|
|
|
|
|
|
2001-07-06 13:12:14 +00:00
|
|
|
.DEFAULT:
|
|
|
|
|
$(make_subdirs_target)
|
2001-10-29 17:10:45 +00:00
|
|
|
endif
|