VirtualBox

source: vbox/trunk/src/libs/libpng-1.2.54/contrib/pngminus/makefile.std@ 63668

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

libpng 1.2.54 unmodified

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.3 KB
 
1# Makefile for PngMinus (png2pnm and pnm2png)
2# Linux / Unix
3
4#CC=cc
5CC=gcc
6LD=$(CC)
7
8RM=rm -f
9
10#PNGPATH = /usr/local
11#PNGINC = -I$(PNGPATH)/include/libpng12
12#PNGLIB = -L$(PNGPATH)/lib -lpng12
13#PNGLIBS = $(PNGPATH)/lib/libpng12.a
14PNGINC = -I../..
15PNGLIB = -L../.. -lpng
16PNGLIBS = ../../libpng.a
17
18#ZPATH = /usr/local
19#ZINC = -I$(ZPATH)/include
20#ZLIB = -L$(ZPATH)/lib -lz
21#ZLIBS = $(ZPATH)/lib/libz.a
22ZINC = -I../../../zlib
23ZLIB = -L../../../zlib -lz
24ZLIBS = ../../../zlib/libz.a
25
26CFLAGS=$(PNGINC) $(ZINC)
27LDLIBS=$(PNGLIB) $(ZLIB)
28LDLIBSS=$(PNGLIBS) $(ZLIBS)
29C=.c
30O=.o
31L=.a
32E=
33
34# dependencies
35
36#all: png2pnm$(E) pnm2png$(E)
37all: png2pnm$(E) pnm2png$(E) png2pnm-static$(E) pnm2png-static$(E)
38
39png2pnm$(O): png2pnm$(C)
40 $(CC) -c $(CFLAGS) png2pnm$(C)
41
42png2pnm$(E): png2pnm$(O)
43 $(LD) $(LDFLAGS) -o png2pnm$(E) png2pnm$(O) $(LDLIBS) -lm
44
45png2pnm-static$(E): png2pnm$(O)
46 $(LD) $(LDFLAGS) -o png2pnm-static$(E) png2pnm$(O) $(LDLIBSS) -lm
47
48pnm2png$(O): pnm2png$(C)
49 $(CC) -c $(CFLAGS) pnm2png$(C)
50
51pnm2png$(E): pnm2png$(O)
52 $(LD) $(LDFLAGS) -o pnm2png$(E) pnm2png$(O) $(LDLIBS) -lm
53
54pnm2png-static$(E): pnm2png$(O)
55 $(LD) $(LDFLAGS) -o pnm2png-static$(E) pnm2png$(O) $(LDLIBSS) -lm
56
57clean:
58 $(RM) png2pnm$(O)
59 $(RM) pnm2png$(O)
60 $(RM) png2pnm$(E)
61 $(RM) pnm2png$(E)
62 $(RM) png2pnm-static$(E)
63 $(RM) pnm2png-static$(E)
64
65# End of makefile for png2pnm / pnm2png
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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