Makefile: Compile Linux-specific files based on __linux__ macro.
authorBen Pfaff <blp@nicira.com>
Thu, 23 Jan 2014 23:35:22 +0000 (15:35 -0800)
committerBen Pfaff <blp@nicira.com>
Wed, 5 Mar 2014 15:51:56 +0000 (07:51 -0800)
commit5020f5f099526ec224ba0b1703806b42ebdaee5a
tree74a54d881dc5758111e0ee94696940d0190094bd
parent2f51a7ebdaeb1067e3eef873c62f6c22989c9aad
Makefile: Compile Linux-specific files based on __linux__ macro.

We want to conditionally compile several files based on whether we're
building for a Linux host, so we need some Automake conditional for that.
Previously this was based on whether Netlink is available and we're not
on ESX (since ESX has Netlink but isn't Linux), but it's more
straightforward to just test for Linux directly.

CC: Luigi Rizzo <rizzo@iet.unipi.it>
Signed-off-by: Ben Pfaff <blp@nicira.com>
acinclude.m4
configure.ac
lib/automake.mk
utilities/automake.mk