VirtualBox

source: vbox/trunk/src/libs/libpng-1.6.43/scripts/makefile.dj2@ 105468

Last change on this file since 105468 was 103316, checked in by vboxsync, 12 months ago

libpng-1.6.42: Applied and adjusted our libpng changes to 1.6.42. bugref:8515

File size: 2.5 KB
Line 
1# DJGPP (DOS gcc) makefile for libpng
2# Copyright (C) 2020-2022 Cosmin Truta
3# Copyright (C) 2002, 2006, 2009-2014 Glenn Randers-Pehrson
4# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
5#
6# This code is released under the libpng license.
7# For conditions of distribution and use, see the disclaimer
8# and license in png.h
9
10CC=gcc
11CPPFLAGS=-I../zlib -DPNG_NO_SNPRINTF
12CFLAGS=-O
13LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
14
15CP=cp
16RM_F=rm -f
17
18# Pre-built configuration
19# See scripts/pnglibconf.mak for more options
20PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt
21
22OBJS = png.o pngerror.o pngget.o pngmem.o pngpread.o \
23 pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o \
24 pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
25
26.c.o:
27 $(CC) -c $(CPPFLAGS) $(CFLAGS) -o $@ $<
28
29all: libpng.a pngtest
30
31pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
32 $(CP) $(PNGLIBCONF_H_PREBUILT) $@
33
34libpng.a: $(OBJS)
35 ar rc $@ $(OBJS)
36 ranlib $@
37
38pngtest: pngtest.o libpng.a
39 $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
40 coff2exe pngtest
41
42test: pngtest
43 ./pngtest
44
45install:
46 @echo "The $@ target is no longer supported by this makefile."
47 @false
48
49clean:
50 $(RM_F) *.o libpng.a pngtest pngout.png pnglibconf.h
51
52# DO NOT DELETE THIS LINE -- make depend depends on it.
53
54png.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
55pngerror.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
56pngrio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
57pngwio.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
58pngmem.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
59pngset.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
60pngget.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
61pngread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
62pngpread.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
63pngrtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
64pngrutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
65pngtrans.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
66pngwrite.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
67pngwtran.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
68pngwutil.o: png.h pngconf.h pnglibconf.h pngpriv.h pngstruct.h pnginfo.h pngdebug.h
69
70pngtest.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