shithub: dav1d

ref: 095cc7b2a007ca22ece128d6e764c9598e7d1f83
dir: /src/mkfile.lib/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/libdav1d.a

CFLAGS=$CFLAGS -DNDEBUG -I../include/dav1d -I.. -I../include -Iplan9 -p -D__plan9__ -DBITDEPTH=8

HFILES=\

OFILES=\
	annexb.$O\
	av19.$O\
	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\
	input.$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\
	ivf.$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\
	msac.$O\
	obu.$O\
	picture.$O\
	plan9_builtins.$O\
	plan9_thread.$O\
	qm.$O\
	recon_tmpl.$O\
	recon_tmpl16.$O\
	ref.$O\
	refmvs.$O\
	scan.$O\
	section5.$O\
	tables.$O\
	thread_task.$O\
	warpmv.$O\
	wedge.$O\

/sys/include/%.h:
	cp ../include/$stem.h /sys/include/$stem.h

</sys/src/cmd/mksyslib

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