put /local/pcb/mod {foobar}
put /local/pcb/mod/OBJS [@
	$(PLUGDIR)/foobar/foobar.o
@]

switch /local/pcb/foobar/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
