Introduce <Xm/XmPrivate.h>
We need ANSI C prototypes of certain Motif functions that are not published in the official header files. <Xm/XmPrivate.h> header file contains the prototypes extracted from the Motif source. To re-create <Xm/XmPrivate.h>: 1) Make sure you have sources of libXm (lib/Xm directory of the Motif distribution) accessible via imports/motif/lib/Xm 2) rm include/Xm/XmPrivate.h 3) make includes
This commit is contained in:
committed by
Jon Trulson
parent
237fa4a599
commit
8a57173ec2
23
cde/include/Xm/Imakefile
Normal file
23
cde/include/Xm/Imakefile
Normal file
@@ -0,0 +1,23 @@
|
||||
XCOMM
|
||||
XCOMM Generate XmPrivate.h containing ANSI C
|
||||
XCOMM function prototypes extracted from the private
|
||||
XCOMM include headers files
|
||||
XCOMM
|
||||
XCOMM libXm source from Motif (lib/Xm subdirectory)
|
||||
XCOMM needs to be available in ../../imports/motif/lib/Xm
|
||||
XCOMM
|
||||
|
||||
HEADERS = XmPrivate.h
|
||||
ALLHEADERS = *.h
|
||||
|
||||
includes:: $(HEADERS)
|
||||
|
||||
BuildIncludes($(HEADERS),Xm,..)
|
||||
|
||||
XmPrivate.h: extractprototype.awk
|
||||
awk -f extractprototype.awk $(MLIBSRC)/Xm/$(ALLHEADERS) > $@
|
||||
|
||||
depend::
|
||||
|
||||
clean::
|
||||
|
||||
Reference in New Issue
Block a user