⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 makefile.beos

📁 png文件的解码和文件格式说明
💻 BEOS
字号:
# makefile for libpng on BeOS x86 ELF with gcc# modified from makefile.linux by Sander Stoks# Copyright (C) 1999 Greg Roelofs# Copyright (C) 1996, 1997 Andreas Dilger# For conditions of distribution and use, see copyright notice in png.hCC=gcc# Where the zlib library and include files are locatedZLIBLIB=/usr/local/libZLIBINC=/usr/local/include# read libpng.txt or png.h to see why PNGMAJ is 2.  You should not# have to change it.PNGMAJ = 2PNGMIN = 1.0.12PNGVER = $(PNGMAJ).$(PNGMIN)ALIGN=# For i386:# ALIGN=-malign-loops=2 -malign-functions=2WARNMORE=-Wwrite-strings -Wpointer-arith -Wshadow \	-Wmissing-declarations -Wtraditional -Wcast-align \	-Wstrict-prototypes -Wmissing-prototypes #-Wconversion# On BeOS, -O1 is actually better than -O3.  This is a known bug but it's# still here in R4.5CFLAGS=-I$(ZLIBINC) -Wall -O1 -funroll-loops \	$(ALIGN) # $(WARNMORE) -g -DPNG_DEBUG=5# LDFLAGS=-L. -Wl,-rpath,. -L$(ZLIBLIB) -Wl,-rpath,$(ZLIBLIB) -lpng -lz -lmLDFLAGS=-L. -Wl,-soname=libpng.so.$(PNGMAJ) -L$(ZLIBLIB) -lz -lmRANLIB=ranlib#RANLIB=echo# where make install puts libpng.a, libpng.so*, and png.hprefix=/usr/localINCPATH=$(prefix)/includeLIBPATH=$(prefix)/libOBJS = png.o pngset.o pngget.o pngrutil.o pngtrans.o pngwutil.o \	pngread.o pngrio.o pngwio.o pngwrite.o pngrtran.o \	pngwtran.o pngmem.o pngerror.o pngpread.oOBJSDLL = $(OBJS).SUFFIXES:      .c .oall: libpng.a libpng.so pngtestlibpng.a: $(OBJS)	ar rc $@ $(OBJS)	$(RANLIB) $@libpng.so: libpng.so.$(PNGMAJ)	ln -sf libpng.so.$(PNGMAJ) libpng.so	cp libpng.so* /boot/home/config/liblibpng.so.$(PNGMAJ): libpng.so.$(PNGVER)	ln -sf libpng.so.$(PNGVER) libpng.so.$(PNGMAJ)libpng.so.$(PNGVER): $(OBJSDLL)	$(CC) -L$(ZLIBLIB) -lz -nostart -Wl,-soname,libpng.so.$(PNGMAJ) -olibpng.so.$(PNGVER) \	 $(OBJSDLL)pngtest: pngtest.o libpng.so	$(CC) -L$(ZLIBLIB) -lz -lpng -o pngtest pngtest.otest: pngtest	./pngtestinstall: libpng.a libpng.so.$(PNGVER)	-@mkdir $(INCPATH) $(LIBPATH)	cp png.h pngconf.h $(INCPATH)	chmod 644 $(INCPATH)/png.h $(INCPATH)/pngconf.h	cp libpng.a libpng.so.$(PNGVER) $(LIBPATH)	chmod 755 $(LIBPATH)/libpng.so.$(PNGVER)	-@/bin/rm -f $(LIBPATH)/libpng.so.$(PNGMAJ) $(LIBPATH)/libpng.so	(cd $(LIBPATH); ln -sf libpng.so.$(PNGVER) libpng.so.$(PNGMAJ); \	 ln -sf libpng.so.$(PNGMAJ) libpng.so)clean:	/bin/rm -f *.o libpng.a libpng.so* pngtest pngout.png# DO NOT DELETE THIS LINE -- make depend depends on it.png.o png.pic.o: png.h pngconf.hpngerror.o pngerror.pic.o: png.h pngconf.hpngrio.o pngrio.pic.o: png.h pngconf.hpngwio.o pngwio.pic.o: png.h pngconf.hpngmem.o pngmem.pic.o: png.h pngconf.hpngset.o pngset.pic.o: png.h pngconf.hpngget.o pngget.pic.o: png.h pngconf.hpngread.o pngread.pic.o: png.h pngconf.hpngrtran.o pngrtran.pic.o: png.h pngconf.hpngrutil.o pngrutil.pic.o: png.h pngconf.hpngtrans.o pngtrans.pic.o: png.h pngconf.hpngwrite.o pngwrite.pic.o: png.h pngconf.hpngwtran.o pngwtran.pic.o: png.h pngconf.hpngwutil.o pngwutil.pic.o: png.h pngconf.hpngpread.o pngpread.pic.o: png.h pngconf.hpngtest.o: png.h pngconf.h

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -