freebsd-ports/graphics/libjxr/files/BSDmakefile.jxrgluelib
Brooks Davis f2ab442843 Fix build with src r354909 applied.
The referenced change made NO_INSTALLLIB, NO_MAN, and NO_PROFILE into
errors causing these ports that declare them and use the FreeBSD make
infrastructure as part of their build to fail.

When the offending variables occur in a BSD Makefile, NO_MAN becomes
MAN= and NO_INSTALLLIB and NO_PROFILE become MK_INSTALLLIB=no and
MK_PROFILE=no respectively.  When declared in the environment they
become WITHOUT_<FOO>.
2019-11-25 23:25:52 +00:00

20 lines
531 B
Text

LIB= jxrglue
SHLIB_MAJOR= 1
MK_PROFILE= no
LIBDIR= ${PREFIX}/lib
INCLUDEDIR= ${PREFIX}/include/jxrlib
INCS= JXRGlue.h JXRMeta.h JXRTest.h
SRCS= JXRGlue.c JXRMeta.c JXRGluePFC.c JXRGlueJxr.c
SRCS+= JXRTest.c JXRTestBmp.c JXRTestHdr.c JXRTestPnm.c \
JXRTestTif.c JXRTestYUV.c
.PATH: ${.CURDIR:H}/jxrtestlib
CFLAGS+= -I. -I${.CURDIR:H}/common/include -I${.CURDIR:H}/image/sys
CFLAGS+= -I${.CURDIR:H}/jxrtestlib
CFLAGS+= -D__ANSI__ -DDISABLE_PERF_MEASUREMENT
LDADD= -L${.CURDIR:H}/libjpegxr -ljpegxr -lm
.include <bsd.lib.mk>