summaryrefslogtreecommitdiff
path: root/multimedia/libdivxencore/files/Makefile
blob: 2a00c520820a60a2de1d2f907af4a511177447f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $FreeBSD$

LIB=	divxencore
SHLIB_MAJOR=	${LIB_VERSION}
SHLIB_MINOR=	0
CFLAGS+=-I${.CURDIR}
SRCS=	bitstream.c encore.c mom_access.c mom_util.c mot_code.c \
	mot_est_comp.c mot_est_mb.c mot_util.c putvlc.c rate_ctl.c \
	text_bits.c text_code.c text_code_mb.c text_dct.c vop_code.c
INCS=	encore.h

# idea taken from port security/libparanoia
# hacks around <bsd.lib.mk>, which ignores PREFIX
.if defined(PREFIX)
DESTDIR=${PREFIX}/
.else
DESTDIR=/usr/local/
.endif
INCDIR=include/divx/
LIBDIR=lib/

.include <bsd.lib.mk>