aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.sunos
diff options
context:
space:
mode:
authorDavid Walter Seikel2013-01-13 18:54:10 +1000
committerDavid Walter Seikel2013-01-13 18:54:10 +1000
commit959831f4ef5a3e797f576c3de08cd65032c997ad (patch)
treee7351908be5995f0b325b2ebeaa02d5a34b82583 /libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.sunos
parentAdd info about changes to Irrlicht. (diff)
downloadSledjHamr-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.sunos')
-rw-r--r--libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.sunos214
1 files changed, 107 insertions, 107 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.sunos b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.sunos
index 52cd4d4..3839549 100644
--- a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.sunos
+++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.sunos
@@ -1,107 +1,107 @@
1# makefile for libpng 1# makefile for libpng
2# Copyright (C) 2002, 2006 Glenn Randers-Pehrson 2# Copyright (C) 2002, 2006 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
10prefix=/usr/local 10prefix=/usr/local
11INCPATH=$(prefix)/include 11INCPATH=$(prefix)/include
12LIBPATH=$(prefix)/lib 12LIBPATH=$(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.
22DESTDIR= 22DESTDIR=
23 23
24# Where the zlib library and include files are located 24# Where the zlib library and include files are located
25#ZLIBLIB=/usr/local/lib 25#ZLIBLIB=/usr/local/lib
26#ZLIBINC=/usr/local/include 26#ZLIBINC=/usr/local/include
27ZLIBLIB=../zlib 27ZLIBLIB=../zlib
28ZLIBINC=../zlib 28ZLIBINC=../zlib
29 29
30 30
31WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow -Wconversion \ 31WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow -Wconversion \
32 -Wmissing-declarations -Wtraditional -Wcast-align \ 32 -Wmissing-declarations -Wtraditional -Wcast-align \
33 -Wstrict-prototypes -Wmissing-prototypes 33 -Wstrict-prototypes -Wmissing-prototypes
34 34
35CC=gcc 35CC=gcc
36AR_RC=ar rc 36AR_RC=ar rc
37MKDIR_P=mkdir -p 37MKDIR_P=mkdir -p
38LN_SF=ln -f -s 38LN_SF=ln -f -s
39RANLIB=ranlib 39RANLIB=ranlib
40RM_F=/bin/rm -f 40RM_F=/bin/rm -f
41 41
42CFLAGS=-I$(ZLIBINC) -O # $(WARNMORE) -DPNG_DEBUG=5 42CFLAGS=-I$(ZLIBINC) -O # $(WARNMORE) -DPNG_DEBUG=5
43LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm 43LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm
44 44
45OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ 45OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
46 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \ 46 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
47 pngwtran.o pngmem.o pngerror.o pngpread.o 47 pngwtran.o pngmem.o pngerror.o pngpread.o
48 48
49all: libpng.a pngtest 49all: libpng.a pngtest
50 50
51# see scripts/pnglibconf.mak for more options 51# see scripts/pnglibconf.mak for more options
52pnglibconf.h: scripts/pnglibconf.h.prebuilt 52pnglibconf.h: scripts/pnglibconf.h.prebuilt
53 cp scripts/pnglibconf.h.prebuilt $@ 53 cp scripts/pnglibconf.h.prebuilt $@
54 54
55libpng.a: $(OBJS) 55libpng.a: $(OBJS)
56 $(AR_RC) $@ $(OBJS) 56 $(AR_RC) $@ $(OBJS)
57 $(RANLIB) $@ 57 $(RANLIB) $@
58 58
59pngtest: pngtest.o libpng.a 59pngtest: pngtest.o libpng.a
60 $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) 60 $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
61 61
62test: pngtest 62test: pngtest
63 ./pngtest 63 ./pngtest
64 64
65install: libpng.a 65install: libpng.a
66 -@$(MKDIR_P) $(DESTDIR)$(INCPATH) 66 -@$(MKDIR_P) $(DESTDIR)$(INCPATH)
67 -@$(MKDIR_P) $(DESTDIR)$(INCPATH)/libpng 67 -@$(MKDIR_P) $(DESTDIR)$(INCPATH)/libpng
68 -@$(MKDIR_P) $(DESTDIR)$(LIBPATH) 68 -@$(MKDIR_P) $(DESTDIR)$(LIBPATH)
69 -@$(RM_F) $(DESTDIR)$(INCPATH)/png.h 69 -@$(RM_F) $(DESTDIR)$(INCPATH)/png.h
70 -@$(RM_F) $(DESTDIR)$(INCPATH)/pngconf.h 70 -@$(RM_F) $(DESTDIR)$(INCPATH)/pngconf.h
71 -@$(RM_F) $(DESTDIR)$(INCPATH)/pnglibconf.h 71 -@$(RM_F) $(DESTDIR)$(INCPATH)/pnglibconf.h
72 cp png.h $(DESTDIR)$(INCPATH)/libpng 72 cp png.h $(DESTDIR)$(INCPATH)/libpng
73 cp pngconf.h $(DESTDIR)$(INCPATH)/libpng 73 cp pngconf.h $(DESTDIR)$(INCPATH)/libpng
74 cp pnglibconf.h $(DESTDIR)$(INCPATH)/libpng 74 cp pnglibconf.h $(DESTDIR)$(INCPATH)/libpng
75 chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h 75 chmod 644 $(DESTDIR)$(INCPATH)/libpng/png.h
76 chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h 76 chmod 644 $(DESTDIR)$(INCPATH)/libpng/pngconf.h
77 chmod 644 $(DESTDIR)$(INCPATH)/libpng/pnglibconf.h 77 chmod 644 $(DESTDIR)$(INCPATH)/libpng/pnglibconf.h
78 (cd $(DESTDIR)$(INCPATH); $(LN_SF) libpng/* .) 78 (cd $(DESTDIR)$(INCPATH); $(LN_SF) libpng/* .)
79 cp libpng.a $(DESTDIR)$(LIBPATH) 79 cp libpng.a $(DESTDIR)$(LIBPATH)
80 chmod 644 $(DESTDIR)$(LIBPATH)/libpng.a 80 chmod 644 $(DESTDIR)$(LIBPATH)/libpng.a
81 81
82clean: 82clean:
83 $(RM_F) *.o libpng.a pngtest pngout.png pnglibconf.h 83 $(RM_F) *.o libpng.a pngtest pngout.png pnglibconf.h
84 84
85DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO 85DOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFO
86writelock: 86writelock:
87 chmod a-w *.[ch35] $(DOCS) scripts/* 87 chmod a-w *.[ch35] $(DOCS) scripts/*
88 88
89# DO NOT DELETE THIS LINE -- make depend depends on it. 89# DO NOT DELETE THIS LINE -- make depend depends on it.
90 90
91png.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 91png.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
92pngerror.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 92pngerror.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
93pngrio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 93pngrio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
94pngwio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 94pngwio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
95pngmem.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 95pngmem.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
96pngset.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 96pngset.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
97pngget.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 97pngget.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
98pngread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 98pngread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
99pngrtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 99pngrtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
100pngrutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 100pngrutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
101pngtrans.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 101pngtrans.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
102pngwrite.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 102pngwrite.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
103pngwtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 103pngwtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
104pngwutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 104pngwutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
105pngpread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h 105pngpread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
106 106
107pngtest.o: png.h pngconf.h pnglibconf.h 107pngtest.o: png.h pngconf.h pnglibconf.h