Fix out of source build issues

The source or target patch for several targets doesn't work when running
an out-of-source build.

Signed-off-by: Justin Lecher <jlec@gentoo.org>
Merge pull request #87 from jlec/master

Fix out of source build issues
Default to build with hardening and optimizations

Remove the ENABLE_HARDENING option. If ENABLE_DEVELOPMENT=OFF (which
is default), a release build with optimizations and hardening is
performed. Hardening requries -O2 or higher, which can screw with the
-g flag, which we want when ENABLE_DEVELOPMENT=ON. Therefore, hardening
and development are now mutally exclusive, and hardening comes with
release optimizations.
Fixes #92

Merge branch 'optimization-flag-fix'
Only print header in CSV if > 1 fields

Fixes #90
adding bsd support
adding include pcap in get_gateway such that get_gateway compiles on linux.
updated INSTALL
Fix CMakeLists bugs introduced by merge
Make get_iface_hw_addr work on Linux and BSD

Having #define __FLAVOR_BSD seems to break some of the libdnet
stuff on Linux, so just fallback to the old way of getting the
hardware address by making a socket and sending an ifreq.
Merge branch 'master' of github.com:zmap/zmap
Remove debug print statement
Add scan-by-hostname

Hijack DNS resolution into the case where an IP address passed to
init_by_string fails to be an IP. Ugly, but it works and is probably the
cleanest solution short of doing a major refactoring.
fixing pbm
cannot fit 13 bits in a uint8_t
using uint8_t** as pbm now
don't cast at all, even. bugfix
Fix off-by-one bug in pbm
fixing pbm
cannot fit 13 bits in a uint8_t