ct_test.c doesn't need to include from source top, only testutil.c does
authorRichard Levitte <levitte@openssl.org>
Sat, 27 Feb 2016 19:34:47 +0000 (20:34 +0100)
committerRichard Levitte <levitte@openssl.org>
Sat, 27 Feb 2016 20:40:20 +0000 (21:40 +0100)
The INCLUDE statement can handle setting extra include directories for
individual object files, let's use it.

Reviewed-by: Andy Polyakov <appro@openssl.org>
test/build.info

index 3e21e838ac3d5e7f61a8d5cb218d821471c52749..c2ee234a4538139edd151159dae6ab66f92effda 100644 (file)
@@ -204,9 +204,11 @@ INCLUDE[dtlsv1listentest]={- rel2abs(catdir($builddir,"../include")) -} .. ../in
 DEPEND[dtlsv1listentest]=../libssl
 
 SOURCE[ct_test]=ct_test.c testutil.c
 DEPEND[dtlsv1listentest]=../libssl
 
 SOURCE[ct_test]=ct_test.c testutil.c
-INCLUDE[ct_test]={- rel2abs(catdir($builddir,"../include")) -} ../crypto/include ../include ..
+INCLUDE[ct_test]={- rel2abs(catdir($builddir,"../include")) -} ../crypto/include ../include
 DEPEND[ct_test]=../libcrypto
 
 SOURCE[threadstest]=threadstest.c
 INCLUDE[threadstest]={- rel2abs(catdir($builddir,"../include")) -} .. ../include
 DEPEND[threadstest]=../libcrypto
 DEPEND[ct_test]=../libcrypto
 
 SOURCE[threadstest]=threadstest.c
 INCLUDE[threadstest]={- rel2abs(catdir($builddir,"../include")) -} .. ../include
 DEPEND[threadstest]=../libcrypto
+
+INCLUDE[testutil.o]=..