put /local/rnd/mod {sim}
put /local/rnd/mod/OBJS [@
	$(PLUGDIR)/sim/sim.o
	$(PLUGDIR)/sim/sim_conf.o
	$(PLUGDIR)/sim/mods.o
	$(PLUGDIR)/sim/util.o
	$(PLUGDIR)/sim/actions.o
@]

put /local/rnd/mod/CONFFILE {sim.conf}
put /local/rnd/mod/CONF {$(PLUGDIR)/sim/sim_conf.h}
put /local/rnd/mod/CONFVAR {sim_conf_internal}

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