Imakefile   [plain text]


XCOMM $Xorg: Imakefile,v 1.3 2000/08/17 19:41:46 cpqbld Exp $
XCOMM $XFree86: xc/config/cf/Imakefile,v 3.30 2003/02/26 09:21:32 dawes 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

DEFFILES = \
xf86site.def \
date.def \
version.def \
$(HOSTDEFFILES) \
site.def

RULEFILES = \
Imake.rules \
Motif.rules \
Win32.rules \
X11.rules \
bsdLib.rules \
cde.rules \
cygwin.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 \
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

CFFILES = \
Imake.cf \
Amoeba.cf \
DGUX.cf \
FreeBSD.cf \
Mips.cf \
NetBSD.cf \
OpenBSD.cf \
Oki.cf \
cygwin.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

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

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