..and, if you're planning to submit the extension, you might want to do something like this: # default paths
LIBDIR:=/usr/local/lib
MANDIR:=/usr/local/man
BINDIR:=/usr/local/sbin
ETCDIR:=/usr/local/etc
INITDIR:=/usr/local/etc/rc.d/init.d
SYSCONFIGDIR:=/usr/local/etc/sysconfig
DESTDIR:=/tmp/pkg
CFLAGS:=-Wall -Wunused -march=i486 -mtune=i686 -Os -pipe
CFLAGS_SH_LIB:=-fPIC -Os
CC:=gcc