From b4295847c665d20018dd081e05c662e5a5010bca Mon Sep 17 00:00:00 2001 From: Jon Trulson Date: Thu, 24 Oct 2019 14:06:29 -0600 Subject: [PATCH] tt/tttk: play symlink games so tttk can build With this, we can now build the tooltalk library successfully. --- cde/lib/tt/lib/tttk/Makefile.am | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/cde/lib/tt/lib/tttk/Makefile.am b/cde/lib/tt/lib/tttk/Makefile.am index bbcce695..15085884 100644 --- a/cde/lib/tt/lib/tttk/Makefile.am +++ b/cde/lib/tt/lib/tttk/Makefile.am @@ -8,6 +8,20 @@ header_HEADERS = tttk.h noinst_LTLIBRARIES = libtttk.la +# We need to build a symlink to ../api/c/ so that contructs like +# include can work, since we no longer have a global +# 'includes' phase during the build that installes include files +# similiar to what you would expect if they were installed on the +# system. + +BUILT_SOURCES = Tt +CLEANFILES = Tt +Tt: Makefile + $(RM) Tt + $(LN_S) ../api/c Tt + +libtttk_la_CXXFLAGS = $(TIRPCINC) $(TT_VERSION_DEFINE) -I../ -I../../lib + libtttk_la_SOURCES = ttdesktop.C ttdtfile.C ttdtprocid.C \ ttmedia.C tttk.C tttk2free.C \ tttkmessage.C tttkpattern.C tttkutils.C -- 2.25.1