ports/graphics/libjxr/files/BSDmakefile.JxrDecApp
Mikhail Teterin b71ce84f0e Fix handling of (some of) the warnings, by fixing them
at the sources, rather than disabling them on command-line.

The disabling was not working with gcc.

PR:		236018
Submitted by:	Piotr Kubaj
2019-03-03 23:00:38 +00:00

15 lines
430 B
Text

PROG= JxrDecApp
BINDIR= ${PREFIX}/bin
MANDIR= ${MANPREFIX}/man/man
CFLAGS= -I${.CURDIR:H}/jxrgluelib -I${.CURDIR:H}/jxrtestlib
CFLAGS+=-I${.CURDIR:H}/image/sys -I${.CURDIR:H}/common/include
CFLAGS+=-D__ANSI__ -DDISABLE_PERF_MEASUREMENT
LDADD= -L${.CURDIR:H}/jxrgluelib -Wl,-rpath-link=${.CURDIR:H}/libjpegxr -ljxrglue
.PATH: ${.CURDIR:H}/jxrencoderdecoder
.PATH: ${WRKDIR}/debian # man-pages are there
.include <bsd.prog.mk>