put /local/rnd/mod {lib_mbtk_common}
put /local/rnd/mod/OBJS [@
  $(LIBRND_PLUGDIR)/lib_mbtk_common/glue_hid.o
  $(LIBRND_PLUGDIR)/lib_mbtk_common/attr_dlg.o
  $(LIBRND_PLUGDIR)/lib_mbtk_common/lib_mbtk_common.o
@]

put /local/rnd/mod/CONF {$(LIBRND_PLUGDIR)/lib_mbtk_common/lib_mbtk_conf.h}
put /local/rnd/mod/CONFFILE {hid_mbtk.conf}
put /local/rnd/mod/CONFVAR {mbtk_conf_internal}


###TODO### remove this
put /target/libs/gui/mbtk/cflags {}
put /target/libs/gui/mbtk/ldflags {-lmbtk}

switch /local/module/lib_mbtk_common/controls
	case {disable} end;
	default
		put /local/rnd/mod/CFLAGS   /target/libs/gui/mbtk/cflags
		put /local/rnd/mod/LDFLAGS  /target/libs/gui/mbtk/ldflags
	end
end

switch /local/module/lib_mbtk_common/controls
	case {buildin}   include /local/librnd/tmpasm/buildin; end;
	case {plugin}    include /local/librnd/tmpasm/plugin; end;
	case {disable}   include /local/librnd/tmpasm/disable; end;
end
