José Fonseca | 60159c1 | 2008-02-28 16:34:32 +0900 | [diff] [blame] | 1 | # MinGW config include file updated for Mesa 7.0 |
| 2 | # |
| 3 | # Updated : by Heromyth, on 2007-7-21 |
| 4 | # Email : zxpmyth@yahoo.com.cn |
| 5 | # Bugs : 1) All the default settings work fine. But the setting X86=1 can't work. |
| 6 | # The others havn't been tested yet. |
| 7 | # 2) The generated DLLs are *not* compatible with the ones built |
| 8 | # with the other compilers like VC8, especially for GLUT. |
| 9 | # 3) Although more tests are needed, it can be used individually! |
| 10 | |
| 11 | # The generated DLLs by MingW with STDCALL are not totally compatible |
| 12 | # with the ones linked by Microsoft's compilers. |
| 13 | # |
| 14 | # xxx_USING_STDCALL = 1 Compiling MESA with __stdcall. This is default! |
| 15 | # |
| 16 | # xxx_USING_STDCALL = 0 Compiling MESA without __stdcall. I like this:) |
| 17 | # |
| 18 | |
| 19 | # In fact, GL_USING_STDCALL and GLUT_USING_STDCALL can be |
| 20 | # different. For example: |
| 21 | # |
| 22 | # GL_USING_STDCALL = 0 |
| 23 | # GLUT_USING_STDCALL = 1 |
| 24 | # |
| 25 | # Suggested setting: |
| 26 | # |
| 27 | # ALL_USING_STDCALL = 1 |
| 28 | # |
| 29 | # That's default! |
| 30 | # |
| 31 | |
| 32 | |
| 33 | ALL_USING_STDCALL = 1 |
| 34 | |
| 35 | |
| 36 | ifeq ($(ALL_USING_STDCALL),1) |
| 37 | GL_USING_STDCALL = 1 |
| 38 | GLUT_USING_STDCALL = 1 |
| 39 | else |
| 40 | GL_USING_STDCALL = 0 |
| 41 | GLUT_USING_STDCALL = 0 |
| 42 | endif |