summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSunil Nimmagadda <sunil@nimmagadda.net>2014-03-27 09:53:22 +0500
committerSunil Nimmagadda <sunil@nimmagadda.net>2014-03-27 09:53:22 +0500
commit305e2fd5530ace4fc7c3e9665a4645a94efdfbd7 (patch)
tree934ccba83378bdb1d17d4bf26b8dda37d60a7e74 /Makefile
Import pop3d.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 14 insertions, 0 deletions
diff --git a/Makefile b/Makefile
new file mode 100644
index 0000000..58e4f80
--- /dev/null
+++ b/Makefile
@@ -0,0 +1,14 @@
+PROG= pop3d
+MAN= pop3d.8
+CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations -Wshadow -Wpointer-arith
+CFLAGS+= -Wcast-qual -Wsign-compare
+CFLAGS+= -DIO_SSL
+DEBUG= -g
+SRCS= pop3d.c pop3e.c session.c maildrop.c maildir.c mbox.c util.c
+SRCS+= imsgev.c iobuf.c ioev.c
+SRCS+= ssl.c ssl_privsep.c
+LDADD+= -levent -lssl -lcrypto -lutil
+DPADD= ${LIBEVENT} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}
+
+.include <bsd.prog.mk>