Makefile revision 1.27
11.27Schristos# $NetBSD: Makefile,v 1.27 2006/10/31 20:07:32 christos Exp $ 21.10Stls# @(#)Makefile 8.3 (Berkeley) 4/20/95 31.1Scgd 41.15Slukem.include <bsd.own.mk> 51.25Schristos 61.25SchristosUSE_EDITLINE=yes 71.25SchristosMIME_SUPPORT=yes # currently requires USE_EDITLINE 81.25SchristosCHARSET_SUPPORT=yes # only used with MIME_SUPPORT 91.27SchristosSMOPTS_CMD=yes # build the sendas command 101.15Slukem 111.1ScgdPROG= mail 121.18StvSRCS= version.c support.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c dotlock.c \ 131.8Schristos edit.c fio.c getname.c head.c v7.local.c lex.c list.c main.c names.c \ 141.8Schristos popen.c quit.c send.c strings.c temp.c tty.c vars.c 151.27SchristosSRCS+= format.c 161.3SjtcLINKS= ${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx 171.3SjtcMLINKS= mail.1 Mail.1 mail.1 mailx.1 181.20Swiz 191.25SchristosLDADD+= -lutil 201.25SchristosDPADD+= ${LIBUTIL} 211.25Schristos 221.27Schristos.if ${SMOPTS_CMD:Uno} == "yes" 231.27SchristosSRCS+= cmd4.c 241.27SchristosCPPFLAGS+= -DSMOPTS_CMD 251.27Schristos.endif 261.27Schristos 271.26Schristos.if ${USE_EDITLINE:Uno} == "yes" 281.23SchristosSRCS+= complete.c 291.23Schristos 301.25SchristosCPPFLAGS+= -DUSE_EDITLINE 311.24SheLDADD+= -ledit -ltermcap 321.24SheDPADD+= ${LIBEDIT} ${LIBTERMCAP} 331.23Schristos 341.26Schristos.if ${MIME_SUPPORT:Uno} == "yes" 351.25SchristosSRCS+= mime_attach.c 361.25SchristosSRCS+= mime_child.c 371.25SchristosSRCS+= mime_codecs.c 381.25SchristosSRCS+= mime_decode.c 391.25SchristosSRCS+= mime_header.c 401.25Schristos 411.25SchristosCPPFLAGS+= -DMIME_SUPPORT 421.26Schristos.if ${CHARSET_SUPPORT:Uno} == "yes" 431.25SchristosCPPFLAGS+= -DCHARSET_SUPPORT 441.25Schristos.endif 451.25Schristos 461.25SchristosLDADD+= -lmagic -lz 471.25SchristosDPADD+= ${LIBMAGIC} ${LIBZ} 481.25Schristos.endif 491.23Schristos.endif 501.23Schristos 511.23SchristosWARNS= 4 521.25SchristosCWARNFLAGS+= -Wextra 531.3Sjtc 541.21Slukem.PATH: ${.CURDIR}/misc 551.21Slukem 561.15Slukem.if ${MKSHARE} != "no" 571.21SlukemFILESDIR= /usr/share/misc 581.21SlukemFILES= mail.help mail.tildehelp 591.5Smycroft 601.5Smycroft.if make(install) 611.5SmycroftSUBDIR+= USD.doc 621.14Slukem.endif 631.5Smycroft.endif 641.11Sperry 651.21SlukemCONFIGFILES= mail.rc 661.21SlukemFILESDIR_mail.rc= /etc 671.1Scgd 681.1Scgd.include <bsd.prog.mk> 691.13Smycroft.include <bsd.subdir.mk> 70