213ee9fe46
PR: ports/96513 Submitted by: Aleksander Fafula <alex@BSDGuru.org>
25 lines
424 B
Makefile
25 lines
424 B
Makefile
# $FreeBSD$
|
|
|
|
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
|
|
NO_MAN= YES
|
|
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>
|