X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=common.mk;h=b086bc8535ff5f349bebcfb3d0036a69f608aeb5;hb=931dda2d0bf72ab81bf9394a1b04872d35dc46c2;hp=23ac8e34f0efb59492647f1fda2b745f55ce7304;hpb=b2c91f54abe6ab6af225dbdc987918c1f449dc0c;p=i3%2Fi3 diff --git a/common.mk b/common.mk index 23ac8e34..b086bc85 100644 --- a/common.mk +++ b/common.mk @@ -2,6 +2,7 @@ UNAME=$(shell uname) DEBUG=1 COVERAGE=0 INSTALL=install +LN=ln ifndef PREFIX PREFIX=/usr endif @@ -114,9 +115,6 @@ XCURSOR_LIBS := $(call ldflags_for_lib, xcb-cursor,xcb-cursor) # yajl YAJL_CFLAGS := $(call cflags_for_lib, yajl) -# Fallback for libyajl 1 which did not include yajl_version.h. We need -# YAJL_MAJOR from that file to decide which code path should be used. -YAJL_CFLAGS += -idirafter $(TOPDIR)/yajl-fallback YAJL_LIBS := $(call ldflags_for_lib, yajl,yajl) #libev @@ -170,8 +168,8 @@ endif ifeq ($(UNAME),Darwin) LIBS += -liconv -else -# Darwin (Mac OS X) doesn’t have librt +else ifneq ($(UNAME),OpenBSD) +# Darwin (Mac OS X) and OpenBSD do not have librt LIBS += -lrt endif