Enable building against an arbitrary Motif installation

* Give MotifProjectRoot priority over system libs
* Switch to UseInstalledMotif (but retain necessary imports)
This commit is contained in:
Matthew R. Trower
2018-06-11 19:59:44 -05:00
committed by Jon Trulson
parent aaa9305653
commit a166c36592
4 changed files with 8 additions and 6 deletions

View File

@@ -653,7 +653,7 @@ clean:: @@\
/* Search the Motif ProjectRoot too if it is different. */
#ifdef MotifProjectRoot
# define MUsrLibDirPath Concat(XUsrLibDirPath,:$(MPROJECTROOT)/lib)
# define MUsrLibDirPath Concat($(MPROJECTROOT)/lib,:XUsrLibDirPath)
#else
# define MUsrLibDirPath XUsrLibDirPath
#endif