aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile21
1 files changed, 3 insertions, 18 deletions
diff --git a/Makefile b/Makefile
index 885ad42..7ff4af3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,19 +1,4 @@
-# $OpenBSD: Makefile,v 1.27 2015/02/23 10:39:10 reyk Exp $
+SUBDIR= httpd
+MAKE_FLAGS= BINDIR=/usr/sbin SUDO=sudo
-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>
+.include <bsd.subdir.mk>