The doubling is coming from the fact that you're using both

    --libdir=$(ROOTLIB)

at configure time and

    DESTDIR=$(ROOT)

at install time.  You want to drop the former use of $(ROOT) and simply do

    --libdir=/usr/lib

The LDFLAGS=-L$(ROOTLIB) and CPPFLAGS=-I$(ROOTINCLUDE) should be enough to
get the compilation and linking steps to use the files in your proto area.

Danek

Reply via email to