Use conditional compilation for device.c.
authorGuus Sliepen <guus@tinc-vpn.org>
Wed, 1 May 2013 10:20:06 +0000 (12:20 +0200)
committerGuus Sliepen <guus@tinc-vpn.org>
Wed, 1 May 2013 10:20:06 +0000 (12:20 +0200)
commite70b5b5bd77bb66e8dd324c17d86d9bff151aa82
tree2d419ac86ed4e508cf2a22546c87d6b8c189fcd4
parent9f8020a09ce08210a10a0c65cefd83d2646395ab
Use conditional compilation for device.c.

This requires the automake option "subdir-objects" to be enabled, and it
becomes more critical to specify the exact path to local header files.
12 files changed:
configure.ac
src/Makefile.am
src/bsd/device.c
src/cygwin/device.c
src/getopt.c
src/getopt1.c
src/graph.c
src/have.h [moved from have.h with 100% similarity]
src/linux/device.c
src/mingw/device.c
src/solaris/device.c
src/system.h [moved from system.h with 96% similarity]