ports/graphics/libmng/files/Makefile.bsd
Mikhail Teterin 2483852c86 Although the port formally depended on lcms, the software was
compiling  without it  :( Add  the explicit  -D to  CFLAGS. Good
noone tried to use the lcms part of the library...

Also, add library dependencies to LDADD -- -ljpeg -lz -llcms.
2001-04-28 16:16:07 +00:00

17 lines
345 B
Text

LIB= mng
LDADD= -lm -L${LIBDIR} -lz -llcms -ljpeg
NOPROFILE= yes
SHLIB_MAJOR?= 1
SHLIB_MINOR?= 0
LOBJS!= make -f ${.CURDIR}/Makefile.in -V libmng_la_OBJECTS
SRCS= ${LOBJS:.lo=.c}
CFLAGS+= -I${INCDIR} -DMNG_FULL_CMS
INCS= libmng.h libmng_conf.h libmng_types.h
INCDIR= ${LOCALBASE}/include
LIBDIR= ${LOCALBASE}/lib
.include <bsd.lib.mk>