######################################################################
# @(#) fbm_makefile V6.2.3:cs.622.make:1:1 Mon Nov 11 16:39:36 1991 Make file for FSP
######################################################################
#
#	Frame Services Process Makefile
#
#	Makefile for FSP Interface Modules
#
#	File:		fbm_makefile
#	Created:	12/01/89
#
#	Version:	V6.2.3	Mon Nov 11 16:39:36 1991
#	Last Modified:	cs.622.make	08/06/91
#	
#	Make file for FSP
#
#	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= ..

#	FSP interface file directory:
INTERFACE=dp83200if

#	Run-time file name (only if used):
FSPIFOUT=corefbm

#	Local SMT header files directory:
LCLDIR=

#	Make file variables:
FSPDIR=$(PARENT)/fbm
HDRDIR=$(PARENT)/headers
FSPIFDIR=$(PARENT)/$(INTERFACE)/fbm
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=smtfbm.o

#
#	Source files:
#
FBMSRCS= fbm.c fbmesf.c fbmframe.c fbmglbl.c fbminit.c fbmmsg.c fbmnn.c\
		fbmpmf.c fbmpmfp.c fbmparam.c fbmproc.c fbmq.c\
		fbmrcv.c fbmsrp.c fbmsup.c fbmtimer.c 

#
#	Object files:
#
FBMOBJS=$(FBMSRCS:.c=.o)

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


#
#	Define dependency rules:
.c.o:	 
		$(CC) $(CCFLAGS) -c -o $@ $<


$(FBMOUT):	$(FBMOBJS)

clean:
			rm -f $(FBMOBJS)

print:
			ptr -x4 -c $(FBMSRCS)

#depend:	FRC
#		$(CC) -M $(CCFLAGS) $(FBMSRCS) $(FBMSRCS.s) > Makedepend

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

FRC:
