mirror of
https://github.com/radareorg/radare2.git
synced 2024-12-12 15:38:09 +00:00
2d160f2509
* Avoid duplication of SDB headers in libr/include SDB is an external project and as such it should live in shlr. However, for simplicity in dealing with the include flags, the SDB headers were copied in libr/include as well. This patch just keeps the SDB files confined in shlr/sdb and make sure various r_* libs use the headers from there. * Fix pkgconfig file generation
37 lines
668 B
Makefile
37 lines
668 B
Makefile
NAME=rz
|
|
LIBAR=librz.$(EXT_AR)
|
|
|
|
include ../../config-user.mk
|
|
include ../../libr/config.mk
|
|
include ../../mk/platform.mk
|
|
include ../../mk/$(COMPILER).mk
|
|
include ../../shlr/sdb.mk
|
|
|
|
ifeq ($(USE_LIB_ZIP),1)
|
|
all:
|
|
rm -f librz.$(EXT_AR)
|
|
else
|
|
|
|
LIBAR=librz.$(EXT_AR)
|
|
RANLIB?=ranlib
|
|
|
|
all: $(LIBAR)
|
|
|
|
$(LIBAR): zip/libr_zip.$(EXT_AR)
|
|
@echo ${CC_AR} zlib/*.o zip/*.o
|
|
${CC_AR} zlib/*.o zip/*.o
|
|
@echo $(RANLIB) librz.$(EXT_AR)
|
|
$(RANLIB) librz.$(EXT_AR)
|
|
|
|
zip/libr_zip.$(EXT_AR): zlib/libr_z.$(EXT_AR)
|
|
$(MAKE) -C zip
|
|
|
|
zlib/libr_z.$(EXT_AR):
|
|
$(MAKE) -C zlib
|
|
|
|
clean:
|
|
$(MAKE) -C zlib clean
|
|
$(MAKE) -C zip clean
|
|
rm -f *.$(EXT_AR) *.${EXT_SO} zlib/*.$(EXT_AR) zip/*.$(EXT_AR)
|
|
endif
|