idlebox / 2006 / SDIOS06 / sdios06 / Mk / sdi.idl.mk.html (Download File)

# This is used to create interface stubs from the specified IDL files
# Files are specified through IDLS and SRCS. Both ignoring anything else than .idl files!

include $(top_srcdir)/Mk/l4.build.mk

#Portable way of converting SRCS/IDLS to IDLS

IDLINTERF=      ${filter %.idl, ${SRCS}}
IDLINTERF+=     ${filter %.idl, ${IDLS}}

IDLSTUBS = $(subst .idl,.h,$(IDLINTERF))

do-all:         $(IDLSTUBS)

$(IDLSTUBS): $(IDLINTERF)
        @$(ECHO_MSG) client-stub : `echo $@ | sed s,^$(top_srcdir)/,,`
        $(IDL) $(IDLFLAGS) -c -h $@ $(srcdir)/$(subst .h,.idl,$@)

do-clean:       idl-clean

idl-clean:
        rm -f *~ \#* $(IDLSTUBS)

do-install:


RSS 2.0 Weblog Feed Atom 1.0 Weblog Feed Valid XHTML 1.1 Valid CSS (2.1)