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