put /local/rnd/mod {lib_exp_text}
put /local/rnd/mod/OBJS [@
	$(LIBRND_PLUGDIR)/lib_exp_text/lib_exp_text.o
	$(LIBRND_PLUGDIR)/lib_exp_text/draw_ps.o
	$(LIBRND_PLUGDIR)/lib_exp_text/draw_eps.o
	$(LIBRND_PLUGDIR)/lib_exp_text/draw_svg.o
	$(LIBRND_PLUGDIR)/lib_exp_text/draw_hpgl.o
	$(LIBRND_PLUGDIR)/lib_exp_text/draw_web2.o
	$(LIBRND_PLUGDIR)/lib_exp_text/lpr_hid.o
	$(LIBRND_PLUGDIR)/lib_exp_text/media.o
	$(LIBRND_PLUGDIR)/lib_exp_text/lht_template.o
@]

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


# always generate the template lht rule so make dep can be run
append /local/rnd/CLEANFILES { $(PLUGDIR)/lib_exp_text/web2_templ_lht.c }
append /local/rnd/DEPDEPS { $(PLUGDIR)/lib_exp_text/web2_templ_lht.c }
append /local/rnd/RULES [@
### lib_exp_text: web2 template embed
$(PLUGDIR)/lib_exp_text/web2_templ_lht.c: $(PLUGDIR)/lib_exp_text/web2_templ.lht $(CQUOTE)
	$(CQUOTE) -n web2_templ_default <$(PLUGDIR)/lib_exp_text/web2_templ.lht >$(PLUGDIR)/lib_exp_text/web2_templ_lht.c
@]
