shithub: pdffs

ref: b1ad1cffd79e7552f06df0381ce58a7571da3dea
dir: /mkfile/

View raw version
</$objtype/mkfile

BIN=/$objtype/bin
TARG=pdffs
PDIR=`{pwd}

OFILES=\
	array.$O\
	buffer.$O\
	dict.$O\
	eval.$O\
	f_ascii85.$O\
	f_asciihex.$O\
	f_ccittfax.$O\
	f_crypt.$O\
	f_dct.$O\
	f_flate.$O\
	f_jbig2.$O\
	f_jpx.$O\
	f_lzw.$O\
	f_runlength.$O\
	filter.$O\
	main.$O\
	misc.$O\
	name.$O\
	object.$O\
	op.$O\
	pdf.$O\
	pdffs.$O\
	predict.$O\
	stream.$O\
	string.$O\
	xref.$O\

HFILES=\
	pdf.h\

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

default:V: all

deps:V:
	mkdir -p $PDIR/deps
	cd $PDIR/deps
	test -d jbig2 || git/clone https://git.sr.ht/~ft/jbig2
	cd jbig2 && git/pull && mk install && mk clean
	cd $PDIR/deps
	test -d jp2 || git/clone https://git.sr.ht/~ft/jp2
	cd jp2 && git/pull && mk install && mk clean
	cd $PDIR

</sys/src/cmd/mkone