File: Makefile

package info (click to toggle)
libpam-chroot 0.9-5.4
  • links: PTS
  • area: main
  • in suites: forky, sid, trixie
  • size: 208 kB
  • sloc: ansic: 1,478; sh: 104; makefile: 68
file content (24 lines) | stat: -rw-r--r-- 419 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# $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=-shared
DESTDIR=/
LIBDIR=$(DESTDIR)/lib/security
INSTALL?=install

OUT=pam_chroot.so
CONF=chroot.conf

all:	$(OUT)

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

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

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