put /local/rnd/mod {dialogs}
put /local/rnd/mod/OBJS [@
 $(PLUGDIR)/dialogs/dialogs.o
 $(PLUGDIR)/dialogs/dlg_about.o
 $(PLUGDIR)/dialogs/dlg_flag_edit.o
 $(PLUGDIR)/dialogs/dlg_fontsel.o
 $(PLUGDIR)/dialogs/dlg_layer_binding.o
 $(PLUGDIR)/dialogs/dlg_layer_flags.o
 $(PLUGDIR)/dialogs/dlg_infobar.o
 $(PLUGDIR)/dialogs/dlg_lib_pstk.o
 $(PLUGDIR)/dialogs/dlg_library.o
 $(PLUGDIR)/dialogs/dlg_loadsave.o
 $(PLUGDIR)/dialogs/dlg_padstack.o
 $(PLUGDIR)/dialogs/dlg_pref_apptab.o
 $(PLUGDIR)/dialogs/dlg_view.o
 $(PLUGDIR)/dialogs/pcb_export.o
@]

put /local/rnd/mod/CONFFILE {adialogs.conf}
put /local/rnd/mod/CONF {$(PLUGDIR)/dialogs/adialogs_conf.h}
put /local/rnd/mod/CONFVAR {adialogs_conf_internal}

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