# test_PROGRAMS .. list of the testing programs
# bin_SCRIPTS .. list of scripts to be copied to _compiled/bin
# xxx_SOURCES .. list of specific target sources
+# xxx_GEN_SOURCES .. list of specific target sources that are generated in the build directory
# xxx_LIBS .. list of specific target libraries (-l prefix is automatically added)
# xxx_LDFLAGS .. list of specific target LDFLAGS
# lib_LOADLIBES .. list of libraries linked to each executable
)
endef
-TARGET_GEN_SOURCES = $(filter %.c,$($(1)_SERVER_IDL:%.idl=%-skels.c)) \
+TARGET_IDL_SOURCES = $(filter %.c,$($(1)_SERVER_IDL:%.idl=%-skels.c)) \
$(filter %.c,$($(1)_SERVER_IDL:%.idl=%-common.c)) \
$(filter %.c,$($(1)_CLIENT_IDL:%.idl=%-stubs.c)) \
$(filter %.c,$($(1)_CLIENT_IDL:%.idl=%-common.c)) \
$(filter %.c,$($(1)_IDL:%.idl=%.c))
-TARGET_SOURCES = $($(1)_SOURCES) $(TARGET_GEN_SOURCES)
-TARGET_SOURCES_ABS = $($(1)_SOURCES:%=$(SOURCES_DIR)/%) $(TARGET_GEN_SOURCES)
+TARGET_SOURCES = $($(1)_SOURCES) $($(1)_GEN_SOURCES) $(TARGET_IDL_SOURCES)
+TARGET_SOURCES_ABS = $($(1)_SOURCES:%=$(SOURCES_DIR)/%) $($(1)_GEN_SOURCES) $(TARGET_IDL_SOURCES)
TARGET_OBJS = $(sort $(addsuffix .o,$(basename $(notdir $(TARGET_SOURCES)))))
TARGET_LOBJS = $(sort $(addsuffix .lo,$(basename $(notdir $(TARGET_SOURCES)))))
TARGET_IDLS = $($(1)_SERVER_IDL) $($(1)_CLIENT_IDL) $($(1)_IDL)