Home | History | Annotate | Line # | Download | only in mail
Makefile revision 1.27
      1  1.27  christos #	$NetBSD: Makefile,v 1.27 2006/10/31 20:07:32 christos Exp $
      2  1.10       tls #	@(#)Makefile	8.3 (Berkeley) 4/20/95
      3   1.1       cgd 
      4  1.15     lukem .include <bsd.own.mk>
      5  1.25  christos 
      6  1.25  christos USE_EDITLINE=yes
      7  1.25  christos MIME_SUPPORT=yes	# currently requires USE_EDITLINE
      8  1.25  christos CHARSET_SUPPORT=yes	# only used with MIME_SUPPORT
      9  1.27  christos SMOPTS_CMD=yes		# build the sendas command
     10  1.15     lukem 
     11   1.1       cgd PROG=	mail
     12  1.18        tv SRCS=	version.c support.c cmd1.c cmd2.c cmd3.c cmdtab.c collect.c dotlock.c \
     13   1.8  christos 	edit.c fio.c getname.c head.c v7.local.c lex.c list.c main.c names.c \
     14   1.8  christos 	popen.c quit.c send.c strings.c temp.c tty.c vars.c
     15  1.27  christos SRCS+=	format.c
     16   1.3       jtc LINKS=	${BINDIR}/mail ${BINDIR}/Mail ${BINDIR}/mail ${BINDIR}/mailx
     17   1.3       jtc MLINKS=	mail.1 Mail.1 mail.1 mailx.1
     18  1.20       wiz 
     19  1.25  christos LDADD+=		-lutil
     20  1.25  christos DPADD+=		${LIBUTIL}
     21  1.25  christos 
     22  1.27  christos .if ${SMOPTS_CMD:Uno} == "yes"
     23  1.27  christos SRCS+=	cmd4.c
     24  1.27  christos CPPFLAGS+=	-DSMOPTS_CMD
     25  1.27  christos .endif
     26  1.27  christos 
     27  1.26  christos .if ${USE_EDITLINE:Uno} == "yes"
     28  1.23  christos SRCS+=	complete.c
     29  1.23  christos 
     30  1.25  christos CPPFLAGS+=	-DUSE_EDITLINE
     31  1.24        he LDADD+=		-ledit -ltermcap
     32  1.24        he DPADD+=		${LIBEDIT} ${LIBTERMCAP}
     33  1.23  christos 
     34  1.26  christos .if ${MIME_SUPPORT:Uno} == "yes"
     35  1.25  christos SRCS+=	mime_attach.c
     36  1.25  christos SRCS+=	mime_child.c
     37  1.25  christos SRCS+=	mime_codecs.c
     38  1.25  christos SRCS+=	mime_decode.c
     39  1.25  christos SRCS+=	mime_header.c
     40  1.25  christos 
     41  1.25  christos CPPFLAGS+=	-DMIME_SUPPORT
     42  1.26  christos .if ${CHARSET_SUPPORT:Uno} == "yes"
     43  1.25  christos CPPFLAGS+=	-DCHARSET_SUPPORT
     44  1.25  christos .endif
     45  1.25  christos 
     46  1.25  christos LDADD+=		-lmagic -lz
     47  1.25  christos DPADD+=		${LIBMAGIC} ${LIBZ}
     48  1.25  christos .endif
     49  1.23  christos .endif
     50  1.23  christos 
     51  1.23  christos WARNS=	4
     52  1.25  christos CWARNFLAGS+=	-Wextra
     53   1.3       jtc 
     54  1.21     lukem .PATH: ${.CURDIR}/misc
     55  1.21     lukem 
     56  1.15     lukem .if ${MKSHARE} != "no"
     57  1.21     lukem FILESDIR=		/usr/share/misc
     58  1.21     lukem FILES=			mail.help mail.tildehelp
     59   1.5   mycroft 
     60   1.5   mycroft .if make(install)
     61   1.5   mycroft SUBDIR+= USD.doc
     62  1.14     lukem .endif
     63   1.5   mycroft .endif
     64  1.11     perry 
     65  1.21     lukem CONFIGFILES=		mail.rc
     66  1.21     lukem FILESDIR_mail.rc=	/etc
     67   1.1       cgd 
     68   1.1       cgd .include <bsd.prog.mk>
     69  1.13   mycroft .include <bsd.subdir.mk>
     70