put /local/pcb/mod {hid_lesstif}
put /local/pcb/mod/OBJS [@
	$(LIBRND_PLUGDIR)/hid_lesstif/dialogs.o
	$(LIBRND_PLUGDIR)/hid_lesstif/dlg_fileselect.o
	$(LIBRND_PLUGDIR)/hid_lesstif/main.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/pcb/hid_lesstif/controls
	case {disable} end;
	default
		put /local/pcb/mod/CFLAGS [@
			@?/target/libs/gui/lesstif2/cflags@
			@?/target/libs/gui/xinerama/cflags@
			@?/target/libs/gui/xrender/cflags@
		@]

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

switch /local/pcb/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
