VirtualBox

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

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

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

  • 屬性 svn:eol-style 設為 native
檔案大小: 1.3 KB
 
1# DJGPP (DOS gcc) makefile for libpng
2# Copyright (C) 2002 Glenn Randers-Pehrson
3# Copyright (C) 1995 Guy Eric Schalnat, Group 42, Inc.
4# For conditions of distribution and use, see copyright notice in png.h
5
6# where make install will put libpng.a and png.h
7#prefix=/usr/local
8prefix=.
9INCPATH=$(prefix)/include
10LIBPATH=$(prefix)/lib
11
12CC=gcc
13CFLAGS=-I../zlib -O
14LDFLAGS=-L. -L../zlib/ -lpng -lz -lm
15
16RANLIB=ranlib
17
18OBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \
19 pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o pngwtran.o \
20 pngmem.o pngerror.o pngpread.o
21
22all: libpng.a pngtest
23
24libpng.a: $(OBJS)
25 ar rc $@ $(OBJS)
26 $(RANLIB) $@
27
28pngtest: pngtest.o libpng.a
29 $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)
30 coff2exe pngtest
31
32test: pngtest
33 ./pngtest
34clean:
35 rm -f *.o libpng.a pngtest pngout.png
36
37# DO NOT DELETE THIS LINE -- make depend depends on it.
38
39png.o: png.h pngconf.h
40pngerror.o: png.h pngconf.h
41pngrio.o: png.h pngconf.h
42pngwio.o: png.h pngconf.h
43pngmem.o: png.h pngconf.h
44pngset.o: png.h pngconf.h
45pngget.o: png.h pngconf.h
46pngread.o: png.h pngconf.h
47pngpread.o: png.h pngconf.h
48pngrtran.o: png.h pngconf.h
49pngrutil.o: png.h pngconf.h
50pngtest.o: png.h pngconf.h
51pngtrans.o: png.h pngconf.h
52pngwrite.o: png.h pngconf.h
53pngwtran.o: png.h pngconf.h
54pngwutil.o: png.h pngconf.h
55
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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