1# @(#)Makefile 8.1 (Berkeley) 5/31/93
| 1# @(#)Makefile 8.1 (Berkeley) 5/31/93
|
2# $FreeBSD: head/bin/rmail/Makefile 90167 2002-02-04 03:06:51Z kris $
| 2# $FreeBSD: head/bin/rmail/Makefile 90798 2002-02-17 22:05:07Z gshapiro $
|
3 4MAINTAINER= gshapiro@FreeBSD.org 5 6SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 7.PATH: ${SENDMAIL_DIR}/rmail 8 9PROG= rmail 10SRCS= rmail.c 11MAN= rmail.8
| 3 4MAINTAINER= gshapiro@FreeBSD.org 5 6SENDMAIL_DIR=${.CURDIR}/../../contrib/sendmail 7.PATH: ${SENDMAIL_DIR}/rmail 8 9PROG= rmail 10SRCS= rmail.c 11MAN= rmail.8
|
12CFLAGS+=-I${SENDMAIL_DIR}/include
| 12CFLAGS+=-I${SENDMAIL_DIR}/include -I.
|
13WARNS= 0 14WFORMAT=0 15
| 13WARNS= 0 14WFORMAT=0 15
|
16.if exists(${.OBJDIR}/../../lib/libsmutil) 17LIBSMUTILDIR:= ${.OBJDIR}/../../lib/libsmutil
| 16.if exists(${.OBJDIR}/../../lib/libsm) 17LIBSMDIR:= ${.OBJDIR}/../../lib/libsm
|
18.else
| 18.else
|
19LIBSMUTILDIR!= cd ${.CURDIR}/../../lib/libsmutil; make -V .OBJDIR
| 19LIBSMDIR!= cd ${.CURDIR}/../../lib/libsm; make -V .OBJDIR
|
20.endif
| 20.endif
|
21LIBSMUTIL:= ${LIBSMUTILDIR}/libsmutil.a
| 21LIBSM:= ${LIBSMDIR}/libsm.a
|
22
| 22
|
23DPADD= ${LIBSMUTIL} 24LDADD= ${LIBSMUTIL}
| 23DPADD= ${LIBSM} 24LDADD= ${LIBSM}
|
25
| 25
|
| 26SRCS+= sm_os.h 27CLEANFILES+=sm_os.h 28
|
26# User customizations to the sendmail build environment 27CFLAGS+=${SENDMAIL_CFLAGS} 28DPADD+=${SENDMAIL_DPADD} 29LDADD+=${SENDMAIL_LDADD} 30LDFLAGS+=${SENDMAIL_LDFLAGS} 31 32# If you want to have your rmail queuing the mail only, uncomment the 33# following: 34# CFLAGS+= -DQUEUE_ONLY 35 36# Not much point this being static. It calls a shared sendmail... 37NOSHARED?= NO 38
| 29# User customizations to the sendmail build environment 30CFLAGS+=${SENDMAIL_CFLAGS} 31DPADD+=${SENDMAIL_DPADD} 32LDADD+=${SENDMAIL_LDADD} 33LDFLAGS+=${SENDMAIL_LDFLAGS} 34 35# If you want to have your rmail queuing the mail only, uncomment the 36# following: 37# CFLAGS+= -DQUEUE_ONLY 38 39# Not much point this being static. It calls a shared sendmail... 40NOSHARED?= NO 41
|
| 42sm_os.h: 43 ln -sf ${SENDMAIL_DIR}/include/sm/os/sm_os_freebsd.h sm_os.h 44
|
39.include <bsd.prog.mk>
| 45.include <bsd.prog.mk>
|