put /local/rnd/mod {hid_lesstif}
put /local/rnd/mod/OBJS [@
	$(LIBRND_PLUGDIR)/hid_lesstif/dialogs.o
	$(LIBRND_PLUGDIR)/hid_lesstif/main.o
	$(LIBRND_PLUGDIR)/hid_lesstif/render.o
	$(LIBRND_PLUGDIR)/hid_lesstif/menu.o
	$(LIBRND_PLUGDIR)/hid_lesstif/ltf_stdarg.o
	$(LIBRND_PLUGDIR)/hid_lesstif/wt_colorbtn.o
	$(LIBRND_PLUGDIR)/hid_lesstif/wt_xpm.o
	$(LIBRND_PLUGDIR)/hid_lesstif/xm_tree_table_pixmaps.o
	$(LIBRND_PLUGDIR)/hid_lesstif/xm_tree_table_priv.o
	$(LIBRND_PLUGDIR)/hid_lesstif/xm_tree_table_widget.o
	$(LIBRND_PLUGDIR)/hid_lesstif/FillBox.o
	$(LIBRND_PLUGDIR)/hid_lesstif/Pages.o
@]

switch /local/module/hid_lesstif/controls
	case {disable} end;
	default
		put /local/rnd/mod/CFLAGS [@
			@?/target/libs/gui/lesstif2/cflags@
			@?/target/libs/gui/xinerama/cflags@
			@?/target/libs/gui/xrender/cflags@
		@]

		put /local/rnd/mod/LDFLAGS [@
			@?/target/libs/gui/lesstif2/ldflags@
			@?/target/libs/gui/xinerama/ldflags@
			@?/target/libs/gui/xrender/ldflags@
		@]
		end
end

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