X-Git-Url: https://code.delx.au/spectrwm/blobdiff_plain/b93600b2016193b34e47ae0cb632aeb77dc256f5..924aaecaaaf372d1b02a6bf195c6e9b03912e31d:/freebsd/Makefile 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