1 ## ##################################################
3 ## ##################################################
5 .PHONY: default init configure reconf
7 # Try to detect if this is a lib or lib64 system
8 LIB = $(shell gcc -v 2>&1 \
9 | awk ' BEGIN{ lib="lib" } \
10 match( $$0, "--libdir=/usr/([^ ]*)" ) { \
11 lib=substr($$0,RSTART,RLENGTH); \
12 sub("--libdir=/usr/","",lib) \
21 ./configure --prefix=$(PREFIX) --libdir=$(PREFIX)/$(LIB) \
27 autoreconf --force --install --symlink --verbose
30 ./config.status --recheck