rizin/libr/parse/Makefile
pancake 25df4aef1c Fixed io ports flagspace usage and multiple asm filters
Handle negated flagspace in RParse
Support pseudo+decode+disasm
2012-11-13 02:00:00 +01:00

28 lines
598 B
Makefile

NAME=r_parse
DEPS=r_lib r_flags r_util r_anal
include ../config.mk
foo:
@for a in pre libr_parse.${EXT_SO} libr_parse.${EXT_AR} plugins bins ; do ${MAKE} $$a ; done
CFLAGS+=-DCORELIB
-include ${STATIC_PARSE_PLUGINS}
STATIC_OBJS=$(subst ..,p/..,$(subst parse_,p/parse_,$(STATIC_OBJ)))
OBJS=parse.o ${STATIC_OBJS}
bins:
@cd t && ${MAKE} all
pre:
ifeq ($(WITHNONPIC),1)
@if [ ! -e libr_parse.${EXT_AR} ]; then rm -f ${STATIC_OBJS} ; fi
endif
ifeq ($(WITHPIC),1)
@if [ ! -e libr_parse.${EXT_SO} ]; then rm -f ${STATIC_OBJS} ; fi
endif
plugins:
@cd p && ${MAKE} all
include $(LTOP)/rules.mk