######################################################################
#
#	Connection Services Process Makefile
#
#	Makefile for CSP Interface Modules
#
#	File:		makefile
#	Created:	12/01/89
#
#	SID:		1.3
#	Last Modified:	1/29/91
#	
#	Copyright 1990,1991 XLNT Designs Inc.
#
#	Modification History:
#
#	*** Updated to SMT 6.2 ***
#
######################################################################
#
#	This makefile assumes that there exists a parent directory with the
#	following subdirectory structure:
#
#			PARENT
#			 |
#		 +-------+-------+----------+----------+
#		 |	 |	 |	    |          |
#		csp	fbm	mib	INTERFACE    headers
#				 	    |
#				+-------+-------+------+
#				|       |       |      |
#			       csp     fbm     mib   headers
#
#
#	Fill in the following macro definitions or pass them
#	in through the command line:
#
#	PARENT directory:
PARENT=../..

#	CSP interface file directory:
INTERFACE=dp83200if

#	Run-time file name (only if used):
CSPIFOUT=ifcsp

#	Local SMT header files directory:
LCLDIR=

#	Make file variables:
CSPDIR=$(PARENT)/csp
HDRDIR=$(PARENT)/headers
CSPIFDIR=$(PARENT)/$(INTERFACE)/csp
HDRIFDIR=$(PARENT)/$(INTERFACE)/headers
IDIR3=$(HDRDIR)
IDIR4=$(HDRIFDIR)
#
#	Compiler selection and command line flags:
#
CC=
CCFLAGS=-c -I$(HDRDIR) -I$(HDRIFDIR) $(LCLDIR)

#
#	Loader selection and command line flags:
#	(Needed only if creating an executable)
#
LD=
LDFLAGS=
LDLIBS=smtcspif.o

#
#	Source files:
#
CSPIFSRCS=	cspintif.c csplocal.c cspmsgif.c cspsysif.c 

#
#	Object files:
#
CSPIFOBJS=	$(CSPIFSRCS:.c=.o)

#
#	Dependencies:
#
all:	Makedepend $(CSPIFOBJS) $(LDLIBS)

#
#	Define dependency rules:

$(CSPIFOUT):	FRC

clean:
			rm -f $(CSPIFOBJS)

print:		
			ptr -c -x4 $(CSPIFSRCS)


CSOURCES = $(CSPIFSRCS)
.include vcs.cfg
.include $(ROOT)/fddicon/fddi.mak

