diff options
author | Andrew Morgan <morgan@kernel.org> | 2007-08-13 23:16:50 -0700 |
---|---|---|
committer | Andrew Morgan <morgan@kernel.org> | 2007-08-13 23:34:41 -0700 |
commit | cd45c57c35df7d2ff352ce74a27329e7fec39ae3 (patch) | |
tree | 193caa01752ff4c2e186ad32ebce9172b021fe34 /Make.Rules | |
parent | fa0a8b847d6038b538762b8420cabe4569ecaada (diff) | |
download | libcap-cd45c57c35df7d2ff352ce74a27329e7fec39ae3.tar.gz |
Build with a pam_cap module.
Note, I've been confused about the capset/capget system calls.
It would seem that the current way(TM) is to get the raw API
from libc.
Diffstat (limited to 'Make.Rules')
-rw-r--r-- | Make.Rules | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -49,16 +49,16 @@ MINOR=99 CC=gcc COPTFLAGS=-O2 DEBUG=-O2 -g #-DDEBUG -WARNINGS=-fPIC -D_POSIX_SOURCE -Wall -Wwrite-strings \ +WARNINGS=-fPIC -Wall -Wwrite-strings \ -Wpointer-arith -Wcast-qual -Wcast-align \ -Wstrict-prototypes -Wmissing-prototypes \ -Wnested-externs -Winline -Wshadow -LD=ld -LDFLAGS=-s #-g +LD=$(CC) -Wl,-x -shared +LDFLAGS=#-g KERNEL_HEADERS = /usr/include SYSTEM_HEADERS = /usr/include -IPATH += -I$(topdir)/libcap/include +IPATH += -I$(topdir)/libcap/include -I$(KERNEL_HEADERS) INCS=$(topdir)/libcap/include/sys/capability.h LIBS=-L$(topdir)/libcap -lcap CFLAGS=-Dlinux $(WARNINGS) $(DEBUG) $(COPTFLAG) $(IPATH) |