XCOMM Imakefile,v 1.2 1994/05/26 21:01:56 me Exp
XCOMM
XCOMM Use this Imakefile to install the default emu resources.

#include "../Imake.conf"

#ifdef USE_MOTIF
MOTIF_DEFINE = -DMOTIF
#endif

EMU_SRC = ..
INCLUDES = -I$(EMU_SRC)/tdesc -I$(EMU_SRC)/include

# You should have this installed and in your path anyway..
XRDB=	xrdb

#ifdef SUN
TIC=/usr/5bin/tic
#else
TIC=tic
#endif

FILES = vt220-auxTr vt220-fluts vt220-ops vt220-rops vt220.tdesc \
	xterm-auxTr xterm-fluts xterm-ops xterm-rops xterm.tdesc \
	gxterm-auxTr gxterm-fluts gxterm.tdesc \
	emu-auxTr emu-fluts emu-ops emu-rops emu.tdesc \
	hemu.tdesc global.tdesc


# Make sure install rule will work.
SHELL = /bin/sh

AllTarget(Emu.ad)
Emu.ad: $(FILES) Xdefaults.emu
	$(XRDB) -n $(INCLUDES) $(MOTIF_DEFINE) Xdefaults.emu > Emu.ad

InstallAppDefaults(Emu)
DependTarget()

install::
	@if [ -d /usr/lib/terminfo ];	\
	then				\
	  echo "tic emu-vt220.ti"; \
	  $(TIC) emu-vt220.ti;	\
	  echo "\n\tIf your tic reports warnings about the capabilities"; \
	  echo "\t'setaf' and 'setab', don't worry. They are for"; \
	  echo "\tsetting colors - it just doesn't support them\n"; \
	  echo "tic emu.ti"; \
	  $(TIC) emu.ti;		\
	fi

clean::
	$(RM) Emu.ad
