]> git.proxmox.com Git - mirror_iproute2.git/commit - Makefile
turn Makefile more distribution friendly
authorPavel Šimerda <psimerda@redhat.com>
Mon, 13 Apr 2015 14:00:56 +0000 (16:00 +0200)
committerStephen Hemminger <shemming@brocade.com>
Mon, 20 Apr 2015 16:53:24 +0000 (09:53 -0700)
commit06ec9039c3aa07924f9c23b0daa8885204704a62
treeac962014f8a36ae06df1456921148a917360a8ec
parentb8d5c9a71bfba87405e6d169760dd8db41a4bbdf
turn Makefile more distribution friendly

Changes:

 * Accept directory settings from environment.
 * Remove redundant ROOTDIR variable.
 * Set KERNEL_INCLUDE default to '/usr/include'.
 * Use CFLAGS from environemnt.

Note: In the long term it might be better to improve the configure
script to generate those parts of the Makefile in a manner similar
to autoconf. It might be even practical to autotoolize the package.

Signed-off-by: Pavel Šimerda <psimerda@redhat.com>
Makefile