freebsd-ports/graphics/libjxr/files/BSDmakefile.libjpegxr
Mikhail Teterin bf514be20c Add port of JPEG XR -- to be used by the upcoming update of
graphics/freeimage.

Obtained from:	Debian, sort of
Sponsored by:	Unemployment Insurance
2017-04-15 05:39:51 +00:00

21 lines
771 B
Text

LIB= jpegxr
SHLIB_MAJOR= 1
NO_PROFILE= nope
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
CFLAGS+= -Wno-extra-tokens
.include <bsd.lib.mk>