XmPrivate must be generated manually. For this you work, you must
have a freshly compiled openmotif tree, and MLIBSRC must be pointing
to it.
Otherwise, it's possible during the includes phase for an attempt to
be made to regenerate this file, which will fail on the vast majority
of systems out there.
So, to regenerate,
cd include/Xm
rm XmPrivate.h
make XmPrivate.h
BuildIncludes($(HEADERS),Xm,..)
-XCOMM We do not build with Motif sources on Linux, so this will never
-XCOMM do the right thing on that platform. Just leave XmPrivate.h as-is.
+XCOMM XmPrivate must be generated manually. For this you work, you must have
+XCOMM a freshly compiled openmotif tree, and MLIBSRC must be pointing to it.
-XmPrivate.h: extractprototype.awk
+XmPrivate.h:
awk -f extractprototype.awk $(MLIBSRC)/Xm/$(ALLHEADERS) > $@ || rm -f $@
depend::