put /local/rnd/mod {io_altium}
put /local/rnd/mod/SPHASH       {$(PLUGDIR)/io_altium/altium_kw.sphash}
put /local/rnd/mod/SPHASH_ARGS  {--prefix altium_kw --multi -i}


put /local/rnd/mod/OBJS [@
	$(PLUGDIR)/io_altium/io_altium.o
	$(PLUGDIR)/io_altium/pcbdoc.o
	$(PLUGDIR)/io_altium/pcbdoc_ascii.o
	$(PLUGDIR)/io_altium/pcbdoc_bin.o
	$(PLUGDIR)/io_altium/altium_kw_sphash.o
	$(PLUGDIR)/io_altium/htic.o
	../src_3rd/libucdf/ucdf.o
@]

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