1# $OpenBSD: Makefile,v 1.35 2014/01/18 05:54:51 martynas Exp $ 2 3.PATH: ${.CURDIR}/.. 4 5PROG= smtpctl 6BINOWN= root 7 8BINMODE?=555 9 10BINDIR= /usr/sbin 11MAN= smtpctl.8 12 13CFLAGS+= -g3 -ggdb -I${.CURDIR}/.. 14CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes 15CFLAGS+= -Wmissing-declarations 16CFLAGS+= -Wshadow -Wpointer-arith -Wcast-qual 17CFLAGS+= -Wsign-compare 18CFLAGS+= -DNO_IO 19 20SRCS= enqueue.c parser.c log.c envelope.c crypto.c 21SRCS+= queue_backend.c queue_fs.c 22SRCS+= smtpctl.c util.c 23SRCS+= compress_backend.c compress_gzip.c 24SRCS+= to.c expand.c tree.c dict.c 25 26LDADD+= -lutil -lz -lcrypto 27DPADD+= ${LIBUTIL} ${LIBZ} ${LIBCRYPTO} 28.include <bsd.prog.mk> 29