aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorTimo Weingärtner <timo@tiwe.de>2021-04-16 19:33:21 +0200
committerTimo Weingärtner <timo@tiwe.de>2021-04-16 19:49:10 +0200
commitf46bd38f387f0a580e134388086321b03e6b17d3 (patch)
treecf8f36be26226fb0f039f9478ab851ec7c89458e /Makefile
parente29d26e77d8577ea272211c20240b3c39dff6bf0 (diff)
downloadlibpam-pwdfile-f46bd38f387f0a580e134388086321b03e6b17d3.tar.gz
do away with legacy crypt types
it is the responsibility of libcrypt to implement crypt types
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile11
1 files changed, 1 insertions, 10 deletions
diff --git a/Makefile b/Makefile
index c115296..ecc69e5 100644
--- a/Makefile
+++ b/Makefile
@@ -9,8 +9,7 @@ LDFLAGS += -Wl,-x -shared
TITLE = pam_pwdfile
LIBSHARED = $(TITLE).so
LDLIBS = -lcrypt -lpam
-LIBOBJ = $(TITLE).o md5_broken.o md5_crypt_broken.o bigcrypt.o
-CPPFLAGS_MD5_BROKEN = -DHIGHFIRST -D'MD5Name(x)=Broken\#\#x'
+LIBOBJ = $(TITLE).o
all: $(LIBSHARED)
@@ -18,14 +17,6 @@ all: $(LIBSHARED)
$(LIBSHARED): $(LIBOBJ)
$(CC) $(LDFLAGS) $(LIBOBJ) $(LDLIBS) -o $@
-
-md5_broken.o: md5.c
- $(CC) -c $(CPPFLAGS) $(CPPFLAGS_MD5_BROKEN) $(CFLAGS) $< -o $@
-
-md5_crypt_broken.o: md5_crypt.c
- $(CC) -c $(CPPFLAGS) $(CPPFLAGS_MD5_BROKEN) $(CFLAGS) $< -o $@
-
-
install: $(LIBSHARED)
$(INSTALL) -m 0755 -d $(DESTDIR)$(PAM_LIB_DIR)
$(INSTALL) -m 0755 $(LIBSHARED) $(DESTDIR)$(PAM_LIB_DIR)