shithub: widget

ref: e74727d7e806863494a92d4b5cdcefdeee7495e9
dir: /libwidget/mkfile/

View raw version
</$objtype/mkfile

LIB=/$objtype/lib/libwidget.a

OFILES=\
	base.$O		\
	textbox.$O	\
	button.$O	\
	box.$O		\
	grid.$O

HDR=widget.h

HCOMP=\
	base.h		\
	textbox.h	\
	box.h		\
	button.h	\
	grid.h

HFILES=\
	/sys/include/$HDR	\
	w-internal.h

MANPAGES=\
	/sys/man/2/widget

</sys/src/cmd/mksyslib

install:V: $MANPAGES

/sys/include/$HDR: $HCOMP
	cat $prereq >$target

# TODO generalize
/sys/man/2/widget: widget.2.man
	cp $prereq $target