LOCAL_LIBRARIES = $(XLIB)

SimpleProgramTarget(unclutter)

# The following additions have been made to support package building of
# unclutter for the blastwave.org site.  Adjust as required.

BINDIR  = $(INSTALL_ROOT)/opt/csw/bin
MANDIR  = $(INSTALL_ROOT)/opt/csw/man

install-csw: unclutter unclutter.man
	install -d -o root -g bin -m 755 $(BINDIR)
	install -d -o root -g bin -m 755 $(MANDIR)/man1
	install -s -o root -g bin -m 755 unclutter     $(BINDIR)
	install -c -o root -g bin -m 644 unclutter.man $(MANDIR)/man1/unclutter.1
