1# Time-stamp: <07/02/05 12:57:11 ptr> 2# 3# Copyright (c) 1997-1999, 2002, 2003, 2005, 2006 4# Petr Ovtchenkov 5# 6# Portion Copyright (c) 1999-2001 7# Parallel Graphics Ltd. 8# 9# Licensed under the Academic Free License version 3.0 10# 11 12PHONY += release-static-dep release-shared-dep dbg-static-dep dbg-shared-dep \ 13 depend 14 15ifndef WITHOUT_STLPORT 16PHONY += stldbg-static-dep stldbg-shared-dep 17endif 18 19release-static-dep release-shared-dep: $(DEP) 20 21dbg-static-dep dbg-shared-dep: $(DEP_DBG) 22 23ifndef WITHOUT_STLPORT 24stldbg-static-dep stldbg-shared-dep: $(DEP_STLDBG) 25 26_ALL_DEP := $(DEP) $(DEP_DBG) $(DEP_STLDBG) 27_DASH_DEP := release-shared-dep dbg-shared-dep stldbg-shared-dep 28else 29_ALL_DEP := $(DEP) $(DEP_DBG) 30_DASH_DEP := release-shared-dep dbg-shared-dep 31endif 32 33 34depend:: $(OUTPUT_DIRS) ${_DASH_DEP} 35 @cat -s $(_ALL_DEP) /dev/null > $(DEPENDS_COLLECTION) 36 37TAGS: $(OUTPUT_DIRS) ${_DASH_DEP} 38 @cat -s $(_ALL_DEP) /dev/null | sed -e 's/^.*://;s/^ *//;s/\\$$//;s/ $$//;s/ /\n/g' | sort | uniq | xargs etags -I --declarations 39 40ifneq ($(OSREALNAME),mingw) 41tags: $(OUTPUT_DIRS) ${_DASH_DEP} 42 @cat -s $(_ALL_DEP) /dev/null | sed -e 's/^.*://;s/^ *//;s/\\$$//;s/ $$//;s/ /\n/g' | sort | uniq | xargs ctags -d --globals --declarations -t -T 43endif 44 45-include $(DEPENDS_COLLECTION) 46