VirtualBox

source: vbox/trunk/src/libs/libpng-1.6.45/scripts/makefile.amiga@ 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.5 KB
Line 
1# Commodore Amiga Makefile
2# makefile for libpng and SAS C V6.5x compiler
3# Copyright (C) 1995-2000 Wolf Faust
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# Location/path of zlib include files
10ZLIB=/zlib
11#compiler
12CC=sc
13#compiler flags
14# WARNING: a bug in V6.51 causes bad code with OPTGO
15# So use V6.55 or set NOOPTGO!!!!!!!!!
16CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\
17 OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 INCLUDEDIR=$(ZLIB) \
18 DEFINE=PNG_INTERNAL
19#linker flags
20LDFLAGS= SD ND BATCH
21#link libs
22LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib
23# linker
24LN= slink
25# file deletion command
26RM= delete quiet
27# library (.lib) file creation command
28AR= oml
29
30# Pre-built configuration
31# See scripts/pnglibconf.mak for more options
32PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt
33
34OBJS = png.o pngerror.o pngget.o pngmem.o pngpread.o \
35 pngread.o pngrio.o pngrtran.o pngrutil.o pngset.o \
36 pngtrans.o pngwio.o pngwrite.o pngwtran.o pngwutil.o
37
38all: libpng.lib pngtest
39
40libpng.lib: $(OBJS)
41-$(RM) libpng.lib
42$(AR) libpng.lib r $(OBJS)
43
44$(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
45
46pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
47COPY $(PNGLIBCONF_H_PREBUILT) TO pnglibconf.h
48
49pngtest: pngtest.o libpng.lib
50$(LN) <WITH <
51$(LDFLAGS)
52TO pngtest
53FROM LIB:c.o pngtest.o
54LIB $(LDLIBS)
55<
56
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