File: Makefile

package info (click to toggle)
libapache-mod-auth-pam 1.1.1-8
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 120 kB
  • ctags: 28
  • sloc: ansic: 278; sh: 18; makefile: 12
file content (16 lines) | stat: -rw-r--r-- 414 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
LIBS=-lpam -ldl
APXS=apxs
# try this, if you're not root and apxs is in the standard place
#APXS=/usr/sbin/apxs

all: mod_auth_pam.so

mod_auth_pam.so: mod_auth_pam.c
	$(APXS) -c mod_auth_pam.c $(LIBS)

install: mod_auth_pam.so
	$(APXS) -i -a mod_auth_pam.so
	[ -d /etc/pam.d/ -a ! -f /etc/pam.d/httpd ] && install -m 644 -o root -g root samples/httpd /etc/pam.d/

clean:
	-rm -f mod_auth_pam.o mod_auth_pam.so *~