aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/Imakefile
blob: 40fa2a02f4d90d6080c449c59f8087d419f6d46c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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)"

BOOTSTRAPSUBDIRS = imake makedepend
SUBDIRS = cf $(BOOTSTRAPSUBDIRS)

#if (defined(XFree86VersionString) || defined(XorgVersionString)) \
	&& defined(ProjectRoot) && \
	defined(BuildBindist)
all:: version

version: cf/version.def
	RemoveFile(version)
#if defined (XFree86VersionString)
	echo XFree86VersionString > version
#elif defined (XorgVersionString)
	echo XorgVersionString > version
#endif

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

clean::
	RemoveFile(version)
#endif

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