freebsd-ports/graphics/libjxr/files/BSDmakefile.libjpegxr
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
742 B
Text

LIB= jpegxr
SHLIB_MAJOR= 1
MK_PROFILE= no
LIBDIR= ${PREFIX}/lib
INCLUDEDIR= ${PREFIX}/include/jxrlib
INCS= guiddef.h windowsmediaphoto.h wmsal.h wmspecstring.h \
wmspecstrings_adt.h wmspecstrings_strict.h wmspecstrings_undef.h
SRCS= encode.c segenc.c strenc.c strFwdTransform.c strPredQuantEnc.c \
decode.c postprocess.c segdec.c strdec.c strInvTransform.c \
strPredQuantDec.c JXRTranscode.c adapthuff.c image.c \
strcodec.c strPredQuant.c strTransform.c perfTimerANSI.c
.PATH: ${.CURDIR:H}/image/sys ${.CURDIR:H}/image/encode
.PATH: ${.CURDIR:H}/image/decode ${.CURDIR:H}/common/include
CFLAGS+= -I. -I${.CURDIR:H}/common/include -I${.CURDIR:H}/image/sys
CFLAGS+= -D__ANSI__ -DDISABLE_PERF_MEASUREMENT
.include <bsd.lib.mk>