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