makefile
来自「ftam等标准协议服务器和客户端的源代码。」· 代码 · 共 223 行
TXT
223 行
################################################################################ Instructions to Make, for compilation of QUIPU photo programs################################################################################################################################################################ $Header: /xtel/isode/isode/others/quipu/photo/RCS/Makefile,v 9.0 1992/06/16 12:43:35 isode Rel $### $Log: Makefile,v $# Revision 9.0 1992/06/16 12:43:35 isode# Release 8.0## ################################################################################################################################################################ NOTICE## Acquisition, use, and distribution of this module and related# materials are subject to the restrictions of a license agreement.# Consult the Preface in the User's Manual for the full terms of# this agreement.################################################################################# Select you display type(s)...# should really go in config/CONFIG.makeDISPLAY = ttyphoto fax2ps# DISPLAY = sunphoto Xphoto xfax ttyphoto hexphoto t4014 fax2ps jpeg# UNIX path for the xv binaryXV_LOCATION = /usr/local/bin/######################################################################## Here we go...######################################################################## libphoto.a now merged with libdsap.aall: $(TOPDIR)libdsap.a $(DISPLAY)lint: lint-jpeg $(LINT) $(LFLAGS) d_main.c tty.c $(TOPDIR)llib-ldsap \ | grep -v "warning: possible pointer alignment problem"lint-jpeg: $(LINT) $(LFLAGS) jpegphoto.c \ | grep -v "warning: possible pointer alignment problem" $(LINT) $(LFLAGS) jpeg2asn.c \ | grep -v "warning: possible pointer alignment problem"pr2pe: e_main.o encode.o code_word.o $(LDCC) $(LDFLAGS) -o pr2pe e_main.o encode.o code_word.o \ -lpixrect $(LIBDSAP) $(LIBISODE) $(LSOCKET)sunphoto: $(TOPDIR)libdsap.a d_main.o sunview.o $(LDCC) $(LDFLAGS) -o sunphoto \ d_main.o sunview.o $(LIBDSAP) -lsuntool -lsunwindow \ -lpixrect $(LIBISODE) $(LSOCKET)Xphoto: $(TOPDIR)libdsap.a d_main.o winx.o $(LDCC) $(LDFLAGS) -o Xphoto \ d_main.o winx.o -lX11 $(LIBDSAP) $(LIBISODE) $(LSOCKET)xfax: $(TOPDIR)libdsap.a d_main.o faxx.o $(LDCC) $(LDFLAGS) -o xfax \ d_main.o faxx.o -lX11 $(LIBDSAP) $(LIBISODE) $(LSOCKET)fax2ps: $(TOPDIR)libdsap.a d_main.o ps.o $(LDCC) $(LDFLAGS) -o fax2ps \ d_main.o ps.o $(LIBDSAP) $(LIBISODE) $(LSOCKET)t4014: $(TOPDIR)libdsap.a d_main.o t4014.o $(LDCC) $(LDFLAGS) -o t4014 \ d_main.o t4014.o -l4014 -lm $(LIBDSAP) $(LIBISODE) $(LSOCKET)ttyphoto: $(TOPDIR)libdsap.a d_main.o tty.o $(LDCC) $(LDFLAGS) -o ttyphoto \ d_main.o tty.o $(LIBDSAP) $(LIBISODE) $(LSOCKET)hexphoto: hexphoto.o d_main.o $(LDCC) $(LDFLAGS) -o hexphoto hexphoto.o d_main.o $(LIBISODE) $(LSOCKET)jpeg: xjpeg jpeg2asnxjpeg: jpegphoto.o $(LDCC) $(LDFLAGS) -o xjpeg jpegphoto.o $(LIBISODE) $(LSOCKET)jpeg2asn: jpeg2asn.o $(LDCC) $(LDFLAGS) -o jpeg2asn jpeg2asn.o $(LIBISODE) $(LSOCKET)################################################################################ some programs for Jef Poskanzer's pbm package###############################################################################PBMSRC = /usr/src/pbmplus/PBMDIR = $(PBMSRC)pbm/PBMINC = -I$(PBMSRC) -I$(PBMDIR)LIBPBM = $(PBMDIR)libpbm.apbm: faxtopbm pbmtofaxfaxtopbm: faxtopbm.o $(TOPDIR)libdsap.a $(LIBPBM) $(LDCC) $(LDFLAGS) -o $@ faxtopbm.o \ $(LIBDSAP) $(LIBPBM) $(LIBISODE) $(LSOCKET)faxtopbm.o: faxtopbm.c $(CC) $(CFLAGS) $(PBMINC) -c faxtopbm.cpbmtofax: pbmtofax.o encode.o code_word.o $(TOPDIR)libdsap.a $(LIBPBM) $(LDCC) $(LDFLAGS) -o $@ pbmtofax.o encode.o code_word.o \ $(LIBDSAP) $(LIBPBM) $(LIBISODE) $(LSOCKET)pbmtofax.o: pbmtofax.c $(CC) $(CFLAGS) $(PBMINC) -c pbmtofax.c###################################################################### Installation...#####################################################################install: inst-all cleaninst-all: $(DISPLAY) -mkdir $(SBINDIR)g3fax -if [ -f ttyphoto ]; then \ mv $(SBINDIR)g3fax/ttyphoto zttyphoto; \ cp ttyphoto $(SBINDIR)g3fax/ttyphoto; fi -if [ -f hexphoto ]; then \ mv $(SBINDIR)g3fax/hexphoto zhexphoto; \ cp hexphoto $(SBINDIR)g3fax/hexphoto; fi -if [ -f sunphoto ]; then \ mv $(SBINDIR)g3fax/sunphoto zsunphoto; \ cp sunphoto $(SBINDIR)g3fax/sunphoto; fi -if [ -f Xphoto ]; then \ mv $(SBINDIR)g3fax/Xphoto zXphoto; \ cp Xphoto $(SBINDIR)g3fax/Xphoto; fi -if [ -f xfax ]; then \ mv $(SBINDIR)g3fax/xfax zxfax; \ cp xfax $(SBINDIR)g3fax/xfax; fi -if [ -f fax2ps ]; then \ mv $(SBINDIR)g3fax/fax2ps zfax2ps; \ cp fax2ps $(SBINDIR)g3fax/fax2ps; fi -if [ -f t4014 ]; then \ mv $(SBINDIR)g3fax/t4014 zt4014; \ cp t4014 $(SBINDIR)g3fax/t4014; fi -if [ -f faxtopbm ]; then \ mv $(SBINDIR)g3fax/faxtopbm zfaxtopbm; \ cp faxtopbm $(SBINDIR)g3fax/faxtopbm; fi -if [ -f pbmtofax ]; then \ mv $(SBINDIR)g3fax/pbmtofax zpbmtofax; \ cp pbmtofax $(SBINDIR)g3fax/pbmtofax; fi -if [ -f pr2pe ]; then \ mv $(SBINDIR)g3fax/pr2pe zpr2pe; \ cp pr2pe $(SBINDIR)g3fax/pr2pe; fi -if [ -f jpeg2asn ]; then \ mv $(SBINDIR)g3fax/jpeg2asn zjpeg2asn; \ cp jpeg2asn $(SBINDIR)g3fax/jpeg2asn; fi -if [ -f xjpeg ]; then \ mv $(SBINDIR)g3fax/xjpeg zxjpeg; \ cp xjpeg $(SBINDIR)g3fax/xjpeg; \ mv $(SBINDIR)g3fax/jpeg.sh zxjpeg.sh; \ sed -e 's%$$(XV)%$(XV_LOCATION)%' < jpeg.sh > $(SBINDIR)g3fax/jpeg.sh; \ chmod a+x $(SBINDIR)g3fax/jpeg.sh; fi -if [ -f $(SBINDIR)g3fax/libphoto.a ]; then \ mv $(SBINDIR)g3fax/libphoto.a zlibphoto.a; ficlean: rm -f _* *.o *.old *% foo* core z* *.a \ *.orig \ sunphoto hexphoto ttyphoto \ pr2pe Xphoto xfax t4014 \ faxtopbm pbmtofax \ fax2ps jpeg2asn xjpeg# dependcode_word.o: ../../../h/quipu/photo.hd_main.o: ../../../h/config.hd_main.o: ../../../h/general.hd_main.o: ../../../h/manifest.hd_main.o: ../../../h/psap.hd_main.o: ../../../h/quipu/photo.hd_main.o: ../../../h/sys.file.he_main.o: ../../../h/quipu/photo.hjpeg2asn.o: ./jpeg.hencode.o: ../../../h/config.hencode.o: ../../../h/general.hencode.o: ../../../h/quipu/photo.hfaxtopbm.o: ../../../h/config.hfaxtopbm.o: ../../../h/general.hfaxtopbm.o: ../../../h/manifest.hfaxtopbm.o: ../../../h/psap.hfaxtopbm.o: ../../../h/sys.file.hfaxx.o: ../../../h/quipu/photo.hhexphoto.o: ../../../h/config.hhexphoto.o: ../../../h/general.hhexphoto.o: ../../../h/logger.hhexphoto.o: ../../../h/manifest.hhexphoto.o: ../../../h/psap.hhexphoto.o: ../../../h/quipu/config.hhexphoto.o: ../../../h/quipu/photo.hhexphoto.o: ../../../h/quipu/util.hjpegphoto.o: ../../../h/config.hjpegphoto.o: ../../../h/logger.hjpegphoto.o: ../../../h/manifest.hjpegphoto.o: ../../../h/tailor.hjpegphoto.o: ./jpeg.hpbmtofax.o: ../../../h/config.hpbmtofax.o: ../../../h/general.hpbmtofax.o: ../../../h/quipu/photo.hps.o: ../../../h/quipu/photo.hsunview.o: ../../../h/quipu/photo.ht4014.o: ../../../h/config.ht4014.o: ../../../h/manifest.ht4014.o: ../../../h/quipu/photo.htemplate.o: ../../../h/quipu/photo.htty.o: ../../../h/quipu/photo.hwinx.o: ../../../h/quipu/photo.h
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?