VirtualBox

source: vbox/trunk/src/libs/libpng-1.2.54/scripts/makefile.amiga@ 77662

最後變更 在這個檔案從77662是 58796,由 vboxsync 提交於 9 年 前

libpng 1.2.54 unmodified

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.2 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# Note: Use #define PNG_READ_BIG_ENDIAN_SUPPORTED in pngconf.h
10#
11# Location/path of zlib include files
12ZLIB=/zlib
13#compiler
14CC=sc
15#compiler flags
16# WARNING: a bug in V6.51 causes bad code with OPTGO
17# So use V6.55 or set NOOPTGO!!!!!!!!!
18CFLAGS= NOSTKCHK PARMS=REG OPTIMIZE OPTGO OPTPEEP OPTINLOCAL OPTINL\
19 OPTLOOP OPTRDEP=4 OPTDEP=4 OPTCOMP=4 INCLUDEDIR=$(ZLIB) \
20 DEFINE=PNG_INTERNAL
21#linker flags
22LDFLAGS= SD ND BATCH
23#link libs
24LDLIBS= libpng.lib libgz.lib LIB:scm.lib LIB:sc.lib Lib:amiga.lib
25# linker
26LN= slink
27# file deletion command
28RM= delete quiet
29# library (.lib) file creation command
30AR= oml
31# make directory command
32MKDIR= makedir
33
34OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
35 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \
36 pngwtran.o pngmem.o pngerror.o pngpread.o
37
38all: libpng.lib pngtest
39
40libpng.lib: $(OBJS)
41-$(RM) libpng.lib
42$(AR) libpng.lib r $(OBJS)
43
44pngtest: pngtest.o libpng.lib
45$(LN) <WITH <
46$(LDFLAGS)
47TO pngtest
48FROM LIB:c.o pngtest.o
49LIB $(LDLIBS)
50<
51
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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