put /local/rnd/mod {lib_hid_common}
put /local/rnd/mod/OBJS [@
  $(LIBRND_PLUGDIR)/lib_hid_common/lib_hid_common.o
  $(LIBRND_PLUGDIR)/lib_hid_common/lead_user.o
  $(LIBRND_PLUGDIR)/lib_hid_common/grid_menu.o
  $(LIBRND_PLUGDIR)/lib_hid_common/cli_history.o
  $(LIBRND_PLUGDIR)/lib_hid_common/place.o
  $(LIBRND_PLUGDIR)/lib_hid_common/menu_helper.o
  $(LIBRND_PLUGDIR)/lib_hid_common/act_dad.o
  $(LIBRND_PLUGDIR)/lib_hid_common/dlg_comm_m.o
  $(LIBRND_PLUGDIR)/lib_hid_common/dlg_export.o
  $(LIBRND_PLUGDIR)/lib_hid_common/dlg_log.o
  $(LIBRND_PLUGDIR)/lib_hid_common/dlg_plugins.o
  $(LIBRND_PLUGDIR)/lib_hid_common/dlg_fileselect.o
  $(LIBRND_PLUGDIR)/lib_hid_common/dlg_pref.o
  $(LIBRND_PLUGDIR)/lib_hid_common/toolbar.o
  $(LIBRND_PLUGDIR)/lib_hid_common/xpm.o
  $(LIBRND_PLUGDIR)/lib_hid_common/zoompan.o
  $(LIBRND_PLUGDIR)/lib_hid_common/gui_act.o
@]

# dialog config is here because of hidlib: each hidlib user shall have its
# own dialogs plugin
put /local/rnd/mod/CONFFILE {dialogs.conf}
put /local/rnd/mod/CONF {$(LIBRND_PLUGDIR)/lib_hid_common/dialogs_conf.h}
put /local/rnd/mod/CONFVAR {dialogs_conf_internal}

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