put /local/rnd/mod {io_kicad}
put /local/rnd/mod/OBJS [@
 $(PLUGDIR)/io_kicad/io_kicad.o
 $(PLUGDIR)/io_kicad/layertab.o
 $(PLUGDIR)/io_kicad/write.o
 $(PLUGDIR)/io_kicad/read.o
 $(PLUGDIR)/io_kicad/read_net.o
 $(PLUGDIR)/io_kicad/uniq_name.o
@]
#put /local/rnd/mod/YACC {$(PLUGDIR)/io_kicad/parse_y}
#put /local/rnd/mod/LEX  {$(PLUGDIR)/io_kicad/parse_l}
put /local/rnd/mod/MENUFILE {kicad-menu.lht}
put /local/rnd/mod/MENUVAR {kicad_menu}

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