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
24 lines
476 B
Plaintext
24 lines
476 B
Plaintext
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::
|
|
|