#
# Makefile for tlsgui -- generates Tcl stubs
#
# Written by Thomas Girard <thomas.g.girard@free.fr>
#
IDL_FILES := $(notdir $(wildcard idl/*.idl))
TCL_FILES := $(addprefix DsLogAdminStubs/,$(IDL_FILES:.idl=.tcl))

all: $(TCL_FILES)

clean:
	$(RM) *~ DsLogAdminStubs/*~

realclean: clean
	$(RM) $(TCL_FILES)

.PHONY: all clean realclean

DsLogAdminStubs/%.tcl: idl/%.idl
	(cd $(<D) && idl2tcl -I . --name ../$(@:.tcl=) $(<F))
