X-Git-Url: https://jasonwoof.com/gitweb/?a=blobdiff_plain;f=freebsd%2FMakefile;h=2d97974dd6fe225d902a0fb35abc6c4908d8c1b5;hb=4a043e85195b7337a6087d38d0c6c5c6817f187f;hp=130ffd508281ae32b3df4414f28b233eddefd6b1;hpb=b93600b2016193b34e47ae0cb632aeb77dc256f5;p=spectrwm.git diff --git a/freebsd/Makefile b/freebsd/Makefile index 130ffd5..2d97974 100644 --- a/freebsd/Makefile +++ b/freebsd/Makefile @@ -2,13 +2,10 @@ BINDIR?= $(PREFIX)/bin LIBDIR?= $(PREFIX)/lib MANDIR?= $(PREFIX)/share/man -#MAJOR!=grep "major" ../lib/shlib_version | cut -d "=" -f2 -#MINOR!=grep "minor" ../lib/shlib_version | cut -d "=" -f2 -#LVERS=${MAJOR}.${MINOR} LVERS!= awk -F = '/major/ { printf( "%s.", $$2 ) } /minor/ { printf( "%s", $$2 ) }' ${.CURDIR}/../lib/shlib_version BUILDVERSION!= sh "${.CURDIR}/../buildver.sh" .if !${BUILDVERSION} == "" -CPPFLAGS+= -DSCROTWM_BUILDSTR=\"$(BUILDVERSION)\" +CFLAGS+= -DSCROTWM_BUILDSTR=\"$(BUILDVERSION)\" .endif CFLAGS+= -Wall -Wno-uninitialized -I. -I${X11BASE}/include