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.atari | |
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.atari')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.atari | 126 |
1 files changed, 63 insertions, 63 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.atari b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.atari index aa28ce5..1aeb7d5 100644 --- a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.atari +++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.atari | |||
@@ -1,63 +1,63 @@ | |||
1 | # makefile for libpng | 1 | # makefile for libpng |
2 | # Copyright (C) 2002 Glenn Randers-Pehrson | 2 | # Copyright (C) 2002 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 | # Modified for LC56/ATARI assumes libz.lib is in same dir and uses default | 9 | # Modified for LC56/ATARI assumes libz.lib is in same dir and uses default |
10 | # rules for library management | 10 | # rules for library management |
11 | # | 11 | # |
12 | CFLAGS=-I..\zlib -O | 12 | CFLAGS=-I..\zlib -O |
13 | LBR = png.lib | 13 | LBR = png.lib |
14 | LDFLAGS=-lpng -lz -lm | 14 | LDFLAGS=-lpng -lz -lm |
15 | 15 | ||
16 | # where make install puts libpng.a and png.h | 16 | # where make install puts libpng.a and png.h |
17 | prefix=/usr/local | 17 | prefix=/usr/local |
18 | INCPATH=$(prefix)/include | 18 | INCPATH=$(prefix)/include |
19 | LIBPATH=$(prefix)/lib | 19 | LIBPATH=$(prefix)/lib |
20 | 20 | ||
21 | # override DESTDIR= on the make install command line to easily support | 21 | # override DESTDIR= on the make install command line to easily support |
22 | # installing into a temporary location. Example: | 22 | # installing into a temporary location. Example: |
23 | # | 23 | # |
24 | # make install DESTDIR=/tmp/build/libpng | 24 | # make install DESTDIR=/tmp/build/libpng |
25 | # | 25 | # |
26 | # If you're going to install into a temporary location | 26 | # If you're going to install into a temporary location |
27 | # via DESTDIR, $(DESTDIR)$(prefix) must already exist before | 27 | # via DESTDIR, $(DESTDIR)$(prefix) must already exist before |
28 | # you execute make install. | 28 | # you execute make install. |
29 | DESTDIR= | 29 | DESTDIR= |
30 | 30 | ||
31 | OBJS = $(LBR)(png.o) $(LBR)(pngset.o) $(LBR)(pngget.o) $(LBR)(pngrutil.o)\ | 31 | OBJS = $(LBR)(png.o) $(LBR)(pngset.o) $(LBR)(pngget.o) $(LBR)(pngrutil.o)\ |
32 | $(LBR)(pngtrans.o) $(LBR)(pngwutil.o)\ | 32 | $(LBR)(pngtrans.o) $(LBR)(pngwutil.o)\ |
33 | $(LBR)(pngread.o) $(LBR)(pngerror.o) $(LBR)(pngwrite.o)\ | 33 | $(LBR)(pngread.o) $(LBR)(pngerror.o) $(LBR)(pngwrite.o)\ |
34 | $(LBR)(pngrtran.o) $(LBR)(pngwtran.o)\ | 34 | $(LBR)(pngrtran.o) $(LBR)(pngwtran.o)\ |
35 | $(LBR)(pngmem.o) $(LBR)(pngrio.o) $(LBR)(pngwio.o) $(LBR)(pngpread.o) | 35 | $(LBR)(pngmem.o) $(LBR)(pngrio.o) $(LBR)(pngwio.o) $(LBR)(pngpread.o) |
36 | 36 | ||
37 | all: $(LBR) pngtest.ttp | 37 | all: $(LBR) pngtest.ttp |
38 | 38 | ||
39 | $(LBR): $(OBJS) | 39 | $(LBR): $(OBJS) |
40 | 40 | ||
41 | $(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h | 41 | $(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h |
42 | 42 | ||
43 | pnglibconf.h: scripts/pnglibconf.h.prebuilt | 43 | pnglibconf.h: scripts/pnglibconf.h.prebuilt |
44 | cp scripts/pnglibconf.h.prebuilt pnglibconf.h | 44 | cp scripts/pnglibconf.h.prebuilt pnglibconf.h |
45 | 45 | ||
46 | pngtest.ttp: pngtest.o $(LBR) | 46 | pngtest.ttp: pngtest.o $(LBR) |
47 | $(CC) $(CFLAGS) $(LDFLAGS) -o$@ pngtest.o | 47 | $(CC) $(CFLAGS) $(LDFLAGS) -o$@ pngtest.o |
48 | 48 | ||
49 | install: libpng.a | 49 | install: libpng.a |
50 | -@mkdir $(DESTDIR)$(INCPATH) | 50 | -@mkdir $(DESTDIR)$(INCPATH) |
51 | -@mkdir $(DESTDIR)$(INCPATH)/libpng | 51 | -@mkdir $(DESTDIR)$(INCPATH)/libpng |
52 | -@mkdir $(DESTDIR)$(LIBPATH) | 52 | -@mkdir $(DESTDIR)$(LIBPATH) |
53 | -@rm -f $(DESTDIR)$(INCPATH)/png.h | 53 | -@rm -f $(DESTDIR)$(INCPATH)/png.h |
54 | -@rm -f $(DESTDIR)$(INCPATH)/pngconf.h | 54 | -@rm -f $(DESTDIR)$(INCPATH)/pngconf.h |
55 | -@rm -f $(DESTDIR)$(INCPATH)/pnglibconf.h | 55 | -@rm -f $(DESTDIR)$(INCPATH)/pnglibconf.h |
56 | cp png.h $(DESTDIR)$(INCPATH)/libpng | 56 | cp png.h $(DESTDIR)$(INCPATH)/libpng |
57 | cp pngconf.h $(DESTDIR)$(INCPATH)/libpng | 57 | cp pngconf.h $(DESTDIR)$(INCPATH)/libpng |
58 | cp pnglibconf.h $(DESTDIR)$(INCPATH)/libpng | 58 | cp pnglibconf.h $(DESTDIR)$(INCPATH)/libpng |
59 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h | 59 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h |
60 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h | 60 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h |
61 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/pnglibconf.h | 61 | chmod 644 $(DESTDIR)$(INCPATH)/libpng/pnglibconf.h |
62 | (cd $(DESTDIR)$(INCPATH); ln -f -s $(LIBNAME) libpng; \ | 62 | (cd $(DESTDIR)$(INCPATH); ln -f -s $(LIBNAME) libpng; \ |
63 | ln -f -s $(LIBNAME)/* .) | 63 | ln -f -s $(LIBNAME)/* .) |