aboutsummaryrefslogtreecommitdiff
path: root/libtokencap/Makefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-08-04 13:30:08 +0200
committerGitHub <noreply@github.com>2020-08-04 13:30:08 +0200
commitb2aa8b03d91b5d19384df2cb0318f65c5cb4b934 (patch)
treea1ae0e98728da60f929f834148d426911ed5d2a0 /libtokencap/Makefile
parentd5d8d664d0d4b95792aaccd16264f3a3cff48cc8 (diff)
parente1d20706ca97faf871abc03a9db3b551277d6b3f (diff)
downloadafl++-b2aa8b03d91b5d19384df2cb0318f65c5cb4b934.tar.gz
Merge pull request #488 from AFLplusplus/dev
Dev
Diffstat (limited to 'libtokencap/Makefile')
-rw-r--r--libtokencap/Makefile19
1 files changed, 9 insertions, 10 deletions
diff --git a/libtokencap/Makefile b/libtokencap/Makefile
index 8bdfa5ac..244ee58f 100644
--- a/libtokencap/Makefile
+++ b/libtokencap/Makefile
@@ -28,23 +28,22 @@ UNAME_S =$(shell uname -s)# GNU make
UNAME_S:sh=uname -s # BSD make
_UNIQ=_QINU_
- _OS_DL = $(_UNIQ)$(UNAME_S)
- __OS_DL = $(_OS_DL:$(_UNIQ)Linux=$(_UNIQ))
- ___OS_DL = $(__OS_DL:$(_UNIQ)Darwin=$(_UNIQ))
- ____OS_DL = $(___OS_DL:$(_UNIQ)DragonFly=$(_UNIQ))
- _____OS_DL = $(____OS_DL:$(_UNIQ)$(UNAME_S)=)
-______OS_DL = $(_____OS_DL:$(_UNIQ)="-ldl")
+ _OS_DL = $(_UNIQ)$(UNAME_S)
+ __OS_DL = $(_OS_DL:$(_UNIQ)Linux=$(_UNIQ))
+ ___OS_DL = $(__OS_DL:$(_UNIQ)Darwin=$(_UNIQ))
+ ____OS_DL = $(___OS_DL:$(_UNIQ)$(UNAME_S)=)
+_____OS_DL = $(____OS_DL:$(_UNIQ)="-ldl")
- _OS_TARGET = $(____OS_DL:$(_UNIQ)FreeBSD=$(_UNIQ))
+ _OS_TARGET = $(___OS_DL:$(_UNIQ)FreeBSD=$(_UNIQ))
__OS_TARGET = $(_OS_TARGET:$(_UNIQ)OpenBSD=$(_UNIQ))
___OS_TARGET = $(__OS_TARGET:$(_UNIQ)NetBSD=$(_UNIQ))
____OS_TARGET = $(___OS_TARGET:$(_UNIQ)Haiku=$(_UNIQ))
_____OS_TARGET = $(____OS_TARGET:$(_UNIQ)SunOS=$(_UNIQ))
-______OS_TARGET = $(____OS_TARGET:$(_UNIQ)$(UNAME_S)=)
+______OS_TARGET = $(_____OS_TARGET:$(_UNIQ)$(UNAME_S)=)
-TARGETS = $(_____OS_TARGET:$(_UNIQ)=libtokencap.so)
+TARGETS = $(______OS_TARGET:$(_UNIQ)=libtokencap.so)
-LDFLAGS += $(______OS_DL)
+LDFLAGS += $(_____OS_DL)
#ifeq "$(shell uname)" "Linux"
# TARGETS = libtokencap.so