put /local/rnd/mod {io_altium}
put /local/rnd/mod/OBJS [@
	$(PLUGDIR)/io_altium/io_altium.o
	$(PLUGDIR)/io_altium/read.o
	$(PLUGDIR)/io_altium/pcbdoc_ascii.o
	$(PLUGDIR)/io_altium/altium_kw_sphash.o
@]

put /local/rnd/mod/CONFFILE {io_altium.conf}
put /local/rnd/mod/CONF {$(PLUGDIR)/io_altium/io_altium_conf.h}
put /local/rnd/mod/CONFVAR {io_altium_conf_internal}

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

switch /local/module/io_altium/controls
	case {buildin}   include /local/csch/tmpasm/buildin; end;
	case {plugin}    include /local/csch/tmpasm/plugin; end;
	case {disable}   include /local/csch/tmpasm/disable; end;
end
