#SUBDIRS = $(ALL_OMK_SUBDIRS) USER_IDLS += $(notdir $(wildcard $(SOURCES_DIR)/*.idl)) library-pass_HOOKS = $(foreach idl,$(USER_IDLS),$(idl:%.idl=%.h)) lib_LIBRARIES = forb-idl-tests # Test whether are the generated files compilable forb-idl-tests_GEN_SOURCES = $(addsuffix -skels.c,$(basename $(USER_IDLS))) \ $(addsuffix -stubs.c,$(basename $(USER_IDLS))) \ $(addsuffix -common.c,$(basename $(USER_IDLS))) test_PROGRAMS += example_server INCLUDES += -I$(USER_OBJS_DIR) example_server_SOURCES = example_server.c example_server_LIBS = fosa pthread rt forb ulut example_server_SERVER_IDL = myinterface.idl test_PROGRAMS += example_client INCLUDES += -I$(USER_OBJS_DIR) example_client_SOURCES = example_client.c example_client_LIBS = fosa pthread rt forb ulut example_client_CLIENT_IDL = myinterface.idl