Files
radaree2/subprojects/Makefile
2026-03-21 18:31:11 +01:00

49 lines
688 B
Makefile

.PHONY: default all clean
-include ../config-user.mk
DEPS=sdb
ifeq ($(WANT_QJS),1)
DEPS += qjs
endif
ifeq ($(WANT_ZIP),1)
ifeq ($(USE_LIB_ZIP),0)
DEPS += otezip
endif
endif
ifeq ($(WANT_V35),1)
DEPS += binaryninja
endif
ifeq ($(WANT_CAPSTONE),0)
WANT_BUNDLED_CAPSTONE=0
else ifeq ($(USE_CAPSTONE),1)
WANT_BUNDLED_CAPSTONE=0
else
WANT_BUNDLED_CAPSTONE=1
endif
ifeq ($(WANT_BUNDLED_CAPSTONE),1)
ifeq ($(USE_CS4),1)
DEPS += capstone-v4
else ifeq ($(USE_CSNEXT),1)
DEPS += capstone-next
else
DEPS += capstone-v5
endif
endif
ALL=$(basename $(wildcard *.mk))
default: $(DEPS)
all: $(DEPS)
clean:
rm -rf $(ALL)
include $(addsuffix .mk,$(DEPS))