aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/Imakefile
blob: 20374d6db708c85bf9bd969e6e0dfc3ce4a331cf (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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/Imakefile,v 3.29 2002/10/16 14:07:49 tsi Exp $

XCOMM Some compilers generate fatal errors if an -L directory does
XCOMM not exist.  Since BUILDLIBDIR may not exist yet suppress its use.
         LDPRELIB =
        LDPRELIBS =

#ifdef LocalConfigFiles
LOCALFILES = LocalConfigFiles
#endif

#ifndef InstallEmptyHostDef
HOSTDEFFILES = \
host.def
#endif

#if defined(XFree86Version) || defined(XorgVersion)
VERSIONDEFFILES = \
date.def \
version.def
#endif

DEFFILES = \
xf86site.def \
xorgsite.def \
$(VERSIONDEFFILES) \
$(HOSTDEFFILES) \
site.def \
xorgversion.def \
nxversion.def

RULEFILES = \
Imake.rules \
X11.rules \
lnxLib.rules \
noop.rules \
xf86.rules

TMPLFILES = \
Imake.tmpl \
Library.tmpl \
Server.tmpl \
ServerLib.tmpl \
Threads.tmpl \
X11.tmpl \
lnxLib.tmpl \
xf86.tmpl \
xorg.tmpl

CFFILES = \
Imake.cf \
linux.cf \
xfree86.cf \
xorg.cf

INSTFILES = $(RULEFILES) $(TMPLFILES) $(DEFFILES) $(CFFILES) $(LOCALFILES)

all::

#if BuildLibraries
InstallMultipleDestFlags(install,$(INSTFILES),$(CONFIGDIR),$(INSTDATFLAGS))
#endif

InstallDriverSDKMultipleDestFlags($(INSTFILES),$(DRIVERSDKDIR)/config/cf,$(INSTDATFLAGS))

#ifdef InstallEmptyHostDef
install::
	@(TMP=/tmp/tmp.$$$$; \
	RemoveFile($${TMP}); \
	echo "" > $${TMP}; \
	$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $${TMP} \
		$(DESTDIR)$(CONFIGDIR)/host.def; \
	RemoveFile($${TMP}))

#if defined(XFree86Version) || defined(XorgVersion)
install.sdk::
	@(TMP=/tmp/tmp.$$$$; \
	RemoveFile($${TMP}); \
	echo "" > $${TMP}; \
	$(INSTALL) $(INSTALLFLAGS) $(INSTDATFLAGS) $${TMP} \
		$(DESTDIR)$(DRIVERSDKDIR)/config/cf/host.def; \
	RemoveFile($${TMP}))
#endif
#endif