put /local/rnd/mod {diag_rnd}
put /local/rnd/mod/OBJS [@
	$(LIBRND_PLUGDIR)/diag_rnd/diag_rnd.o
@]

switch /local/module/diag_rnd/controls
	case {buildin}   include /local/librnd/tmpasm/buildin; end;
	case {plugin}    include /local/librnd/tmpasm/plugin; end;
	case {disable}   include /local/librnd/tmpasm/disable; end;
end
