XCOMM
XCOMM $Id: Imakefile,v 1.4 2002/03/10 22:45:42 amai Exp $
XCOMM

#include "../../Xbae.tmpl"

HEADERS = Matrix.h MatrixP.h Clip.h ClipP.h Caption.h \
                CaptionP.h Input.h InputP.h

XCOMM Rule to install the header files
#if INSTALL_HEADERS
InstallMultiple($(HEADERS),$(INCROOT)/Xbae-$(XBAEVERSION))
#endif

/* For the case one forgeting to "make World" or at least "make includes" */
all:: patchlevel.h

includes:: patchlevel.h

depend::

clean::
	$(RM) patchlevel.h

XCOMM Rule for translating configure's .h.in file to a real .h
patchlevel.h: patchlevel.h.in
	$(SED)	's/@XBAE_MAJOR@/$(XbaeVERSION)/; \			@@\
		 s/@XBAE_MINOR@/$(XbaeREVISION)/; \			@@\
		 s/@XBAE_PICO@/$(XbaeUPDATE)/' < $@.in > $@
