radare2/libr/fs/Makefile

35 lines
666 B
Makefile
Raw Normal View History

2011-01-07 17:22:02 +00:00
NAME=r_fs
R2DEPS=r_util r_io r_socket r_cons r_crypto
CFLAGS:=-DR2_PLUGIN_INCORE -Iarch/include -Iarch $(CFLAGS)
2011-01-07 17:22:02 +00:00
2013-12-14 02:51:18 +00:00
SHLR=../../shlr/
2011-01-07 17:22:02 +00:00
include ../config.mk
CFLAGS:=-I$(SHLR)/grub/include $(CFLAGS)
2018-09-26 17:03:32 +00:00
ifeq ($(WITH_GPL),1)
2013-12-22 02:24:12 +00:00
LDFLAGS+=$(SHLR)/grub/libgrubfs.a
2018-09-26 17:03:32 +00:00
endif
2011-01-07 17:22:02 +00:00
2011-01-17 07:35:57 +00:00
EXTRA_TARGETS=plugins
foo:
for TARGET in pre plugins ${LIBSO} ${LIBAR} ; do ${MAKE} $$TARGET ; done
2011-01-07 17:22:02 +00:00
include ${STATIC_FS_PLUGINS}
2011-01-07 17:22:02 +00:00
STATIC_OBJS=$(subst ..,p/..,$(subst fs_,p/fs_,$(STATIC_OBJ)))
OBJS=${STATIC_OBJS} fs.o fs_file.o fs_shell.o
2020-09-27 04:47:20 +00:00
pre:
cd d && ${MAKE}
2011-01-07 17:22:02 +00:00
re:
rm -f fs.o libr_fs.so
${MAKE}
rm -f t/fastcall.o
sudo ${MAKE} install
cd t && ${MAKE}
plugins:
cd p && ${MAKE} all
include ../rules.mk