diff options
author | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
---|---|---|
committer | David Walter Seikel | 2013-01-13 18:54:10 +1000 |
commit | 959831f4ef5a3e797f576c3de08cd65032c997ad (patch) | |
tree | e7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.gcc | |
parent | Add info about changes to Irrlicht. (diff) | |
download | SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.zip SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.gz SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.bz2 SledjHamr-959831f4ef5a3e797f576c3de08cd65032c997ad.tar.xz |
Remove damned ancient DOS line endings from Irrlicht. Hopefully I did not go overboard.
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.gcc')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.gcc | 174 |
1 files changed, 87 insertions, 87 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.gcc b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.gcc index c871f7d..2e5b611 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.gcc +++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.gcc | |||
@@ -1,87 +1,87 @@ | |||
1 | # makefile for libpng using gcc (generic, static library) | 1 | # makefile for libpng using gcc (generic, static library) |
2 | # Copyright (C) 2008 Glenn Randers-Pehrson | 2 | # Copyright (C) 2008 Glenn Randers-Pehrson |
3 | # Copyright (C) 2000 Cosmin Truta | 3 | # Copyright (C) 2000 Cosmin Truta |
4 | # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. | 4 | # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. |
5 | # | 5 | # |
6 | # This code is released under the libpng license. | 6 | # This code is released under the libpng license. |
7 | # For conditions of distribution and use, see the disclaimer | 7 | # For conditions of distribution and use, see the disclaimer |
8 | # and license in png.h | 8 | # and license in png.h |
9 | 9 | ||
10 | # Location of the zlib library and include files | 10 | # Location of the zlib library and include files |
11 | ZLIBINC = ../zlib | 11 | ZLIBINC = ../zlib |
12 | ZLIBLIB = ../zlib | 12 | ZLIBLIB = ../zlib |
13 | 13 | ||
14 | # Compiler, linker, lib and other tools | 14 | # Compiler, linker, lib and other tools |
15 | CC = gcc | 15 | CC = gcc |
16 | LD = $(CC) | 16 | LD = $(CC) |
17 | AR_RC = ar rcs | 17 | AR_RC = ar rcs |
18 | RANLIB = ranlib | 18 | RANLIB = ranlib |
19 | RM_F = rm -f | 19 | RM_F = rm -f |
20 | 20 | ||
21 | CDEBUG = -g -DPNG_DEBUG=5 | 21 | CDEBUG = -g -DPNG_DEBUG=5 |
22 | LDDEBUG = | 22 | LDDEBUG = |
23 | CRELEASE = -O2 | 23 | CRELEASE = -O2 |
24 | LDRELEASE = -s | 24 | LDRELEASE = -s |
25 | #CFLAGS = -W -Wall $(CDEBUG) | 25 | #CFLAGS = -W -Wall $(CDEBUG) |
26 | CFLAGS = -W -Wall $(CRELEASE) | 26 | CFLAGS = -W -Wall $(CRELEASE) |
27 | #LDFLAGS = $(LDDEBUG) | 27 | #LDFLAGS = $(LDDEBUG) |
28 | LDFLAGS = $(LDRELEASE) | 28 | LDFLAGS = $(LDRELEASE) |
29 | LIBS = -lz -lm | 29 | LIBS = -lz -lm |
30 | 30 | ||
31 | # File extensions | 31 | # File extensions |
32 | O=.o | 32 | O=.o |
33 | A=.a | 33 | A=.a |
34 | EXE= | 34 | EXE= |
35 | 35 | ||
36 | # Variables | 36 | # Variables |
37 | OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \ | 37 | OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \ |
38 | pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O) \ | 38 | pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O) \ |
39 | pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O) | 39 | pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O) |
40 | 40 | ||
41 | # Targets | 41 | # Targets |
42 | all: static | 42 | all: static |
43 | 43 | ||
44 | # see scripts/pnglibconf.mak for more options | 44 | # see scripts/pnglibconf.mak for more options |
45 | pnglibconf.h: scripts/pnglibconf.h.prebuilt | 45 | pnglibconf.h: scripts/pnglibconf.h.prebuilt |
46 | cp scripts/pnglibconf.h.prebuilt $@ | 46 | cp scripts/pnglibconf.h.prebuilt $@ |
47 | 47 | ||
48 | .c$(O): | 48 | .c$(O): |
49 | $(CC) -c $(CFLAGS) -I$(ZLIBINC) $< | 49 | $(CC) -c $(CFLAGS) -I$(ZLIBINC) $< |
50 | 50 | ||
51 | static: libpng$(A) pngtest$(EXE) | 51 | static: libpng$(A) pngtest$(EXE) |
52 | 52 | ||
53 | shared: | 53 | shared: |
54 | @echo This is a generic makefile that cannot create shared libraries. | 54 | @echo This is a generic makefile that cannot create shared libraries. |
55 | @echo Please use a configuration that is specific to your platform. | 55 | @echo Please use a configuration that is specific to your platform. |
56 | @false | 56 | @false |
57 | 57 | ||
58 | libpng$(A): $(OBJS) | 58 | libpng$(A): $(OBJS) |
59 | $(AR_RC) $@ $(OBJS) | 59 | $(AR_RC) $@ $(OBJS) |
60 | $(RANLIB) $@ | 60 | $(RANLIB) $@ |
61 | 61 | ||
62 | test: pngtest$(EXE) | 62 | test: pngtest$(EXE) |
63 | ./pngtest$(EXE) | 63 | ./pngtest$(EXE) |
64 | 64 | ||
65 | pngtest$(EXE): pngtest$(O) libpng$(A) | 65 | pngtest$(EXE): pngtest$(O) libpng$(A) |
66 | $(LD) $(LDFLAGS) -L$(ZLIBLIB) -o $@ pngtest$(O) libpng$(A) $(LIBS) | 66 | $(LD) $(LDFLAGS) -L$(ZLIBLIB) -o $@ pngtest$(O) libpng$(A) $(LIBS) |
67 | 67 | ||
68 | clean: | 68 | clean: |
69 | $(RM_F) *$(O) libpng$(A) pngtest$(EXE) pngout.png pnglibconf.h | 69 | $(RM_F) *$(O) libpng$(A) pngtest$(EXE) pngout.png pnglibconf.h |
70 | 70 | ||
71 | png$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 71 | png$(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 | 72 | pngerror$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
73 | pngget$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 73 | pngget$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
74 | pngmem$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 74 | pngmem$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
75 | pngpread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 75 | pngpread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
76 | pngread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 76 | pngread$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
77 | pngrio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 77 | pngrio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
78 | pngrtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 78 | pngrtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
79 | pngrutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 79 | pngrutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
80 | pngset$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 80 | pngset$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
81 | pngtrans$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 81 | pngtrans$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
82 | pngwio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 82 | pngwio$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
83 | pngwrite$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 83 | pngwrite$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
84 | pngwtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 84 | pngwtran$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
85 | pngwutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 85 | pngwutil$(O): png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
86 | 86 | ||
87 | pngtest$(O): png.h pngconf.h pnglibconf.h | 87 | pngtest$(O): png.h pngconf.h pnglibconf.h |