1 Star 0 Fork 140

azureatom/OpenWAF

forked from Miracle Qi/OpenWAF 
加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
克隆/下载
Makefile 627 Bytes
一键复制 编辑 原始数据 按行查看 历史
OPENWAF_PREFIX = $(PWD)
SRCDIR = $(OPENWAF_PREFIX)/lib/openresty
DESTDIR = $(OPENWAF_PREFIX)/lib/resty
CC = gcc
CFLAGS=-fpic -Wall -O3
LFLAGS=-shared
SO_LIBS = transforms.so
MAKE_LIBS = transforms
INSTALL_LIBS = install-transforms
CLEAN_LIBS = clean-transforms
all: $(MAKE_LIBS)
transforms:
cd $(SRCDIR)/transforms && make
clean: $(CLEAN_LIBS)
clean-libs:
cd $(DESTDIR) && rm $(SO_LIBS)
clean-transforms:
cd $(SRCDIR)/transforms && make clean
install: $(INSTALL_LIBS) install-check
install-transforms:
cd $(SRCDIR)/transforms && make install DESTDIR=$(DESTDIR)
install-check:
stat $(DESTDIR)/*.so > /dev/null
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Lua
1
https://gitee.com/azureatom/OpenWAF.git
[email protected]:azureatom/OpenWAF.git
azureatom
OpenWAF
OpenWAF
master

搜索帮助