Makefile problems with Darwin Install

I`ve been trying to compile OpenMotif for Darwin (MacOS-X BSD-like unix) but I haven`t got very far. When I `make World`, make has trouble in the `includes` section. Does anybody know how I can modify config/cf/Imake.rules to get around the problem??

----- the error during `make World` -----
...
make -f xmakefile VerifyOS
xmakefile606 *** missing separator. Stop.
make *** [World] Error 2

----- line 606 in the xmakefile -----

VerifyOS
@echo ""
@echo Building on Unknown Operating System.
@echo ""

includes
@if [ -d $(BUILDINCDIR) ]; then set +x;
else (set -x; $(MKDIRHIER) $(BUILDINCDIR)/); fi
#606--> @if [ -d $(BUILDLIBDIR) ]; then set +x;
else (set -x; $(MKDIRHIER) $(BUILDLIBDIR)/); fi
@if [ -d $(BUILDDOCDIR) ]; then set +x;
else (set -x; $(MKDIRHIER) $(BUILDDOCDIR)/); fi
@if [ -d $(BUILDLOCDIR) ]; then set +x;
else (set -x; $(MKDIRHIER) $(BUILDLOCDIR)/); fi

----- impt lines in config/cf/Imake.rules -----

#ifndef MakeDir
#define MakeDir(dir) DirFailPrefix@if [ -d dir ]; then set +x; @@
else (set -x; $(MKDIRHIER) dir/); fi
#endif /* MakeDir */


Anonymous

Anonymous's picture

Makefile problems with Darwin Install

When I do a make World there are two include files that it
can`t find ../X11/extensions/Print.h and Xos_r.h
Trying to do build on Solaris 7 machine.


Mark

Mark's picture

Makefile problems with Darwin Install

Naughty, naughty. Not suppose to compile and run Open Motif on a proprietary system...

Mark


Anonymous

Anonymous's picture

Makefile problems with Darwin Install

Darwin is not the same as MacOSX/Aqua. Darwin is open-source, unlike OSX/AQUA.