1# $OpenBSD: Makefile,v 1.47 2018/07/03 01:34:43 mortimer Exp $ 2 3.PATH: ${.CURDIR}/.. 4 5PROG= smtpctl 6BINOWN= root 7BINGRP= _smtpq 8 9BINMODE?=2555 10 11BINDIR= /usr/sbin 12MAN= smtpctl.8 aliases.5 forward.5 makemap.8 newaliases.8 13 14CFLAGS+= -fstack-protector-all 15CFLAGS+= -I${.CURDIR}/.. 16CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes 17CFLAGS+= -Wmissing-declarations 18CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual 19CFLAGS+= -Wsign-compare 20CFLAGS+= -Werror-implicit-function-declaration 21CFLAGS+= -DNO_IO 22CFLAGS+= -DCONFIG_MINIMUM 23YFLAGS= 24 25SRCS= enqueue.c 26SRCS+= parser.c 27SRCS+= log.c 28SRCS+= envelope.c 29SRCS+= crypto.c 30SRCS+= queue_backend.c 31SRCS+= queue_fs.c 32SRCS+= smtpctl.c 33SRCS+= util.c 34SRCS+= compress_backend.c 35SRCS+= compress_gzip.c 36SRCS+= to.c 37SRCS+= expand.c 38SRCS+= tree.c 39SRCS+= config.c 40SRCS+= dict.c 41SRCS+= aliases.c 42SRCS+= limit.c 43SRCS+= makemap.c 44SRCS+= parse.y 45SRCS+= mailaddr.c 46SRCS+= table.c 47SRCS+= table_static.c 48SRCS+= table_db.c 49SRCS+= table_getpwnam.c 50SRCS+= table_proc.c 51SRCS+= unpack_dns.c 52SRCS+= spfwalk.c 53 54LDADD+= -levent -lutil -lz -lcrypto 55DPADD+= ${LIBEVENT} ${LIBUTIL} ${LIBZ} ${LIBCRYPTO} 56.include <bsd.prog.mk> 57