aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/Imakefile
blob: 5c95a5d8018ca3745327b55969e4bb7a3dded2b9 (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
33
34
35
36
37
38
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)"

NULL =

BOOTSTRAPSUBDIRS = \
	imake \
	makedepend \
	$(NULL)

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))