diff options
author | Maciej Wereski <m.wereski@partner.samsung.com> | 2014-01-15 16:15:00 +0100 |
---|---|---|
committer | Maciej Wereski <m.wereski@partner.samsung.com> | 2014-01-15 16:15:00 +0100 |
commit | bcca19a055cbdb0d67985ac08fef491f6d4bb42b (patch) | |
tree | 1d49ec65d242cf1dec494570622b3737aef06a03 /Make.Rules | |
parent | b138da4a4b9d57b850ca4d0061969f5e3299861d (diff) | |
download | libcap-bcca19a055cbdb0d67985ac08fef491f6d4bb42b.tar.gz libcap-bcca19a055cbdb0d67985ac08fef491f6d4bb42b.tar.bz2 libcap-bcca19a055cbdb0d67985ac08fef491f6d4bb42b.zip |
Imported Upstream version 2.24upstream/2.24
Diffstat (limited to 'Make.Rules')
-rw-r--r-- | Make.Rules | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -7,13 +7,13 @@ FAKEROOT=$(DESTDIR) # Autoconf-style prefixes are activated when $(prefix) is defined. -# Otherwise binaries and libraraies are installed in /{lib,sbin}/, +# Otherwise binaries and libraries are installed in /{lib,sbin}/, # header files in /usr/include/ and documentation in /usr/man/man?/. # These choices are motivated by the fact that getcap and setcap are # administrative operations that could be needed to recover a system. ifndef lib -lib=$(shell ldd /usr/bin/ld|fgrep ld-linux|cut -d/ -f2) +lib=$(shell ldd /usr/bin/ld|egrep "ld-linux|ld.so"|cut -d/ -f2) endif ifdef prefix @@ -35,17 +35,18 @@ MANDIR=$(FAKEROOT)$(man_prefix)/man SBINDIR=$(FAKEROOT)$(exec_prefix)/sbin INCDIR=$(FAKEROOT)$(inc_prefix)/include LIBDIR=$(FAKEROOT)$(lib_prefix)/$(lib) +PKGCONFIGDIR=$(FAKEROOT)$(prefix)/$(lib)/pkgconfig # common defines for libcap LIBTITLE=libcap VERSION=2 -MINOR=22 +MINOR=24 # # Compilation specifics -KERNEL_HEADERS := $(topdir)/libcap/include -IPATH += -fPIC -I$(topdir)/libcap/include -I$(KERNEL_HEADERS) +KERNEL_HEADERS := $(topdir)/libcap/include/uapi +IPATH += -fPIC -I$(KERNEL_HEADERS) -I$(topdir)/libcap/include CC := gcc CFLAGS := -O2 -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 |