#
#########################################################################
#									#
#  Makefile for portable Ytoolkit					#
#									#
#		status:							#
#				yap:		yes			#
#				sicstus:	yes			#
#				quintus:	yes			#
#									#
#########################################################################

PL_SOURCES= \
button.pl        key.pl           scrollwindow.pl	\
dialog_box.pl    label.pl         popup.pl         select.pl		\
field.pl         list.pl          scrollback.pl    select_menu.pl	\
help.pl          message.pl       scrollbar_x.pl   showtext.pl		\
item.pl          scrollbar_y.pl

QL_OBJECTS=${PL_SOURCES:.pl=${COMP}}
MODULE		= ytoolkit

.SUFFIXES: .pl ${COMP}

.pl.qof:
	qpc -c -N -i init_file.pl $< 

.pl.ql:
	echo  "fcompile(${MODULE}:'$<') ." | ${PROLOG} 

all: ${QL_OBJECTS}
	echo done

clean:
	rm -f *.ql *.qof

# dependencies

item.qof: label.qof
list.qof: scrollwindow.qof
message.qof: dialog_box.qof
select.qof: scrollwindow.qof
showtext.qof: scrollwindow.qof




#EOF