XCOMM $XConsortium: Imakefile,v 1.3 94/09/08 13:43:16 dpw Exp $





XCOMM $XFree86: test/xsuite/Imakefile,v 1.2 1997/01/16 10:54:40 dawes Exp $

#define Prefix TET_ROOT=`pwd` PATH=`pwd`/xtest/bin:$$PATH export TET_ROOT PATH;

#ifndef BuildXSuiteSpaceSaving
#define BuildXSuiteSpaceSaving YES
#endif

#if BuildXSuiteSpaceSaving
#define BuildCmd tcc -b -s link_scen xtest linkbuild
#define CleanCmd tcc -c -s link_scen xtest linkbuild
#else
#define BuildCmd tcc -b xtest all
#define CleanCmd tcc -c xtest all
#endif

all:: install

install::
	(Prefix cd tet/src/posix_c/tools; pmake install)
	(Prefix cd tet/src/posix_c/api; pmake install)
	(Prefix cd xtest/src/lib; pmake install)
	(Prefix cd xtest/src/libproto; pmake install)
	(Prefix cd xtest/src/xim; pmake install)
	(Prefix cd xtest/fonts; pmake install)
	(Prefix cd xtest/src/bin/mc; pmake install)
	(Prefix cd xtest/src/bin/mc/tmpl; pmake install)
	(Prefix cd xtest/src/pixval/blowup; pmake install)
	(Prefix cd xtest; $(CCENVSETUP) BuildCmd)

clean::
	(Prefix cd tet/src/posix_c/tools; pclean)
	(Prefix cd tet/src/posix_c/api; pclean)
	(Prefix cd xtest/src/lib; pclean)
	(Prefix cd xtest/src/libproto; pclean)
	(Prefix cd xtest/src/xim; pmake pclean)
	(Prefix cd xtest/fonts; pclean)
	(Prefix cd xtest/src/bin/mc; pclean)
	(Prefix cd xtest/src/pixval/blowup; pclean)
	(Prefix cd xtest; CleanCmd)
