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

@@ -4,12 +4,6 @@ include ../tooltalk.inc
noinst_LIBRARIES = libstt.a
BUILT_SOURCES = Tt
CLEANFILES = Tt
Tt: Makefile
$(RM) Tt
$(LN_S) ../lib/api/c Tt
libstt_a_CXXFLAGS = $(TIRPCINC) $(TIRPC_DEFINES) -I../lib
libstt_a_SOURCES = mp_ce_attrs.C mp_observer.C mp_observer_utils.C \

View File

@@ -37,7 +37,7 @@
#ifndef MP_S_XDR_FUNCTIONS_H
#define MP_S_XDR_FUNCTIONS_H
#include <rpc/rpc.h>
#include "api/c/tt_c.h"
#include "Tt/tt_c.h"
#include "mp_s_message_utils.h"
#include "mp_s_pattern_utils.h"
#include "mp_s_procid_utils.h"

View File

@@ -52,7 +52,7 @@
#include "mp_ptype.h"
#include "mp_typedb.h"
#include "api/c/api_api.h"
#include "tttk/tttk.h"
#include "Tt/tttk.h"
#include <sys/stat.h>
#include <errno.h>
#include <sys/wait.h>