Blob Blame History Raw
XCOMM $XConsortium: Imakefile /main/38 1996/11/07 14:43:46 kaleb $
XCOMM $XFree86: xc/config/cf/Imakefile,v 3.13.2.5 1999/07/29 09:22:24 hohndel 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 \
$(HOSTDEFFILES) \
site.def

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

TMPLFILES = \
Imake.tmpl \
Library.tmpl \
Motif.tmpl \
Server.tmpl \
ServerLib.tmpl \
Threads.tmpl \
WinLib.tmpl \
X11.tmpl \
bsdLib.tmpl \
cde.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 \
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 \
QNX.cf \
xfree86.cf

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

all::

InstallMultipleDestFlags(install,$(INSTFILES),$(CONFIGDIR),$(INSTDATFLAGS))
InstallLinkKitMultipleDestFlags($(INSTFILES),$(LINKKITDIR)/config/cf,$(INSTDATFLAGS))

InstallNamedNonExec(Motif.rules,Motif.rules.openmotif,$(CONFIGDIR))
InstallNamedNonExec(Motif.tmpl,Motif.tmpl.openmotif,$(CONFIGDIR))

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

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