ee5a34ecba
Reduce overlinking
40 lines
635 B
Makefile
40 lines
635 B
Makefile
# $FreeBSD$
|
|
|
|
.PATH: ${.CURDIR}/../../contrib/dma
|
|
|
|
CFLAGS= -I${.CURDIR}/../../contrib/dma \
|
|
-DHAVE_REALLOCF -DHAVE_STRLCPY -DHAVE_GETPROGNAME \
|
|
-DCONF_PATH='"/etc/dma"' \
|
|
-DLIBEXEC_PATH='"/usr/libexec"' -DDMA_VERSION='"v0.9+"' \
|
|
-DDMA_ROOT_USER='"mailnull"' \
|
|
-DDMA_GROUP='"mail"'
|
|
LIBADD= ssl crypto
|
|
|
|
PROG= dma
|
|
SRCS= aliases_parse.y \
|
|
aliases_scan.l \
|
|
base64.c \
|
|
conf.c \
|
|
crypto.c \
|
|
dma.c \
|
|
dns.c \
|
|
local.c \
|
|
mail.c \
|
|
net.c \
|
|
spool.c \
|
|
util.c
|
|
MAN8= dma.8
|
|
YFLAGS+= -i
|
|
CLEANFILES= aliases_parse.i
|
|
|
|
BINGRP= mail
|
|
BINMODE= 2555
|
|
|
|
.include <bsd.compiler.mk>
|
|
|
|
.if ${COMPILER_TYPE} == gcc
|
|
WARNS= 5
|
|
.endif
|
|
|
|
.include <bsd.prog.mk>
|