summaryrefslogtreecommitdiff
path: root/cpp/config/makedepend.py
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/config/makedepend.py')
-rwxr-xr-xcpp/config/makedepend.py42
1 files changed, 0 insertions, 42 deletions
diff --git a/cpp/config/makedepend.py b/cpp/config/makedepend.py
deleted file mode 100755
index 5572347c6d0..00000000000
--- a/cpp/config/makedepend.py
+++ /dev/null
@@ -1,42 +0,0 @@
-#!/usr/bin/env python
-# **********************************************************************
-#
-# Copyright (c) 2003-2008 ZeroC, Inc. All rights reserved.
-#
-# This copy of Ice is licensed to you under the terms described in the
-# ICE_LICENSE file included in this distribution.
-#
-# **********************************************************************
-
-import fileinput, re, string
-
-previous = ""
-
-commentre = re.compile("^#")
-
-for line in fileinput.input():
- line = line.strip()
-
- if commentre.search(line, 0):
- continue;
-
- if len(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
-