#
#	(C)1993 Institute for New Generation Computer Technology
#		Read COPYRIGHT for detailed information.
#
#	Imakefile for DCP-System
#


#	PSRC and POBJ specify program-parsing part.
#
PSRC =	binding.c clause.c expression.c feature.c formula.c link.c \
	print.c grammar.y
POBJ =	binding.o clause.o expression.o feature.o formula.o link.o \
	print.o y.tab.o

#	SSRC and SOBJ specify subsumption, spreading-activation and
#	backpropagating part.
#
SSRC =	delete.c pressure.c probe.c literallist.c subsume.c absorb.c \
	copy.c control.c allocate.c spread.c command.c debug.c \
	info.c backp.c main.c speech.c special.c loop.c
SOBJ =	delete.o pressure.o probe.o literallist.o subsume.o absorb.o \
	copy.o control.o allocate.o spread.o command.o debug.o \
	info.o backp.o main.o speech.o special.o loop.o

#####	for `imake'	#####
#

#	YACC specifies compiler-compiler.
#	(Either `bison -y' or `yacc' will do.)
#
YACC =	bison -y

#	CC specifies c-compiler, used as a linker.
#	(Either `gcc' or `cc' will do.)
#
CC =	gcc

#	CDEBUGFLAGS specifies options for debugging.
#
CDEBUGFLAGS =	-g

#	DEFINES specifies definition options.
#
DEFINES =	-DUNIX

SRCS =	${PSRC} ${SSRC}

#---	dependency-rules	---
#
all :: ${POBJ} ${SOBJ}

y.tab.c : grammar.y
	${YACC} grammar.y

y.tab.o : y.tab.c

clean ::
	rm -f y.tab.c

DependTarget()
