SUBDIRS = tests-idl tests EXTRA_RULES_SUBDIRS = forb-idl CFLAGS += -I. IDL_COMPILER += --pidl lib_LIBRARIES += forb forb_SOURCES = forb.c cdr.c sha1.c uuid.c iop.c proto.c syncobj.c \ request.c executor.c object.c peer.c port.c forb_CLIENT_IDL = types.idl iop-idl.idl to_forb_subdir=$(1)->forb/$(strip $(1)) ifeq ($(CONFIG_FORB_PROTO_UNIX),y) forb_SOURCES += proto_unix.c renamed_include_HEADERS += $(call to_forb_subdir, proto_unix.h) endif renamed_include_HEADERS += \ $(call to_forb_subdir, basic_types.h) \ $(call to_forb_subdir, cdr.h) \ $(call to_forb_subdir, cdr_codec.h) \ $(call to_forb_subdir, executor.h) \ $(call to_forb_subdir, forb-internal.h) \ $(call to_forb_subdir, forb.h) \ $(call to_forb_subdir, iop.h) \ $(call to_forb_subdir, object.h) \ $(call to_forb_subdir, request.h) \ $(call to_forb_subdir, syncobj.h) \ $(call to_forb_subdir, uuid.h) renamed_include_GEN_HEADERS = \ $(call to_forb_subdir,iop-idl.h) \ $(call to_forb_subdir,types.h) default_CONFIG = CONFIG_FORB_PROTO_UNIX=y \ CONFIG_FORB_RECV_BUF_SIZE=4096 config_include_HEADERS = forb/config.h config_DEFINES = CONFIG_FORB_PROTO_UNIX \ CONFIG_FORB_RECV_BUF_SIZE include-pass_HOOKS = log_domains.inc #request_gavl.inc log_domains.inc: @echo " UL_LOG $@" $(Q)$(SOURCES_DIR)/ul_log_domains $(SOURCES_DIR) > $@ clean-custom: $(Q)rm log_domains.inc # request_gavl.inc: $(SOURCES_DIR)/request_gavl.c # @echo " CPP $@" # $(Q)$(c_o_COMPILE) -o $@.tmp -E $< # $(Q)tail -n 1 $@.tmp|indent > $@