blob: 865b974c0bd213493830ad38b657683cb5c9b9d3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
LIB= mng
LDADD= -lm -L${LIBDIR} -lz -llcms -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} == "true"
.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>
|