Add OpenSSH-RSA1-2048-*-LE blacklists
[dowkd.git] / gen / Makefile
blob02a83abc179d1bbcf074681737078ff200fbb944
1 arch := $(shell dpkg-architecture -qDEB_HOST_ARCH)
2 dso := setpid-$(arch).so
4 .PHONY: all clean clean-all check-setpid
6 all: $(dso)
8 clean:
9 -rm -f $(dso)
11 clean-all:
12 -rm -f *.so
14 $(dso) : setpid.c
15 $(CC) $(CFLAGS) -fPIC -shared -o $@ $^
17 check-setpid : $(dso)
18 test 555 = `SETPID=555 LD_PRELOAD=./$(dso) /bin/sh -c 'echo $$$$'`
19 test 555 = `SETPID=555 LD_PRELOAD=./$(dso) /bin/sh -c 'echo $$$$'`
20 test 555 = `SETPID=555 LD_PRELOAD=./$(dso) /bin/sh -c 'echo $$$$'`