mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-09 08:41:32 +00:00
GNUmakefile: add standard path for NetBSD, test for git and svn before use
This commit is contained in:
parent
ae15803bf1
commit
fa20eb1de7
@ -94,6 +94,11 @@ ifeq "$(shell uname -s)" "OpenBSD"
|
|||||||
LDFLAGS += -L /usr/local/lib/
|
LDFLAGS += -L /usr/local/lib/
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
ifeq "$(shell uname -s)" "NetBSD"
|
||||||
|
override CFLAGS += -I /usr/pkg/include/
|
||||||
|
LDFLAGS += -L /usr/pkg/lib/
|
||||||
|
endif
|
||||||
|
|
||||||
AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c)
|
AFL_FUZZ_FILES = $(wildcard src/afl-fuzz*.c)
|
||||||
|
|
||||||
ifneq "$(shell command -v python3m 2>/dev/null)" ""
|
ifneq "$(shell command -v python3m 2>/dev/null)" ""
|
||||||
@ -198,10 +203,10 @@ ifdef NO_PYTHON
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
IN_REPO=0
|
IN_REPO=0
|
||||||
ifeq "$(shell git status >/dev/null 2>&1 && echo 1 || echo 0)" "1"
|
ifeq "$(shell command -v git && git status >/dev/null 2>&1 && echo 1 || echo 0)" "1"
|
||||||
IN_REPO=1
|
IN_REPO=1
|
||||||
endif
|
endif
|
||||||
ifeq "$(shell svn proplist . 2>/dev/null && echo 1 || echo 0)" "1"
|
ifeq "$(shell command -v svn && svn proplist . 2>/dev/null && echo 1 || echo 0)" "1"
|
||||||
IN_REPO=1
|
IN_REPO=1
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user