######################################################################### 
#									# 
#   File: scorpion/src/xref/xref/Makefile 
#				 					# 
#   Copyright (C) 1991 Dean Throop
#									# 
#   The Scorpion System is free software in the public domain; you can  # 
#   redistribute it and/or modify it as you wish. We ask that you 	# 
#   retain credits referencing the University of Arizona and that you	# 
#   identify any changes you make.					# 
#									# 
#   Report problems to scorpion-project@cs.arizona.edu			# 
#   Direct all inquiries to:	The Scorpion Project			# 
#				Department of Computer Science		# 
#				Gould-Simpson Building			# 
#				University of Arizona			# 
#				Tucson, AZ 85721			# 
#				U.S.A.					# 
#									# 
#   Revision Log:							# 
#	$Log:$ 
#									# 
#   Edit Log:								# 
#									# 
######################################################################### 

# IMPORTED VARIABLES
INCDIR=/usr/local/scorpion/include
LIBDIR=/usr/local/scorpion/lib
SPECSDIR=/usr/local/scorpion/src/specs
CC=cc
IDLC=$(BINDIR)/idlc
PC=pc
CFLAGS=-I$(INCDIR)/C
IDLCFLAGS=
PFLAGS=
CP=cp
MV=mv
RM=rm -f
LEX=lex
MAKE=make
YACC=yacc
UTILITYVARS='CC=$(CC)' 'IDLC=$(IDLC)' 'PC=$(PC)' 'CFLAGS=$(CFLAGS)' \
	      'IDLCFLAGS=$(IDLCFLAGS)' 'PFLAGS=$(PFLAGS)' 'CP=$(CP)' \
	      'MV=$(MV)' 'RM=$(RM)' 'LEX=$(LEX)' 'MAKE=$(MAKE)' \
	      'YACC=$(YACC)'
CI=ci
CO=co -l
PROTMASK=755
OWNER=bin
GROUP=idl
INSTALL=install -c -m $(PROTMASK) -o $(OWNER) -g $(GROUP) -s

########################################################################

xref.xc: xref.xref
	$(BINDIR)/xref -c xref.xc xref.xref

Install: $(LIBDEST)/xref.xc

$(LIBDEST)/xref.xc: 
	$(RM) $(LIBDEST)/xref.xc
	$(CP) xref.xc $(LIBDEST)/xref.xc

Clean:
	$(RM) xref.xc *.list core

DelSrc:
	@echo Nothing to delete
