put /local/rnd/mod {io_kicad_legacy}
put /local/rnd/mod/OBJS [@
 $(PLUGDIR)/io_kicad_legacy/io_kicad_legacy.o
 $(PLUGDIR)/io_kicad_legacy/write.o
@]

switch /local/module/io_kicad_legacy/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
