📄 makefile.sco
字号:
# makefile for SCO OSr5 ELF and Unixware 7 with Native cc# Contributed by Mike Hopkirk (hops@sco.com) modified from Makefile.lnx# force ELF build dynamic linking, SONAME setting in lib and RPATH in app# Copyright (C) 1998 Greg Roelofs# Copyright (C) 1996, 1997 Andreas Dilger# For conditions of distribution and use, see copyright notice in png.hCC=cc# where make install puts libpng.a, libpng.so*, and png.hprefix=/usr/local# Where the zlib library and include files are located#ZLIBLIB=/usr/local/lib#ZLIBINC=/usr/local/includeZLIBLIB=../zlibZLIBINC=../zlibCFLAGS= -dy -belf -I$(ZLIBINC) -O3LDFLAGS=-L. -L$(ZLIBLIB) -lpng -lz -lm#RANLIB=ranlibRANLIB=echo# 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)INCPATH=$(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:.o=.pic.o).SUFFIXES: .c .o .pic.o.c.pic.o: $(CC) -c $(CFLAGS) -KPIC -o $@ $*.call: libpng.a libpng.so pngtestlibpng.a: $(OBJS) ar rc $@ $(OBJS) $(RANLIB) $@libpng.so: libpng.so.$(PNGMAJ) ln -f -s libpng.so.$(PNGMAJ) libpng.solibpng.so.$(PNGMAJ): libpng.so.$(PNGVER) ln -f -s libpng.so.$(PNGVER) libpng.so.$(PNGMAJ)libpng.so.$(PNGVER): $(OBJSDLL) $(CC) -G -Wl,-h,libpng.so.$(PNGMAJ) -o libpng.so.$(PNGVER) \ $(OBJSDLL)pngtest: pngtest.o libpng.so LD_RUN_PATH=.:$(ZLIBLIB) $(CC) -o pngtest $(CFLAGS) pngtest.o $(LDFLAGS)test: 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 -f -s libpng.so.$(PNGVER) libpng.so.$(PNGMAJ); \ ln -f -s libpng.so.$(PNGMAJ) libpng.so)clean: /bin/rm -f *.o libpng.a libpng.so* pngtest pngout.pngDOCS = ANNOUNCE CHANGES INSTALL KNOWNBUG LICENSE README TODO Y2KINFOwritelock: chmod a-w *.[ch35] $(DOCS) scripts/*# 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 + -