freebsd-ports/multimedia/libdivxencore/files/Makefile

24 lines
566 B
Makefile
Raw Normal View History

# $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
2002-07-21 20:18:09 +02:00
INCSDIR=include/divx/
INCDIR=${INCSDIR} # for pre-bsd.incs.mk API
LIBDIR=lib/
.include <bsd.lib.mk>