mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-21 13:53:55 -07:00
Makefile: more info
This commit is contained in:
parent
fc2ff7bb0a
commit
162b7b58df
1 changed files with 54 additions and 28 deletions
|
@ -72,9 +72,9 @@ TINYCBORLIBINC = -I$(TINYCBORLIBPATH)
|
||||||
TINYCBORLIB = $(TINYCBORLIBPATH)/tinycbor.a
|
TINYCBORLIB = $(TINYCBORLIBPATH)/tinycbor.a
|
||||||
|
|
||||||
## Whereami
|
## Whereami
|
||||||
WAILIBPATH = ./deps/whereami
|
WHEREAMILIBPATH = ./deps/whereami
|
||||||
WAILIBINC = -I$(WAILIBPATH)
|
WHEREAMILIBINC = -I$(WHEREAMILIBPATH)
|
||||||
WAILIB = $(WAILIBPATH)/libwhereami.a
|
WHEREAMILIB = $(WHEREAMILIBPATH)/libwhereami.a
|
||||||
|
|
||||||
##########################
|
##########################
|
||||||
# common local libraries #
|
# common local libraries #
|
||||||
|
@ -153,13 +153,13 @@ INCLUDES += $(TINYCBORLIBINC)
|
||||||
## Whereami
|
## Whereami
|
||||||
ifneq ($(SKIPWHEREAMISYSTEM),1)
|
ifneq ($(SKIPWHEREAMISYSTEM),1)
|
||||||
ifneq (,$(wildcard /usr/include/whereami.h))
|
ifneq (,$(wildcard /usr/include/whereami.h))
|
||||||
WAILIB = -lwhereami
|
WHEREAMILIB = -lwhereami
|
||||||
WAILIBINC =
|
WHEREAMILIBINC =
|
||||||
WAI_FOUND = 1
|
WHEREAMI_FOUND = 1
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
LDLIBS += $(WAILIB)
|
LDLIBS += $(WHEREAMILIB)
|
||||||
INCLUDES += $(WAILIBINC)
|
INCLUDES += $(WHEREAMILIBINC)
|
||||||
|
|
||||||
## Zlib
|
## Zlib
|
||||||
# system library useable? Need to recompress hardnested tables?
|
# system library useable? Need to recompress hardnested tables?
|
||||||
|
@ -305,38 +305,64 @@ $(info Client platform: $(platform))
|
||||||
|
|
||||||
ifeq ($(SKIPQT),1)
|
ifeq ($(SKIPQT),1)
|
||||||
$(info GUI support: skipped)
|
$(info GUI support: skipped)
|
||||||
else ifeq ($(QT_FOUND),1)
|
|
||||||
ifeq ($(QT5_FOUND),1)
|
|
||||||
$(info GUI support: QT5 found, enabled)
|
|
||||||
else
|
|
||||||
$(info GUI support: QT4 found, enabled)
|
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
$(info GUI support: QT not found, disabled)
|
ifeq ($(QT_FOUND),1)
|
||||||
|
ifeq ($(QT5_FOUND),1)
|
||||||
|
$(info GUI support: QT5 found, enabled)
|
||||||
|
else
|
||||||
|
$(info GUI support: QT4 found, enabled)
|
||||||
|
endif
|
||||||
|
else
|
||||||
|
$(info GUI support: QT not found, disabled)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(SKIPBT),1)
|
ifeq ($(SKIPBT),1)
|
||||||
$(info native BT support: skipped)
|
$(info native BT support: skipped)
|
||||||
else ifneq ($(BTLDLIBS),)
|
|
||||||
$(info native BT support: Bluez found, enabled)
|
|
||||||
else
|
else
|
||||||
$(info native BT support: Bluez not found, disabled)
|
ifeq ($(BT_FOUND),1)
|
||||||
|
$(info native BT support: Bluez found, enabled)
|
||||||
|
else
|
||||||
|
$(info native BT support: Bluez not found, disabled)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(JANSSON_FOUND),1)
|
ifeq ($(SKIPJANSSONSYSTEM),1)
|
||||||
|
$(info Jansson library: local library forced)
|
||||||
|
else ifeq ($(JANSSON_FOUND),1)
|
||||||
$(info Jansson library: system library found)
|
$(info Jansson library: system library found)
|
||||||
|
else
|
||||||
|
$(info Jansson library: system library not found, using local library)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(LUA_FOUND),1)
|
ifeq ($(SKIPLUASYSTEM),1)
|
||||||
$(info Lua library: system library found)
|
$(info Lua library: local library forced)
|
||||||
|
else
|
||||||
|
ifeq ($(LUA_FOUND),1)
|
||||||
|
$(info Lua library: system library found)
|
||||||
|
else
|
||||||
|
$(info Lua library: system library not found, using local library)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(WAI_FOUND),1)
|
ifeq ($(SKIPWHEREAMISYSTEM),1)
|
||||||
$(info Whereami library: system library found)
|
$(info Whereami library: local library forced)
|
||||||
|
else
|
||||||
|
ifeq ($(WHEREAMI_FOUND),1)
|
||||||
|
$(info Whereami library: system library found)
|
||||||
|
else
|
||||||
|
$(info Whereami library: system library not found, using local library)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifeq ($(ZLIB_FOUND),1)
|
ifeq ($(SKIPZLIBSYSTEM),1)
|
||||||
$(info Zlib library: system library found)
|
$(info Zlib library: local library forced)
|
||||||
|
else
|
||||||
|
ifeq ($(ZLIB_FOUND),1)
|
||||||
|
$(info Zlib library: system library found)
|
||||||
|
else
|
||||||
|
$(info Zlib library: system library not found, using local library)
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
$(info compiler version: $(shell $(CC) --version|head -n 1))
|
$(info compiler version: $(shell $(CC) --version|head -n 1))
|
||||||
|
@ -554,7 +580,7 @@ clean:
|
||||||
$(Q)$(MAKE) --no-print-directory -C $(LUALIBPATH) clean
|
$(Q)$(MAKE) --no-print-directory -C $(LUALIBPATH) clean
|
||||||
$(Q)$(MAKE) --no-print-directory -C $(REVENGLIBPATH) clean
|
$(Q)$(MAKE) --no-print-directory -C $(REVENGLIBPATH) clean
|
||||||
$(Q)$(MAKE) --no-print-directory -C $(TINYCBORLIBPATH) clean
|
$(Q)$(MAKE) --no-print-directory -C $(TINYCBORLIBPATH) clean
|
||||||
$(Q)$(MAKE) --no-print-directory -C $(WAILIBPATH) clean
|
$(Q)$(MAKE) --no-print-directory -C $(WHEREAMILIBPATH) clean
|
||||||
@# Just in case someone compiled within these dirs:
|
@# Just in case someone compiled within these dirs:
|
||||||
$(Q)$(MAKE) --no-print-directory -C $(MBEDTLSLIBPATH) clean
|
$(Q)$(MAKE) --no-print-directory -C $(MBEDTLSLIBPATH) clean
|
||||||
$(Q)$(MAKE) --no-print-directory -C $(ZLIBPATH) clean
|
$(Q)$(MAKE) --no-print-directory -C $(ZLIBPATH) clean
|
||||||
|
@ -626,9 +652,9 @@ tinycbor:
|
||||||
$(Q)$(MAKE) --no-print-directory -C $(TINYCBORLIBPATH) all
|
$(Q)$(MAKE) --no-print-directory -C $(TINYCBORLIBPATH) all
|
||||||
|
|
||||||
whereami:
|
whereami:
|
||||||
ifneq ($(WAI_FOUND),1)
|
ifneq ($(WHEREAMI_FOUND),1)
|
||||||
$(info [*] MAKE $@)
|
$(info [*] MAKE $@)
|
||||||
$(Q)$(MAKE) --no-print-directory -C $(WAILIBPATH) all
|
$(Q)$(MAKE) --no-print-directory -C $(WHEREAMILIBPATH) all
|
||||||
endif
|
endif
|
||||||
|
|
||||||
zlib:
|
zlib:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue