X-Git-Url: https://pd.if.org/git/?a=blobdiff_plain;f=Makefile;h=f4143d5d949205e1e356ff689356e8a105a9f461;hb=4b448fbc77510c589cc7f367c05bef63acc07858;hp=5b677ca0356baa9eb73860836f9a30ccc6f70867;hpb=66bc25938679f1d6a1d1200f329093d82a5e99b4;p=zpackage diff --git a/Makefile b/Makefile index 5b677ca..f4143d5 100644 --- a/Makefile +++ b/Makefile @@ -769,6 +769,24 @@ testddg: zpm-fetchurl testgra: zpm-fetchurl ./zpm-fetchurl granicus.if.org 443 / +SIGNSRC= \ +crypto/libeddsa/lib/burn.c \ +crypto/libeddsa/lib/burnstack.c \ +crypto/libeddsa/lib/ed.c \ +crypto/libeddsa/lib/ed25519-sha512.c \ +crypto/libeddsa/lib/fld.c \ +crypto/libeddsa/lib/sc.c \ +crypto/libeddsa/lib/sha512.c \ +crypto/libeddsa/lib/x25519.c \ +crypto/libeddsa/sign.c + +SIGNOBJ=$(SIGNSRC:.c=.o) + +$(SIGNOBJ): CFLAGS+=-Icrypto/libeddsa/lib + +zpm-sign: $(SIGNOBJ) + $(CC) $(CFLAGS) -o $@ $+ + clean: rm -f *.o sqlite/*.o lib/*.o $(LZMAOBJ) liblzma.a \ libelf.a libzpm.a zpm-addfile soname \