mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-01 09:00:46 +00:00
20 lines
454 B
Makefile
20 lines
454 B
Makefile
ifeq ($(WANT_CAPSTONE),1)
|
|
ifeq ($(USE_CAPSTONE),1)
|
|
CS_CFLAGS=${CAPSTONE_CFLAGS}
|
|
CS_LDFLAGS=${CAPSTONE_LDFLAGS}
|
|
else
|
|
CS_CFLAGS=-I../../shlr/capstone/include
|
|
CS_CFLAGS+=-I../../../shlr/capstone/include
|
|
CS_CFLAGS+=-I../../shlr/capstone/include/capstone
|
|
CS_CFLAGS+=-I../../../shlr/capstone/include/capstone
|
|
CS_LDFLAGS=$(SHLR)/capstone/libcapstone.a
|
|
endif
|
|
|
|
ifeq ($(CS_CFLAGS_INCLUDED),)
|
|
CFLAGS+=$(CS_CFLAGS)
|
|
CS_CFLAGS_INCLUDED=Yes
|
|
endif
|
|
else
|
|
CS_CFLAGS=
|
|
endif
|