[pypy-svn] r40488 - in pypy/dist/pypy/translator/cli: . src
antocuni at codespeak.net
antocuni at codespeak.net
Wed Mar 14 15:29:13 CET 2007
Author: antocuni
Date: Wed Mar 14 15:29:01 2007
New Revision: 40488
Removed:
pypy/dist/pypy/translator/cli/src/ll_os-unix.cs
Modified:
pypy/dist/pypy/translator/cli/rte.py
Log:
kill the unused UnixDll
Modified: pypy/dist/pypy/translator/cli/rte.py
==============================================================================
--- pypy/dist/pypy/translator/cli/rte.py (original)
+++ pypy/dist/pypy/translator/cli/rte.py Wed Mar 14 15:29:01 2007
@@ -76,20 +76,12 @@
return SDK.ilasm()
get_COMPILER = classmethod(get_COMPILER)
-class FrameworkDLL(Target):
+class PyPyLibDLL(Target):
SOURCES = ['pypylib.cs', 'll_os.cs', 'll_os_path.cs', 'errno.cs', 'll_math.cs']
OUTPUT = 'pypylib.dll'
- ALIAS = 'pypylib-framework.dll'
FLAGS = ['/t:library', '/unsafe', '/r:main.exe']
DEPENDENCIES = [MainStub]
-class UnixDLL(Target):
- SOURCES = ['pypylib.cs', 'll_os-unix.cs', 'll_math.cs']
- OUTPUT = 'pypylib.dll'
- ALIAS = 'pypylib-unix.dll'
- FLAGS = ['/t:library', '/unsafe', '/r:Mono.Posix', '/r:main.exe']
- DEPENDENCIES = [MainStub]
-
class Query(Target):
SOURCES = ['query.cs']
OUTPUT = 'query.exe'
@@ -109,12 +101,7 @@
FLAGS = ['/t:library']
def get_pypy_dll():
- if os.environ.get('PYPYLIB', '').lower() == 'unix':
- DLL = UnixDLL
- else:
- DLL = FrameworkDLL
- return DLL.get()
-
+ return PyPyLibDLL.get()
if __name__ == '__main__':
get_pypy_dll()
More information about the Pypy-commit
mailing list