mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-26 22:50:48 +00:00
c816dc7e66
Specifically, avoid building all plugins as non-static objects, as well as some supplementary libraries. In fact, a large amount of plugins was already gated to build as shared objects only with WITHPIC=1, but this was not done consistently. This gating has been moved to */p/Makefile. Building these shared objects is a waste of time and breaks the --without-pic build unless CFLAGS is forced in the make invocation.
27 lines
385 B
Makefile
27 lines
385 B
Makefile
include ../../config.mk
|
|
include ../../../mk/platform.mk
|
|
|
|
LINK+=-L../../util -lr_util
|
|
LDFLAGS+=${LINK}
|
|
|
|
ifeq ($(WITHPIC),1)
|
|
all: ${ALL_TARGETS}
|
|
|
|
ALL_TARGETS=
|
|
CFLAGS+=-I../../include
|
|
#ALGOS=aes.mk aes_cbc.mk
|
|
include $(ALGOS)
|
|
|
|
clean:
|
|
-rm -f *.${EXT_SO} *.o ${STATIC_OBJ}
|
|
|
|
mrproper: clean
|
|
-rm -f *.d
|
|
|
|
.PHONY: all clean mrproper
|
|
else
|
|
all clean mrproper:
|
|
|
|
.PHONY: all clean mrproper
|
|
endif
|