1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-22 20:41:26 +00:00
freebsd-ports/graphics/gdchart/files/Makefile
Hye-Shik Chang d289f92dd8 Build and install a shared library.
Approved by:	knu (maintainer)
2004-02-28 11:54:24 +00:00

28 lines
455 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 \
gifencode.c \
price_conv.c
INCS= gdc.h \
gdchart.h \
gdcpie.h \
gifencode.h
NOMAN= 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>