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