put /local/pcb/mod {hid_gtk2_gdk}
put /local/pcb/mod/OBJS_C99 [@
	$(LIBRND_PLUGDIR)/hid_gtk2_gdk/gtkhid-main.o
	$(LIBRND_PLUGDIR)/hid_gtk2_gdk/gtkhid-gdk.o
@]

switch /local/pcb/hid_gtk2_gdk/controls
	case {disable} end;
	default
		put /local/pcb/mod/CFLAGS   /target/libs/gui/gtk2/cflags
		put /local/pcb/mod/LDFLAGS  /target/libs/gui/gtk2/ldflags
	end
end

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