summaryrefslogtreecommitdiff
path: root/graphics/gdchart/files/Makefile
blob: 8bffd0aef0c9c50aebab52c0fef3e2a9812d5307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
LIB=		gdc
CFLAGS+=	-I${LOCALBASE}/include
LDADD=		-L${LOCALBASE}/lib \
		-lgd \
		-ljpeg \
		-lfreetype
SRCS=		array_alloc.c \
		gdc.c \
		gdc_pie.c \
		gdchart.c \
		price_conv.c
INCS=		gdc.h \
		gdchart.h \
		gdcpie.h
PREFIX?=	/usr/local
LOCALBASE?=	/usr/local
LIBDIR=		${PREFIX}/lib
INCSDIR=	${PREFIX}/include
INCDIR=		${INCSDIR}		# for pre-bsd.incs.mk API
SHLIB_MAJOR=	1

.include <bsd.lib.mk>