diff options
author | Timo Weingärtner <timo@tiwe.de> | 2024-06-17 12:25:16 +0200 |
---|---|---|
committer | Timo Weingärtner <timo@tiwe.de> | 2024-06-17 12:25:16 +0200 |
commit | 55ddea494b0c7c316461ac9b7b4139af4b175b21 (patch) | |
tree | 3f53d534716a1285b0374eef6adf35b886f64c6d /Makefile | |
parent | 20920cef5ace15e398fdb2d51a8448bee3c096d3 (diff) | |
parent | 2347ef0edd7054d3df9838612aa78ac6bd077dfd (diff) | |
download | libpam-pwdfile-55ddea494b0c7c316461ac9b7b4139af4b175b21.tar.gz |
Merge tag 'v2.0' into debian
release 2.0
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -2,15 +2,14 @@ PAM_LIB_DIR ?= /lib/security INSTALL ?= install CFLAGS ?= -O2 -g -Wall -Wformat-security -CPPFLAGS += -DUSE_CRYPT_R +CPPFLAGS += -DUSE_CRYPT_R -D_FILE_OFFSET_BITS=64 CFLAGS += -fPIC -fvisibility=hidden 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) |