Otherwise it gets built as root during make install and is thus owned
by root. This may cause problems, for example if the source resides
on an NFS mounted directory where root is not allowed to write.
# soname without any version number.
linkername := lib$(libname).so
-all: $(realname) $(executables) $(man_pages)
+all: $(realname) $(executables) $(man_pages) $(headers)
shared: $(realname)
ifeq ($(findstring clean, $(MAKECMDGOALS)),)