summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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>