diff options
Diffstat (limited to '')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.intel | 220 |
1 files changed, 110 insertions, 110 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.intel b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.intel index 4231078..1cb9ef3 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.intel +++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.intel | |||
@@ -1,110 +1,110 @@ | |||
1 | # Makefile for libpng | 1 | # Makefile for libpng |
2 | # Microsoft Visual C++ with Intel C/C++ Compiler 4.0 and later | 2 | # Microsoft Visual C++ with Intel C/C++ Compiler 4.0 and later |
3 | 3 | ||
4 | # Copyright (C) 2006 Glenn Randers-Pehrson | 4 | # Copyright (C) 2006 Glenn Randers-Pehrson |
5 | # Copyright (C) 2000, Pawel Mrochen, based on makefile.msc which is | 5 | # Copyright (C) 2000, Pawel Mrochen, based on makefile.msc which is |
6 | # copyright 1995 Guy Eric Schalnat, Group 42, Inc. | 6 | # copyright 1995 Guy Eric Schalnat, Group 42, Inc. |
7 | # | 7 | # |
8 | # This code is released under the libpng license. | 8 | # This code is released under the libpng license. |
9 | # For conditions of distribution and use, see the disclaimer | 9 | # For conditions of distribution and use, see the disclaimer |
10 | # and license in png.h | 10 | # and license in png.h |
11 | # | 11 | # |
12 | # To use, do "nmake /f scripts\makefile.intel" | 12 | # To use, do "nmake /f scripts\makefile.intel" |
13 | # | 13 | # |
14 | # ------------------- Intel C/C++ Compiler 4.0 and later ------------------- | 14 | # ------------------- Intel C/C++ Compiler 4.0 and later ------------------- |
15 | 15 | ||
16 | # Where the zlib library and include files are located | 16 | # Where the zlib library and include files are located |
17 | ZLIBLIB=..\zlib | 17 | ZLIBLIB=..\zlib |
18 | ZLIBINC=..\zlib | 18 | ZLIBINC=..\zlib |
19 | 19 | ||
20 | # Target CPU | 20 | # Target CPU |
21 | CPU=6 # Pentium II | 21 | CPU=6 # Pentium II |
22 | #CPU=5 # Pentium | 22 | #CPU=5 # Pentium |
23 | 23 | ||
24 | # Calling convention | 24 | # Calling convention |
25 | CALLING=r # __fastcall | 25 | CALLING=r # __fastcall |
26 | #CALLING=z # __stdcall | 26 | #CALLING=z # __stdcall |
27 | #CALLING=d # __cdecl | 27 | #CALLING=d # __cdecl |
28 | 28 | ||
29 | # Uncomment next to put error messages in a file | 29 | # Uncomment next to put error messages in a file |
30 | #ERRFILE=>>pngerrs | 30 | #ERRFILE=>>pngerrs |
31 | 31 | ||
32 | # -------------------------------------------------------------------------- | 32 | # -------------------------------------------------------------------------- |
33 | 33 | ||
34 | CC=icl -c | 34 | CC=icl -c |
35 | CFLAGS=-O2 -G$(CPU)$(CALLING) -Qip -Qunroll4 -I$(ZLIBINC) -nologo | 35 | CFLAGS=-O2 -G$(CPU)$(CALLING) -Qip -Qunroll4 -I$(ZLIBINC) -nologo |
36 | LD=link | 36 | LD=link |
37 | LDFLAGS=/SUBSYSTEM:CONSOLE /NOLOGO | 37 | LDFLAGS=/SUBSYSTEM:CONSOLE /NOLOGO |
38 | 38 | ||
39 | O=.obj | 39 | O=.obj |
40 | 40 | ||
41 | OBJS=png$(O) pngset$(O) pngget$(O) pngrutil$(O) pngtrans$(O) pngwutil$(O) \ | 41 | OBJS=png$(O) pngset$(O) pngget$(O) pngrutil$(O) pngtrans$(O) pngwutil$(O) \ |
42 | pngmem$(O) pngpread$(O) pngread$(O) pngerror$(O) pngwrite$(O) \ | 42 | pngmem$(O) pngpread$(O) pngread$(O) pngerror$(O) pngwrite$(O) \ |
43 | pngrtran$(O) pngwtran$(O) pngrio$(O) pngwio$(O) | 43 | pngrtran$(O) pngwtran$(O) pngrio$(O) pngwio$(O) |
44 | 44 | ||
45 | all: test | 45 | all: test |
46 | 46 | ||
47 | # see scripts/pnglibconf.mak for more options | 47 | # see scripts/pnglibconf.mak for more options |
48 | pnglibconf.h: scripts/pnglibconf.h.prebuilt | 48 | pnglibconf.h: scripts/pnglibconf.h.prebuilt |
49 | cp scripts/pnglibconf.h.prebuilt $@ | 49 | cp scripts/pnglibconf.h.prebuilt $@ |
50 | 50 | ||
51 | png$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 51 | png$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
52 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 52 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
53 | 53 | ||
54 | pngset$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 54 | pngset$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
55 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 55 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
56 | 56 | ||
57 | pngget$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 57 | pngget$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
58 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 58 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
59 | 59 | ||
60 | pngread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 60 | pngread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
61 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 61 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
62 | 62 | ||
63 | pngpread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 63 | pngpread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
64 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 64 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
65 | 65 | ||
66 | pngrtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 66 | pngrtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
67 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 67 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
68 | 68 | ||
69 | pngrutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 69 | pngrutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
70 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 70 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
71 | 71 | ||
72 | pngerror$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 72 | pngerror$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
73 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 73 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
74 | 74 | ||
75 | pngmem$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 75 | pngmem$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
76 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 76 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
77 | 77 | ||
78 | pngrio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 78 | pngrio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
79 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 79 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
80 | 80 | ||
81 | pngwio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 81 | pngwio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
82 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 82 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
83 | 83 | ||
84 | pngtrans$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 84 | pngtrans$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
85 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 85 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
86 | 86 | ||
87 | pngwrite$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 87 | pngwrite$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
88 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 88 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
89 | 89 | ||
90 | pngwtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 90 | pngwtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
91 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 91 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
92 | 92 | ||
93 | pngwutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 93 | pngwutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
94 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 94 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
95 | 95 | ||
96 | libpng.lib: $(OBJS) | 96 | libpng.lib: $(OBJS) |
97 | if exist libpng.lib del libpng.lib | 97 | if exist libpng.lib del libpng.lib |
98 | lib /NOLOGO /OUT:libpng.lib $(OBJS) | 98 | lib /NOLOGO /OUT:libpng.lib $(OBJS) |
99 | 99 | ||
100 | pngtest.exe: pngtest.obj libpng.lib | 100 | pngtest.exe: pngtest.obj libpng.lib |
101 | $(LD) $(LDFLAGS) /OUT:pngtest.exe pngtest.obj libpng.lib $(ZLIBLIB)\zlib.lib | 101 | $(LD) $(LDFLAGS) /OUT:pngtest.exe pngtest.obj libpng.lib $(ZLIBLIB)\zlib.lib |
102 | 102 | ||
103 | pngtest$(O): png.h pngconf.h pnglibconf.h | 103 | pngtest$(O): png.h pngconf.h pnglibconf.h |
104 | $(CC) $(CFLAGS) $*.c $(ERRFILE) | 104 | $(CC) $(CFLAGS) $*.c $(ERRFILE) |
105 | 105 | ||
106 | test: pngtest.exe | 106 | test: pngtest.exe |
107 | pngtest.exe | 107 | pngtest.exe |
108 | 108 | ||
109 | 109 | ||
110 | # End of makefile for libpng | 110 | # End of makefile for libpng |