diff options
author | Timo Weingärtner <timo@tiwe.de> | 2013-04-25 14:22:49 +0200 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2013-04-25 19:51:37 +0200 |
commit | 0148de59cdcea4013d694fc04db3174ce06c60b1 (patch) | |
tree | 3932e77768472250b3626ce3252e12fb998aa57e /contrib/Makefile.standalone-0.95 | |
parent | 5dbeed06ae0b0f168158920c59dcfb0cc822dee6 (diff) | |
download | libpam-pwdfile-0148de59cdcea4013d694fc04db3174ce06c60b1.tar.gz |
rework Makefile for standalone building
if this is ever integrated into pam it will be autotools anyways
use ?= and += to better work with distribution's build systems
Diffstat (limited to 'contrib/Makefile.standalone-0.95')
-rw-r--r-- | contrib/Makefile.standalone-0.95 | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/contrib/Makefile.standalone-0.95 b/contrib/Makefile.standalone-0.95 deleted file mode 100644 index 136f04a..0000000 --- a/contrib/Makefile.standalone-0.95 +++ /dev/null @@ -1,26 +0,0 @@ -PAM_LIB_DIR = /lib/security -CC = gcc -LD = ld -INSTALL = /usr/bin/install -CFLAGS = -fPIC -O2 -c -g -Wall -Wformat-security -LDFLAGS = -x --shared -PAMLIB = -lpam -CRYPTLIB = -lcrypt - -all: pam_pwdfile.so - -pam_pwdfile.so: pam_pwdfile.o - $(LD) $(LDFLAGS) -o pam_pwdfile.so pam_pwdfile.o $(PAMLIB) $(CRYPTLIB) - -pam_pwdfile.o: pam_pwdfile.c - $(CC) $(CFLAGS) pam_pwdfile.c - -install: pam_pwdfile.so - $(INSTALL) -m 0755 -d $(PAM_LIB_DIR) - $(INSTALL) -m 0755 pam_pwdfile.so $(PAM_LIB_DIR) - -clean: - rm -f pam_pwdfile.o pam_pwdfile.so - -spotless: - rm -f pam_pwdfile.so pam_pwdfile.o *~ core |