Add scrypt library and scrypt support to auth
[blerg.git] / builddeps / scrypt-1.1.6 / lib / crypto / Makefile
diff --git a/builddeps/scrypt-1.1.6/lib/crypto/Makefile b/builddeps/scrypt-1.1.6/lib/crypto/Makefile
new file mode 100644 (file)
index 0000000..3b3d080
--- /dev/null
@@ -0,0 +1,12 @@
+INCLUDES = -I../.. -I../util -DHAVE_CONFIG_H 
+
+all: scrypt.a
+
+clean:
+       rm *.o *.a
+
+scrypt.a: crypto_aesctr.o crypto_scrypt-nosse.o sha256.o
+       ar cru $@ $^
+
+%.o: %.c
+       gcc $(INCLUDES) -c $< -o $@