1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-03-09 15:50:02 +00:00

tt/tttk: play symlink games so tttk can build

With this, we can now build the tooltalk library successfully.
This commit is contained in:
Jon Trulson 2019-10-24 14:06:29 -06:00
parent ff2e991ce8
commit b4295847c6

View file

@ -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 <Tt/somefile.h> 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