Imakefile 783 Bytes
Newer Older
1 2 3 4 5 6 7 8
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:45 cpqbld Exp $
XCOMM $XFree86: xc/config/Imakefile,v 1.3 2001/01/17 16:22:29 dawes Exp $
#define IHaveSubdirs
#define PassCDebugFlags CDEBUGFLAGS="$(CDEBUGFLAGS)"

#undef BootstrapCleanSubdirs
#define BootstrapCleanSubdirs BOOTSTRAPSUBDIRS="$(BOOTSTRAPSUBDIRS)"

9 10 11 12 13 14 15
NULL =

BOOTSTRAPSUBDIRS = \
	imake \
	makedepend \
	$(NULL)

16
SUBDIRS = cf $(BOOTSTRAPSUBDIRS)
17

18
#if defined(XorgVersionString) \
19 20 21 22 23 24
	&& defined(ProjectRoot) && \
	defined(BuildBindist)
all:: version

version: cf/version.def
	RemoveFile(version)
25
#if defined (XorgVersionString)
26 27 28 29 30 31 32 33 34 35 36
	echo XorgVersionString > version
#endif

InstallNamedNonExec(version,.$(VENDORNAMESHORT)_Version,ProjectRoot)

clean::
	RemoveFile(version)
#endif

MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))