diff options
Diffstat (limited to 'cppe/config/makedepend.py')
-rwxr-xr-x | cppe/config/makedepend.py | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/cppe/config/makedepend.py b/cppe/config/makedepend.py deleted file mode 100755 index dac97a0626d..00000000000 --- a/cppe/config/makedepend.py +++ /dev/null @@ -1,37 +0,0 @@ -#!/usr/bin/env python -# ********************************************************************** -# -# Copyright (c) 2003-2007 ZeroC, Inc. All rights reserved. -# -# This copy of Ice-E is licensed to you under the terms described in the -# ICEE_LICENSE file included in this distribution. -# -# ********************************************************************** - -import fileinput, re, string - -previous = "" - -for line in fileinput.input(): - line = line.strip() - - if re.compile("^#").search(line, 0): - continue; - - line = string.replace(line, ".o:", "$(OBJEXT):") - - if(previous): - line = previous + " " + line - - if(line[-1] == "\\"): - previous = line[:-2] - continue - else: - previous = "" - - for s in line.split(): - if(s[0] != "/"): - print s, - - print - |