shithub: openh264

ref: 3eb2a137c3deb229b2ba01a18c998bb1b1144e4f
dir: /codec/mkfile/

View raw version
</$objtype/mkfile

LIB=libopenh264.$objtype.a

CFLAGS=$CFLAGS -p -D__plan9__ -D__${objtype}__ -Iapi/svc -Icommon/inc -Idecoder/core/inc/

OFILES=\
	au_parser.$O\
	bit_stream.$O\
	cabac_decoder.$O\
	deblocking.$O\
	decode_mb_aux.$O\
	decode_slice.$O\
	decoder.$O\
	decoder_core.$O\
	decoder_data_tables.$O\
	error_concealment.$O\
	fmo.$O\
	get_intra_predictor.$O\
	manage_dec_ref.$O\
	memmgr_nal_unit.$O\
	mv_pred.$O\
	parse_mb_syn_cabac.$O\
	parse_mb_syn_cavlc.$O\
	pic_queue.$O\
	rec_mb.$O\
	\
	common_tables.$O\
	copy_mb.$O\
	crt_util_safe_x.$O\
	deblocking_common.$O\
	expand_pic.$O\
	intra_pred_common.$O\
	mc.$O\
	sad_common.$O\
	utils.$O\
	\
	plan9.$O\

#	wels_decoder_thread.$O\

UPDATE=\
	mkfile\
	$HFILES\
	${OFILES:%.$O=%.c}\
	${TARG:%=%.c}\
	${LIB}\

</sys/src/cmd/mklib

%.$O: decoder/core/src/%.cpp
	$CC $CFLAGS -o $target decoder/core/src/$stem.cpp

%.$O: common/src/%.cpp
	$CC $CFLAGS -o $target common/src/$stem.cpp