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.mips | |
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.mips')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.mips | 188 |
1 files changed, 94 insertions, 94 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.mips b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.mips index bd254fc..179d385 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.mips +++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.mips | |||
@@ -1,94 +1,94 @@ | |||
1 | # makefile for libpng | 1 | # makefile for libpng |
2 | # Copyright (C) Glenn Randers-Pehrson | 2 | # Copyright (C) Glenn Randers-Pehrson |
3 | # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. | 3 | # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. |
4 | # | 4 | # |
5 | # This code is released under the libpng license. | 5 | # This code is released under the libpng license. |
6 | # For conditions of distribution and use, see the disclaimer | 6 | # For conditions of distribution and use, see the disclaimer |
7 | # and license in png.h | 7 | # and license in png.h |
8 | 8 | ||
9 | # where make install puts libpng.a and png.h | 9 | # where make install puts libpng.a and png.h |
10 | prefix=/usr/local | 10 | prefix=/usr/local |
11 | INCPATH=$(prefix)/include | 11 | INCPATH=$(prefix)/include |
12 | LIBPATH=$(prefix)/lib | 12 | LIBPATH=$(prefix)/lib |
13 | 13 | ||
14 | # override DESTDIR= on the make install command line to easily support | 14 | # override DESTDIR= on the make install command line to easily support |
15 | # installing into a temporary location. Example: | 15 | # installing into a temporary location. Example: |
16 | # | 16 | # |
17 | # make install DESTDIR=/tmp/build/libpng | 17 | # make install DESTDIR=/tmp/build/libpng |
18 | # | 18 | # |
19 | # If you're going to install into a temporary location | 19 | # If you're going to install into a temporary location |
20 | # via DESTDIR, $(DESTDIR)$(prefix) must already exist before | 20 | # via DESTDIR, $(DESTDIR)$(prefix) must already exist before |
21 | # you execute make install. | 21 | # you execute make install. |
22 | DESTDIR= | 22 | DESTDIR= |
23 | 23 | ||
24 | CC=cc | 24 | CC=cc |
25 | CFLAGS=-I../zlib -O -systype sysv -DSYSV -w -Dmips | 25 | CFLAGS=-I../zlib -O -systype sysv -DSYSV -w -Dmips |
26 | #CFLAGS=-O | 26 | #CFLAGS=-O |
27 | LDFLAGS=-L. -L../zlib/ -lpng -lz -lm | 27 | LDFLAGS=-L. -L../zlib/ -lpng -lz -lm |
28 | 28 | ||
29 | #RANLIB=ranlib | 29 | #RANLIB=ranlib |
30 | RANLIB=echo | 30 | RANLIB=echo |
31 | 31 | ||
32 | OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ | 32 | OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ |
33 | pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ | 33 | pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ |
34 | pngwtran.o pngmem.o pngerror.o pngpread.o | 34 | pngwtran.o pngmem.o pngerror.o pngpread.o |
35 | 35 | ||
36 | all: libpng.a pngtest | 36 | all: libpng.a pngtest |
37 | 37 | ||
38 | # see scripts/pnglibconf.mak for more options | 38 | # see scripts/pnglibconf.mak for more options |
39 | pnglibconf.h: scripts/pnglibconf.h.prebuilt | 39 | pnglibconf.h: scripts/pnglibconf.h.prebuilt |
40 | cp scripts/pnglibconf.h.prebuilt $@ | 40 | cp scripts/pnglibconf.h.prebuilt $@ |
41 | 41 | ||
42 | libpng.a: $(OBJS) | 42 | libpng.a: $(OBJS) |
43 | ar rc $@ $(OBJS) | 43 | ar rc $@ $(OBJS) |
44 | $(RANLIB) $@ | 44 | $(RANLIB) $@ |
45 | 45 | ||
46 | pngtest: pngtest.o libpng.a | 46 | pngtest: pngtest.o libpng.a |
47 | $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) | 47 | $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) |
48 | 48 | ||
49 | test: pngtest | 49 | test: pngtest |
50 | ./pngtest | 50 | ./pngtest |
51 | 51 | ||
52 | install: libpng.a | 52 | install: libpng.a |
53 | -@mkdir $(DESTDIR)$(INCPATH) | 53 | -@mkdir $(DESTDIR)$(INCPATH) |
54 | -@mkdir $(DESTDIR)$(INCPATH)/libpng | 54 | -@mkdir $(DESTDIR)$(INCPATH)/libpng |
55 | -@mkdir $(DESTDIR)$(LIBPATH) | 55 | -@mkdir $(DESTDIR)$(LIBPATH) |
56 | -@rm -f $(DESTDIR)$(INCPATH)/png.h | 56 | -@rm -f $(DESTDIR)$(INCPATH)/png.h |
57 | -@rm -f $(DESTDIR)$(INCPATH)/pngconf.h | 57 | -@rm -f $(DESTDIR)$(INCPATH)/pngconf.h |
58 | -@rm -f $(DESTDIR)$(INCPATH)/pnglibconf.h | 58 | -@rm -f $(DESTDIR)$(INCPATH)/pnglibconf.h |
59 | cp png.h $(DESTDIR)$(INCPATH)/libpng | 59 | cp png.h $(DESTDIR)$(INCPATH)/libpng |
60 | cp pngconf.h $(DESTDIR)$(INCPATH)/libpng | 60 | cp pngconf.h $(DESTDIR)$(INCPATH)/libpng |
61 | cp pnglibconf.h $(DESTDIR)$(INCPATH)/libpng | 61 | cp pnglibconf.h $(DESTDIR)$(INCPATH)/libpng |
62 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h | 62 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h |
63 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h | 63 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h |
64 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/pnglibconf.h | 64 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/pnglibconf.h |
65 | (cd $(DESTDIR)$(INCPATH); ln -f -s libpng/* .) | 65 | (cd $(DESTDIR)$(INCPATH); ln -f -s libpng/* .) |
66 | cp libpng.a $(DESTDIR)$(LIBPATH) | 66 | cp libpng.a $(DESTDIR)$(LIBPATH) |
67 | chmod 644 $(DESTDIR)$(LIBPATH)/libpng.a | 67 | chmod 644 $(DESTDIR)$(LIBPATH)/libpng.a |
68 | 68 | ||
69 | clean: | 69 | clean: |
70 | rm -f *.o libpng.a pngtest pngout.png pnglibconf.h | 70 | rm -f *.o libpng.a pngtest pngout.png pnglibconf.h |
71 | 71 | ||
72 | DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO | 72 | DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO |
73 | writelock: | 73 | writelock: |
74 | chmod a-w *.[ch35] $(DOCS) scripts/* | 74 | chmod a-w *.[ch35] $(DOCS) scripts/* |
75 | 75 | ||
76 | # DO NOT DELETE THIS LINE -- make depend depends on it. | 76 | # DO NOT DELETE THIS LINE -- make depend depends on it. |
77 | 77 | ||
78 | png.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 78 | png.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
79 | pngerror.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 79 | pngerror.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
80 | pngrio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 80 | pngrio.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 | 81 | pngwio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
82 | pngmem.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 82 | pngmem.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
83 | pngset.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 83 | pngset.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
84 | pngget.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 84 | pngget.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
85 | pngread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 85 | pngread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
86 | pngpread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 86 | pngpread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
87 | pngrtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 87 | pngrtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
88 | pngrutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 88 | pngrutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
89 | pngtrans.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 89 | pngtrans.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
90 | pngwrite.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 90 | pngwrite.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
91 | pngwtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 91 | pngwtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
92 | pngwutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | 92 | pngwutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h |
93 | 93 | ||
94 | pngtest.o: png.h pngconf.h pnglibconf.h | 94 | pngtest.o: png.h pngconf.h pnglibconf.h |