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

XmPrivate.h: never try to build this automatically.

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
This commit is contained in:
Jon Trulson 2012-09-29 20:46:27 -06:00
parent 27bc7d6bec
commit f40368caa2

View file

@ -12,10 +12,10 @@ ALLHEADERS = *.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::