Muninn/Makefile
Ava Affine c4f7f51fe8 request and connection machine
The ability to respond to and process datagrams

Signed-off-by: Ava Affine <ava@sunnypup.io>
2026-06-18 16:42:43 +00:00

31 lines
584 B
Makefile

NGINX_SOURCE_DIR = nginx
ifeq (, $(shell which bear))
MUNIN_BEAR=make
else
MUNIN_BEAR=bear --
endif
ifneq ($(MUNINN_NGINX_DEBUG),)
MUNINN_NGINX_DEBUG="--with-debug"
endif
.PHONY: all clean
all: nginx/objs/nginx
nginx/objs/Makefile: config Makefile
make clean
cd $(NGINX_SOURCE_DIR) && \
./auto/configure \
$(MUNINN_NGINX_DEBUG) \
--with-http_ssl_module \
--with-compat \
--add-module=$(shell pwd)
nginx/objs/nginx: nginx/objs/Makefile muninn_core.c muninn_daemon.c muninn.h
$(MUNIN_BEAR) make -C $(NGINX_SOURCE_DIR)
clean:
-make -C $(NGINX_SOURCE_DIR) clean