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))
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