shithub: dav1d

ref: a3856f049d188b971c0956b1b5cef350212f03a3
dir: /src/mkfile/

View raw version
</$objtype/mkfile

LIB=libdav1d.$objtype.a

CFLAGS=$CFLAGS -DNDEBUG -I../include/dav1d -I.. -I../include -Iplan9 -p -D__plan9__ -D__${objtype}__ -DBITDEPTH=8

HFILES=\

OFILES=\
	cdef_apply_tmpl.$O\
	cdef_apply_tmpl16.$O\
	cdef_tmpl.$O\
	cdef_tmpl16.$O\
	cdf.$O\
	cpu.$O\
	data.$O\
	decode.$O\
	dequant_tables.$O\
	fg_apply_tmpl.$O\
	fg_apply_tmpl16.$O\
	film_grain_tmpl.$O\
	film_grain_tmpl16.$O\
	getbits.$O\
	intra_edge.$O\
	ipred_prepare_tmpl.$O\
	ipred_prepare_tmpl16.$O\
	ipred_tmpl.$O\
	ipred_tmpl16.$O\
	itx_1d.$O\
	itx_tmpl.$O\
	itx_tmpl16.$O\
	lf_apply_tmpl.$O\
	lf_apply_tmpl16.$O\
	lf_mask.$O\
	lib.$O\
	log.$O\
	loopfilter_tmpl.$O\
	loopfilter_tmpl16.$O\
	looprestoration_tmpl.$O\
	looprestoration_tmpl16.$O\
	lr_apply_tmpl.$O\
	lr_apply_tmpl16.$O\
	mc_tmpl.$O\
	mc_tmpl16.$O\
	mem.$O\
	msac.$O\
	obu.$O\
	picture.$O\
	plan9_builtins`{test -f plan9_builtins_$objtype.s && echo -n _$objtype}.$O\
	plan9_thread.$O\
	qm.$O\
	recon_tmpl.$O\
	recon_tmpl16.$O\
	ref.$O\
	refmvs.$O\
	scan.$O\
	tables.$O\
	thread_task.$O\
	warpmv.$O\
	wedge.$O\

</sys/src/cmd/mklib

%16.$O: %.c
	$CC $CFLAGS '-DBITDEPTH=16' -o $target $prereq