summaryrefslogtreecommitdiff
path: root/source4/lib
diff options
context:
space:
mode:
Diffstat (limited to 'source4/lib')
-rw-r--r--source4/lib/basic.mk25
-rw-r--r--source4/lib/crypto/config.mk26
2 files changed, 27 insertions, 24 deletions
diff --git a/source4/lib/basic.mk b/source4/lib/basic.mk
index aa1a5df19c..d1ed7ede0d 100644
--- a/source4/lib/basic.mk
+++ b/source4/lib/basic.mk
@@ -16,30 +16,7 @@ include stream/config.mk
include util/config.mk
include tdr/config.mk
include dbwrap/config.mk
-
-##############################
-# Start SUBSYSTEM LIBCRYPTO
-[SUBSYSTEM::LIBCRYPTO]
-OBJ_FILES = \
- crypto/crc32.o \
- crypto/md5.o \
- crypto/hmacmd5.o \
- crypto/md4.o \
- crypto/arcfour.o \
- crypto/sha1.o \
- crypto/hmacsha1.o
-# End SUBSYSTEM LIBCRYPTO
-##############################
-
-[MODULE::TORTURE_LIBCRYPTO]
-OBJ_FILES = \
- crypto/md4test.o \
- crypto/md5test.o \
- crypto/hmacmd5test.o \
- crypto/sha1test.o \
- crypto/hmacsha1test.o
-SUBSYSTEM = torture
-PRIVATE_DEPENDENCIES = LIBCRYPTO
+include crypto/config.mk
################################################
# Start SUBSYSTEM LIBCOMPRESSION
diff --git a/source4/lib/crypto/config.mk b/source4/lib/crypto/config.mk
new file mode 100644
index 0000000000..f7a8d20604
--- /dev/null
+++ b/source4/lib/crypto/config.mk
@@ -0,0 +1,26 @@
+##############################
+# Start SUBSYSTEM LIBCRYPTO
+[SUBSYSTEM::LIBCRYPTO]
+OBJ_FILES = \
+ crc32.o \
+ md5.o \
+ hmacmd5.o \
+ md4.o \
+ arcfour.o \
+ sha1.o \
+ hmacsha1.o
+# End SUBSYSTEM LIBCRYPTO
+##############################
+
+[MODULE::TORTURE_LIBCRYPTO]
+OBJ_FILES = \
+ md4test.o \
+ md5test.o \
+ hmacmd5test.o \
+ sha1test.o \
+ hmacsha1test.o
+SUBSYSTEM = torture
+PRIVATE_DEPENDENCIES = LIBCRYPTO
+PRIVATE_PROTO_HEADER = test_proto.h
+
+