include Makefile.defs
TCLKIT = tclkit
TCLCONFIGPATH = $(DESTDIR)/$(prefix)/lib $(DESTDIR)/$(prefix)/lib64 $(DESTDIR)/usr/lib $(DESTDIR)/usr/lib64 $(DESTDIR)/usr/local/lib $(DESTDIR)/usr/local/lib64
TEAPOTCLIENTVERS = 0.1
TCLDIR = 
PREFIX = /usr/local
prefix = $(PREFIX)

all:
	make -C client all

client/teapot-client.kit:
	make -C client teapot-client.kit TCLKIT="$(TCLKIT)" TCLCONFIGPATH="$(TCLCONFIGPATH)" TEAPOTCLIENTVERS="$(TEAPOTCLIENTVERS)" TCLDIR="$(TCLDIR)" PREFIX="$(PREFIX)" prefix="$(prefix)"

install:
	make -C client install TCLKIT="$(TCLKIT)" TCLCONFIGPATH="$(TCLCONFIGPATH)" TEAPOTCLIENTVERS="$(TEAPOTCLIENTVERS)" TCLDIR="$(TCLDIR)" PREFIX="$(PREFIX)" prefix="$(prefix)"

clean:
	make -C client clean

distclean:
	make -C client distclean

.PHONY: all install clean distclean
