File: Makefile

package info (click to toggle)
libpam-chroot 0.9-3
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 132 kB
  • ctags: 52
  • sloc: ansic: 740; sh: 104; makefile: 50
file content (22 lines) | stat: -rw-r--r-- 383 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# $Id: Makefile,v 1.1.1.1 2004/05/05 00:07:47 schmolli Exp $

CC=gcc
CFLAGS=-fPIC -O2 -Wall -Werror -pedantic
CPPFLAGS=-I.
LDFLAGS=-x --shared -lpam
DESTDIR=/

OUT=pam_chroot.so
CONF=chroot.conf

all:	$(OUT)

%.so: %.o
	ld $(LDFLAGS) -o $@ $<

clean:
	rm -f *.o $(OUT)

install:
	install -s -o0 -g0 -m755 $(OUT) $(DESTDIR)/lib/security
	install -m640 $(CONF) $(DESTDIR)/etc/security