.if ${ARCH} == "amd64" || ${ARCH} == "ia64"
CFLAGS+= -fPIC
CXXFLAGS+= -fPIC
.else
CFLAGS+= -fpic
CXXFLAGS+= -fpic
.endif
.if ${ARCH} == "sparc64"