VirtualBox

source: vbox/trunk/src/libs/libpng-1.6.45/scripts/makefile.atari@ 107813

Last change on this file since 107813 was 107813, checked in by vboxsync, 4 weeks ago

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

File size: 1.3 KB
Line 
1# makefile for libpng
2# Copyright (C) 2022 Cosmin Truta
3# Copyright (C) 2002, 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#
10# Modified for LC56/ATARI assumes libz.lib is in same dir and uses default
11# rules for library management
12#
13CPPFLAGS = -I../zlib
14CFLAGS = -O
15LBR = png.lib
16LDFLAGS = -L. -L../zlib -lpng -lz -lm
17
18# Pre-built configuration
19# See scripts/pnglibconf.mak for more options
20PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt
21
22OBJS = $(LBR)(png.o) $(LBR)(pngerror.o) $(LBR)(pngget.o) $(LBR)(pngmem.o) \
23 $(LBR)(pngpread.o) $(LBR)(pngread.o) $(LBR)(pngrio.o) \
24 $(LBR)(pngrtran.o) $(LBR)(pngrutil.o) $(LBR)(pngset.o) \
25 $(LBR)(pngtrans.o) $(LBR)(pngwio.o) $(LBR)(pngwrite.o) \
26 $(LBR)(pngwtran.o) $(LBR)(pngwutil.o)
27
28all: $(LBR) pngtest.ttp
29
30.c.o:
31 $(CC) -c $(CPPFLAGS) $(CFLAGS) $<
32
33$(LBR): $(OBJS)
34
35$(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
36
37pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
38 cp $(PNGLIBCONF_H_PREBUILT) $@
39
40pngtest.ttp: pngtest.o $(LBR)
41 $(CC) $(CFLAGS) $(LDFLAGS) -o$@ pngtest.o
42
43install:
44 @echo "The $@ target is no longer supported by this makefile."
45 @false
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