X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=Makefile;h=625b5220cf678e7014b250f1c5584728f4535076;hb=f7b25a15dd913dc7a40e3db957d216792c2fb694;hp=f454fe8b8607712935101f2d12c7ff6ae3b7a736;hpb=57730f726f3c824e633bc7eda35d679a3484fcbb;p=i3%2Fi3status diff --git a/Makefile b/Makefile index f454fe8..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)) @@ -98,7 +104,7 @@ install: release: [ -f i3status-${VERSION} ] || rm -rf i3status-${VERSION} mkdir i3status-${VERSION} - find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|h\)" -or -name "Makefile" -or -name "LICENSE" -or -name "CHANGELOG" \) -exec cp '{}' i3status-${VERSION} \; + find . -maxdepth 1 -type f \( -regex ".*\.\(c\|conf\|h\)" -or -name "README" -or -name "Makefile" -or -name "LICENSE" -or -name "CHANGELOG" \) -exec cp '{}' i3status-${VERSION} \; mkdir i3status-${VERSION}/src mkdir i3status-${VERSION}/man find src -maxdepth 1 -type f \( -regex ".*\.\(c\|h\)" \) -exec cp '{}' i3status-${VERSION}/src \;