VirtualBox

source: vbox/trunk/src/libs/libpng-1.2.8/scripts/makefile.ibmc@ 43968

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

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.6 KB
 
1# Makefile for libpng (static)
2# IBM C version 3.x for Win32 and OS/2
3# Copyright (C) 2000 Cosmin Truta
4# For conditions of distribution and use, see copyright notice in png.h
5# Notes:
6# Derived from makefile.std
7# All modules are compiled in C mode
8# Tested under Win32, expected to work under OS/2
9# Can be easily adapted for IBM VisualAge/C++ for AIX
10
11# Location of the zlib library and include files
12ZLIBINC = ../zlib
13ZLIBLIB = ../zlib
14
15# Compiler, linker, lib and other tools
16CC = icc
17LD = ilink
18AR = ilib
19RM = del
20
21CFLAGS = -I$(ZLIBINC) -Mc -O2 -W3
22LDFLAGS =
23
24# File extensions
25O=.obj
26A=.lib
27E=.exe
28
29# Variables
30OBJS = png$(O) pngerror$(O) pngget$(O) pngmem$(O) pngpread$(O) \
31 pngread$(O) pngrio$(O) pngrtran$(O) pngrutil$(O) pngset$(O) \
32 pngtrans$(O) pngwio$(O) pngwrite$(O) pngwtran$(O) pngwutil$(O)
33
34LIBS = libpng$(A) $(ZLIBLIB)/zlib$(A)
35
36# Targets
37all: libpng$(A) pngtest$(E)
38
39libpng$(A): $(OBJS)
40 $(AR) -out:$@ $(OBJS)
41
42test: pngtest$(E)
43 pngtest$(E)
44
45pngtest: pngtest$(E)
46
47pngtest$(E): pngtest$(O) libpng$(A)
48 $(LD) $(LDFLAGS) pngtest$(O) $(LIBS)
49
50clean:
51 $(RM) *$(O)
52 $(RM) libpng$(A)
53 $(RM) pngtest$(E)
54 $(RM) pngout.png
55
56png$(O): png.h pngconf.h
57pngerror$(O): png.h pngconf.h
58pngget$(O): png.h pngconf.h
59pngmem$(O): png.h pngconf.h
60pngpread$(O): png.h pngconf.h
61pngread$(O): png.h pngconf.h
62pngrio$(O): png.h pngconf.h
63pngrtran$(O): png.h pngconf.h
64pngrutil$(O): png.h pngconf.h
65pngset$(O): png.h pngconf.h
66pngtest$(O): png.h pngconf.h
67pngtrans$(O): png.h pngconf.h
68pngwio$(O): png.h pngconf.h
69pngwrite$(O): png.h pngconf.h
70pngwtran$(O): png.h pngconf.h
71pngwutil$(O): png.h pngconf.h
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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