put /local/pcb/mod {diag}
put /local/pcb/mod/OBJS [@
 $(PLUGDIR)/diag/diag.o
 $(PLUGDIR)/diag/diag_conf.o
 $(PLUGDIR)/diag/integrity.o
@]
put /local/pcb/mod/CONF {$(PLUGDIR)/diag/diag_conf.h}


switch /local/pcb/diag/controls
	case {buildin}   include /local/pcb/tmpasm/buildin; end;
	case {plugin}    include /local/pcb/tmpasm/plugin; end;
	case {disable}   include /local/pcb/tmpasm/disable; end;
end
