VirtualBox

source: vbox/trunk/src/libs/libpng-1.2.8/scripts/makefile.amiga@ 7366

最後變更 在這個檔案從7366是 6395,由 vboxsync 提交於 17 年 前

export libpng and zlib so Windows and OS/2 build cleanly.

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

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