VirtualBox

source: vbox/trunk/src/libs/libpng-1.6.36/scripts/makefile.dj2@ 78251

Last change on this file since 78251 was 76030, checked in by vboxsync, 6 years ago

libpng-1.6.36: properly export to OSE, and while at it fix EOL style for shell scripts

  • Property svn:eol-style set to native
File size: 2.5 KB
Line 
1# DJGPP (DOS gcc) makefile for libpng
2# Copyright (C) 2002, 2006, 2009-2014 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
11prefix=.
12INCPATH=$(prefix)/include
13LIBPATH=$(prefix)/lib
14
15CC=gcc
16CPPFLAGS=-I../zlib -DPNG_NO_SNPRINTF
17CFLAGS=-O
18LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
19
20RANLIB=ranlib
21
22CP=cp
23RM_F=rm -f
24
25# Pre-built configuration
26# See scripts/pnglibconf.mak for more options
27PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt
28
29OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
30 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o \
31 pngmem.o pngerror.o pngpread.o
32
33.c.o:
34 $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
35
36all: libpng.a pngtest
37
38pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
39 $(CP) $(PNGLIBCONF_H_PREBUILT) $@
40
41libpng.a: $(OBJS)
42 ar rc $@ $(OBJS)
43 $(RANLIB) $@
44
45pngtest: pngtest.o libpng.a
46 $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
47 coff2exe pngtest
48
49test: pngtest
50 ./pngtest
51clean:
52 $(RM_F) *.o libpng.a pngtest pngout.png pnglibconf.h
53
54# DO NOT DELETE THIS LINE -- make depend depends on it.
55
56png.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
57pngerror.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
58pngrio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
59pngwio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
60pngmem.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
61pngset.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
62pngget.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
63pngread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
64pngpread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
65pngrtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
66pngrutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
67pngtrans.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
68pngwrite.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
69pngwtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
70pngwutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
71
72pngtest.o: png.h pngconf.h pnglibconf.h
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette