X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;fp=Makefile;h=625b5220cf678e7014b250f1c5584728f4535076;hb=a85bd9b930166aee3c4c78ccca3506b9303e70b4;hp=daa7a2821033cd26a3a9ec58b570c4b7e38dea54;hpb=e4b854543a2f0ff960e8b41ed62c1b8db7f5903b;p=i3%2Fi3status diff --git a/Makefile b/Makefile index daa7a28..625b522 100644 --- a/Makefile +++ b/Makefile @@ -34,12 +34,18 @@ ifeq ($(OS),GNU/kFreeBSD) LIBS+=-lbsd endif -ifeq ($(OS),OpenBSD) +ifneq (, $(filter $(OS), DragonFly FreeBSD OpenBSD)) CFLAGS+=-I/usr/local/include/ LDFLAGS+=-L/usr/local/lib/ +endif + +ifeq ($(OS),OpenBSD) LIBS+=-lossaudio endif +ifeq ($(OS), NetBSD) +LIBS+= -lprop +endif # This probably applies for any pkgsrc based system ifneq (, $(filter $(OS), NetBSD DragonFly)) @@ -47,11 +53,6 @@ CFLAGS+=-I/usr/pkg/include/ LDFLAGS+=-L/usr/pkg/lib/ endif -ifeq ($(OS), NetBSD) -LIBS+= -lprop -endif - - V ?= 0 ifeq ($(V),0) # Don’t print command lines which are run