tt: Fixup tt build for new includes locations

Some files were trying to access the global includes directy in the
build area with things like #include <api/c/tt_c.h>, which is now
wrong.  Se we fix all of those up.  tt_c.h and tttk.h are now global,
so we no longer need to root around various build dirs to find them.

TT builds again.
This commit is contained in:
Jon Trulson
2019-10-25 17:37:58 -06:00
parent 369308b737
commit 31fec7edb5
67 changed files with 72 additions and 94 deletions

View File

@@ -41,7 +41,7 @@
#include <sys/wait.h>
#include <sys/param.h>
#include <errno.h>
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "util/tt_path.h"
#include "util/tt_gettext.h"
#include "util/copyright.h"

View File

@@ -35,7 +35,7 @@
#ifndef _COPIER_H
#define _COPIER_H
#include <api/c/tt_c.h>
#include <Tt/tt_c.h>
#include <util/tt_string.h>
class copier : public _Tt_object {

View File

@@ -46,7 +46,7 @@
#include <errno.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "util/tt_gettext.h"
#include "util/copyright.h"
#include "mover.h"

View File

@@ -35,7 +35,7 @@
#ifndef _MOVER_H
#define _MOVER_H
#include <api/c/tt_c.h>
#include <Tt/tt_c.h>
#include <util/tt_string.h>
class mover : public _Tt_object {

View File

@@ -38,7 +38,7 @@
#if defined(OPT_BUG_SUNOS_4)
# include <stdlib.h>
#endif
#include <api/c/tt_c.h>
#include <Tt/tt_c.h>
#include <util/tt_path.h>
#include <util/tt_enumname.h>
#include <util/copyright.h>

View File

@@ -35,7 +35,7 @@
#ifndef _RCOPIER_H
#define _RCOPIER_H
#include <api/c/tt_c.h>
#include <Tt/tt_c.h>
#include <util/tt_string.h>
class rpath : public _Tt_object {

View File

@@ -46,7 +46,7 @@
#include <errno.h>
#include <sys/stat.h>
#include <sys/wait.h>
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "util/tt_path.h"
#include "util/tt_gettext.h"
#include "util/copyright.h"

View File

@@ -35,7 +35,7 @@
#ifndef _REMOVER_H
#define _REMOVER_H
#include <api/c/tt_c.h>
#include <Tt/tt_c.h>
#include <util/tt_string.h>
class remover : public _Tt_object {

View File

@@ -61,7 +61,7 @@ extern int errno;
#endif
#include "ttauth.h"
#include "api/c/api_auth.h"
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include <signal.h>

View File

@@ -50,7 +50,7 @@ in this Software without prior written authorization from The Open Group.
*/
#include "ttauth.h"
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
/*

View File

@@ -45,7 +45,7 @@
#include <unistd.h>
#include <nl_types.h>
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "util/tt_file_system.h"
#include "util/tt_file_system_entry.h"
#include "util/tt_path.h"

View File

@@ -42,7 +42,7 @@
#include <string.h>
#include <unistd.h>
#include <errno.h>
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "util/copyright.h"
#include "util/tt_gettext.h"
#include "tttar_utils.h"

View File

@@ -35,7 +35,7 @@
#ifndef _ARCHIVER_H
#define _ARCHIVER_H
#include <api/c/tt_c.h>
#include <Tt/tt_c.h>
#include <util/tt_string.h>
#include "tttar_string_map.h"

View File

@@ -40,7 +40,7 @@
#endif
#include <sys/param.h>
#include "api/c/api_api.h"
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "util/tt_path.h"
#include "util/tt_gettext.h"
#include "tttar_utils.h"

View File

@@ -37,7 +37,7 @@
#else
#include <osfcn.h>
#endif
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "util/tt_iostream.h"
#include "tttar_utils.h"
#include "tttar_spec.h"

View File

@@ -34,7 +34,7 @@
#include <stdio.h>
#include <string.h>
#include <ctype.h>
#include <api/c/tt_c.h>
#include <Tt/tt_c.h>
#include <util/tt_enumname.h>
#include "tttar_utils.h"

View File

@@ -34,7 +34,7 @@
#ifndef _LSTAR_UTILS_H
#define _LSTAR_UTILS_H
#include <api/c/tt_c.h>
#include <Tt/tt_c.h>
#include <util/tt_string.h>

View File

@@ -46,7 +46,7 @@
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h>
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "util/tt_string.h"
#include "util/tt_port.h"
#include "util/tt_gettext.h"