tf_fuzz: refactor includes to only include what is needed

* Refactor Makefile to automatically gather prerequisites.

* Change the includes (using include-what-you-need) so that files only
  include the specific headers they need. Many includes are also now
  inside the .hpp files instead of the .cpp files.

  This improves editor support: previously, external symbols in .hpp
  files would not be resolved by clangd due to .hpp files not having any
  imports.

Change-Id: Iece03f81c35aa43ac026aaeb49b87d2c4acf07cd
Signed-off-by: Nik Dewally <Nik.Dewally@arm.com>
diff --git a/tf_fuzz/tfz-cpp/template/secure_template_line.cpp b/tf_fuzz/tfz-cpp/template/secure_template_line.cpp
index 73fbde3..e8a255e 100644
--- a/tf_fuzz/tfz-cpp/template/secure_template_line.cpp
+++ b/tf_fuzz/tfz-cpp/template/secure_template_line.cpp
@@ -1,28 +1,18 @@
 /*
- * Copyright (c) 2019-2020, Arm Limited. All rights reserved.
+ * Copyright (c) 2019-2024, Arm Limited. All rights reserved.
  *
  * SPDX-License-Identifier: BSD-3-Clause
  *
  */
 
-#include "class_forwards.hpp"
+#include <string>
+#include <vector>
 
-#include "boilerplate.hpp"
-#include "gibberish.hpp"
-#include "compute.hpp"
 #include "data_blocks.hpp"
-#include "psa_asset.hpp"
 #include "find_or_create_asset.hpp"
 #include "template_line.hpp"
-#include "tf_fuzz.hpp"
-#include "crypto_asset.hpp"
 #include "psa_call.hpp"
-#include "security_call.hpp"
 #include "secure_template_line.hpp"
-#include "sst_call.hpp"
-#include "sst_template_line.hpp"
-#include "sst_asset.hpp"
-#include "crypto_asset.hpp"
 
 
 
@@ -70,4 +60,3 @@
 /**********************************************************************************
    End of methods of class security_hash_template_line.
 **********************************************************************************/
-