top_builddir = ..
top_srcdir = @top_srcdir@
prefix = @prefix@
datadir = @datadir@

DATADIR = $(DESTDIR)$(datadir)/mlterm/scrollbars/sample3

FILES = bg_body.png bg_bottom.png bg_top.png button_down.png button_down_pressed.png button_up.png button_up_pressed.png rc slider_body.png slider_bottom.png slider_knob.png slider_top.png

INSTALL=@INSTALL@

all .DEFAULT:
	@echo "no such a target"

$(DATADIR):
	mkdir -p $(DATADIR)

install: $(DATADIR)
	for file in $(FILES) ; do $(INSTALL) -m 644 $(top_srcdir)/contrib/scrollbar/pixmap_engine/sample3/$${file} $(DATADIR)/$${file} ; done

uninstall:
	rm -rf $(DATADIR)

distclean:
	rm -f Makefile
