Imakefile 2.73 KB
Newer Older
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 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173
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  

RULEFILES = \
Imake.rules \
Motif.rules \
Win32.rules \
X11.rules \
bsdLib.rules \
cde.rules \
cygwin.rules \
mingw.rules \
darwinLib.rules \
gnuLib.rules \
hpLib.rules \
ibmLib.rules \
lnxLib.rules \
lnxdoc.rules \
necLib.rules \
noop.rules \
nto.rules \
oldlib.rules \
os2.rules \
os2Lib.rules \
os2Lib.rules \
osfLib.rules \
scoLib.rules \
sgiLib.rules \
sunLib.rules \
sv3Lib.rules \
sv4Lib.rules \
QNX4.rules \
xf86.rules

TMPLFILES = \
Imake.tmpl \
Library.tmpl \
Motif.tmpl \
Server.tmpl \
ServerLib.tmpl \
Threads.tmpl \
WinLib.tmpl \
X11.tmpl \
bsdLib.tmpl \
cde.tmpl \
cygwin.tmpl \
mingw.tmpl \
darwinLib.tmpl \
hpLib.tmpl \
gnuLib.tmpl \
ibmLib.tmpl \
lnxLib.tmpl \
lnxdoc.tmpl \
necLib.tmpl \
os2Lib.tmpl \
osfLib.tmpl \
sgiLib.tmpl \
sunLib.tmpl \
sv3Lib.tmpl \
sv4Lib.tmpl \
xf86.tmpl \
xorg.tmpl

CFFILES = \
Imake.cf \
Amoeba.cf \
DGUX.cf \
DragonFly.cf \
FreeBSD.cf \
Mips.cf \
NetBSD.cf \
OpenBSD.cf \
Oki.cf \
cygwin.cf \
mingw.cf \
Win32.cf \
apollo.cf \
bsd.cf \
bsdi.cf \
convex.cf \
cray.cf \
fujitsu.cf \
generic.cf \
gnu.cf \
hp.cf \
ibm.cf \
isc.cf \
linux.cf \
luna.cf \
macII.cf \
mach.cf \
minix.cf \
moto.cf \
ncr.cf \
nec.cf \
nto.cf \
os2.cf \
osf1.cf \
pegasus.cf \
sco.cf \
sco5.cf \
sequent.cf \
sgi.cf \
sony.cf \
sun.cf \
svr3.cf \
svr4.cf \
ultrix.cf \
usl.cf \
lynx.cf \
x386.cf \
QNX4.cf \
darwin.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