mirror of
https://git.freebsd.org/ports.git
synced 2025-05-29 17:36:28 -04:00
Despite the seemingly large version jump, the sole change is the compatibility with lcms-2.x. I'm now also adding fixes for some compiler-warnings raised by the modern clang. These suggest, certain parts of the code aren't even really excercised. Neither API nor ABI are changing, so no shared library version-bump.
22 lines
496 B
Text
22 lines
496 B
Text
LIB= mng
|
|
LDADD= -lm -L${LIBDIR} -lz -llcms2 -ljpeg
|
|
|
|
MK_PROFILE= no
|
|
SHLIB_MAJOR?= 1
|
|
SHLIB_MINOR?= 0
|
|
|
|
SRCS!= ${MAKE} -f ${.CURDIR}/makefiles/makefile.unix -V SOURCES
|
|
|
|
CFLAGS+= -I${INCDIR}
|
|
.if ${WITH_MNG_OPTIMIZE} == "truex"
|
|
.for f in CHUNKINITFREE OBJCLEANUP CHUNKASSIGN CHUNKREADER
|
|
CFLAGS+= -DMNG_OPTIMIZE_$f
|
|
.endfor
|
|
.endif
|
|
|
|
INCS= libmng.h libmng_conf.h libmng_types.h
|
|
INCSDIR= ${LOCALBASE}/include
|
|
INCDIR= ${INCSDIR} # for pre-bsd.incs.mk API
|
|
LIBDIR= ${LOCALBASE}/lib
|
|
|
|
.include <bsd.lib.mk>
|