Add json_file output format (uses json-c)

This commit is contained in:
HD Moore
2013-08-17 14:02:23 -05:00
parent 01f4f985a1
commit 9d31ee1a62
4 changed files with 254 additions and 0 deletions

View File

@ -43,6 +43,12 @@ ifeq ($(REDIS), true)
CFLAGS+=-DREDIS
endif
ifeq ($(JSON), true)
LDLIBS += $(shell pkg-config --libs json-c)
CFLAGS += $(shell pkg-config --cflags json-c) -DJSON
objects+=module_json.o
endif
all: $(TARGETS)
$(TARGETS):