Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/lib/threadframe/GNUmakefile.mingw2
diff options
context:
space:
mode:
Diffstat (limited to 'lib/threadframe/GNUmakefile.mingw2')
-rw-r--r--lib/threadframe/GNUmakefile.mingw218
1 files changed, 0 insertions, 18 deletions
diff --git a/lib/threadframe/GNUmakefile.mingw2 b/lib/threadframe/GNUmakefile.mingw2
deleted file mode 100644
index f5c0df4..0000000
--- a/lib/threadframe/GNUmakefile.mingw2
+++ /dev/null
@@ -1,18 +0,0 @@
-PYTHON:= $(shell python -c "import sys;print '%%d%%d' %% sys.version_info[:2]")
-
-threadframe.pyd: threadframe.o libpython$(PYTHON).a
- dllwrap --dllname threadframe.pyd --driver-name=gcc --def threadframe.def -o threadframe.pyd threadframe.o -s --entry _DllMain@12 --target=i386-mingw32 -L. -lpython$(PYTHON)
-
-threadframe.o: threadframemodule.c
- gcc -I"C:\Program Files\Python$(PYTHON)\include" -O3 -c -o $@ -DNDEBUG $<
-libpython$(PYTHON).a: python$(PYTHON).def C:\WINNT\system32\python$(PYTHON).dll
- dlltool --dllname python$(PYTHON).dll --def python$(PYTHON).def --output-lib libpython$(PYTHON).a
-
-python$(PYTHON).def: C:\WINNT\system32\python$(PYTHON).dll
- pexports C:\WINNT\system32\python$(PYTHON).dll > python$(PYTHON).def
-
-clean:
- -del threadframe.pyd
- -del libpython$(PYTHON).a
- -del threadframe.o
- -del python$(PYTHON).def