aboutsummaryrefslogtreecommitdiff
path: root/httpd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'httpd/Makefile')
-rw-r--r--httpd/Makefile19
1 files changed, 19 insertions, 0 deletions
diff --git a/httpd/Makefile b/httpd/Makefile
new file mode 100644
index 0000000..885ad42
--- /dev/null
+++ b/httpd/Makefile
@@ -0,0 +1,19 @@
+# $OpenBSD: Makefile,v 1.27 2015/02/23 10:39:10 reyk Exp $
+
+PROG= httpd
+SRCS= parse.y
+SRCS+= config.c control.c httpd.c log.c logger.c proc.c
+SRCS+= server.c server_http.c server_file.c server_fcgi.c
+MAN= httpd.8 httpd.conf.5
+
+LDADD= -levent -ltls -lssl -lcrypto -lutil
+DPADD= ${LIBEVENT} ${LIBTLS} ${LIBSSL} ${LIBCRYPTO} ${LIBUTIL}
+#DEBUG= -g -DDEBUG=3 -O0
+CFLAGS+= -Wall -I${.CURDIR}
+CFLAGS+= -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wmissing-declarations
+CFLAGS+= -Wshadow -Wpointer-arith
+CFLAGS+= -Wsign-compare
+CLEANFILES+= y.tab.h
+
+.include <bsd.prog.mk>