summaryrefslogtreecommitdiff
path: root/contrib/Makefile.standalone
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2013-05-28 19:16:37 +0200
committerTimo Weingärtner <timo@tiwe.de>2013-05-28 19:16:37 +0200
commitc7344fa5ca42b3203ce7fc2ff8cb93b42bf78123 (patch)
treec4790500e80a2d34c4040ba21aae878a21223ee8 /contrib/Makefile.standalone
parent9316590e28c0087f65b220c492188871637aa424 (diff)
parent201e799f7a2fcba3af2c9214f25545460ef9b08a (diff)
downloadlibpam-pwdfile-c7344fa5ca42b3203ce7fc2ff8cb93b42bf78123.tar.gz
Merge tag 'v0.100' into debian
release 0.100 Conflicts: contrib/README.txt
Diffstat (limited to 'contrib/Makefile.standalone')
-rw-r--r--contrib/Makefile.standalone47
1 files changed, 0 insertions, 47 deletions
diff --git a/contrib/Makefile.standalone b/contrib/Makefile.standalone
deleted file mode 100644
index 857eaff..0000000
--- a/contrib/Makefile.standalone
+++ /dev/null
@@ -1,47 +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
-CPPFLAGS =
-
-all: pam_pwdfile.so
-
-pam_pwdfile.so: pam_pwdfile.o bigcrypt.o md5_good.o md5_crypt_good.o md5_broken.o md5_crypt_broken.o
- $(LD) $(LDFLAGS) -o pam_pwdfile.so pam_pwdfile.o md5_good.o md5_crypt_good.o md5_broken.o md5_crypt_broken.o bigcrypt.o $(PAMLIB) $(CRYPTLIB)
-
-pam_pwdfile.o: pam_pwdfile.c
- $(CC) $(CFLAGS) pam_pwdfile.c
-
-bigcrypt.o: bigcrypt.c
- $(CC) $(CFLAGS) bigcrypt.c
-
-
-md5_good.o: md5.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -DHIGHFIRST -D'MD5Name(x)=Good##x' -c $< -o $@
-
-md5_broken.o: md5.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -D'MD5Name(x)=Broken##x' \
- -c $< -o $@
-
-md5_crypt_good.o: md5_crypt.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -D'MD5Name(x)=Good##x' \
- -c $< -o $@
-
-md5_crypt_broken.o: md5_crypt.c
- $(CC) $(CFLAGS) $(CPPFLAGS) -D'MD5Name(x)=Broken##x' \
- -c $< -o $@
-
-
-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