diff options
Diffstat (limited to 'libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.dj2')
-rw-r--r-- | libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.dj2 | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.dj2 b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.dj2 new file mode 100644 index 0000000..48fea81 --- /dev/null +++ b/libraries/irrlicht-1.8/source/Irrlicht/libpng/scripts/makefile.dj2 | |||
@@ -0,0 +1,62 @@ | |||
1 | # DJGPP (DOS gcc) makefile for libpng | ||
2 | # Copyright (C) 2002, 2006, 2009-2010-2011 Glenn Randers-Pehrson | ||
3 | # Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc. | ||
4 | # | ||
5 | # This code is released under the libpng license. | ||
6 | # For conditions of distribution and use, see the disclaimer | ||
7 | # and license in png.h | ||
8 | |||
9 | # where make install will put libpng.a and png.h | ||
10 | #prefix=/usr/local | ||
11 | prefix=. | ||
12 | INCPATH=$(prefix)/include | ||
13 | LIBPATH=$(prefix)/lib | ||
14 | |||
15 | CC=gcc | ||
16 | CFLAGS=-I../zlib -O -DPNG_NO_SNPRINTF | ||
17 | LDFLAGS=-L. -L../zlib/ -lpng -lz -lm | ||
18 | |||
19 | RANLIB=ranlib | ||
20 | |||
21 | OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \ | ||
22 | pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o \ | ||
23 | pngmem.o pngerror.o pngpread.o | ||
24 | |||
25 | all: libpng.a pngtest | ||
26 | |||
27 | # see scripts/pnglibconf.mak for more options | ||
28 | pnglibconf.h: scripts/pnglibconf.h.prebuilt | ||
29 | cp scripts/pnglibconf.h.prebuilt $@ | ||
30 | |||
31 | libpng.a: $(OBJS) | ||
32 | ar rc $@ $(OBJS) | ||
33 | $(RANLIB) $@ | ||
34 | |||
35 | pngtest: pngtest.o libpng.a | ||
36 | $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS) | ||
37 | coff2exe pngtest | ||
38 | |||
39 | test: pngtest | ||
40 | ./pngtest | ||
41 | clean: | ||
42 | rm -f *.o libpng.a pngtest pngout.png pnglibconf.h | ||
43 | |||
44 | # DO NOT DELETE THIS LINE -- make depend depends on it. | ||
45 | |||
46 | png.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
47 | pngerror.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
48 | pngrio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
49 | pngwio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
50 | pngmem.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
51 | pngset.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
52 | pngget.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
53 | pngread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
54 | pngpread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
55 | pngrtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
56 | pngrutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
57 | pngtrans.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
58 | pngwrite.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
59 | pngwtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
60 | pngwutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h | ||
61 | |||
62 | pngtest.o: png.h pngconf.h pnglibconf.h | ||