VirtualBox

source: vbox/trunk/src/libs/libpng-1.6.37/scripts/makefile.amiga@ 102315

最後變更 在這個檔案從102315是 96425,由 vboxsync 提交於 2 年 前

src/libs: Switch to libpng-1.6.37, bugref:8515 [re-export]

檔案大小: 1.5 KB
 
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# make directory command
30MKDIR= makedir
31
32# Pre-built configuration
33# See scripts/pnglibconf.mak for more options
34PNGLIBCONF_H_PREBUILT = scripts/pnglibconf.h.prebuilt
35
36OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
37 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
38 pngwtran.o pngmem.o pngerror.o pngpread.o
39
40all: libpng.lib pngtest
41
42libpng.lib: $(OBJS)
43-$(RM) libpng.lib
44$(AR) libpng.lib r $(OBJS)
45
46$(OBJS): pngpriv.h png.h pngconf.h pnglibconf.h pnginfo.h pngstruct.h pngdebug.h
47
48pnglibconf.h: $(PNGLIBCONF_H_PREBUILT)
49COPY $(PNGLIBCONF_H_PREBUILT) TO pnglibconf.h
50
51pngtest: pngtest.o libpng.lib
52$(LN) <WITH <
53$(LDFLAGS)
54TO pngtest
55FROM LIB:c.o pngtest.o
56LIB $(LDLIBS)
57<
58
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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