5 # IDL_COMPILER += --pidl
7 shared_LIBRARIES += forb
8 forb_SOURCES = forb.c cdr.c sha1.c uuid.c iop.c proto.c syncobj.c \
9 request.c executor.c object.c peer.c port.c refcnt.c \
11 forb_CLIENT_IDL = types.idl iop-idl.idl forb-idl.idl
12 forb_SERVER_IDL = forb-idl.idl
14 to_forb_subdir=$(1)->forb/$(strip $(1))
16 ifeq ($(CONFIG_FORB_PROTO_UNIX),y)
17 forb_SOURCES += proto_unix.c
18 renamed_include_HEADERS += $(call to_forb_subdir, proto_unix.h)
21 include_HEADERS = forb.h
22 renamed_include_HEADERS += \
23 $(call to_forb_subdir, basic_types.h) \
24 $(call to_forb_subdir, cdr.h) \
25 $(call to_forb_subdir, cdr_codec.h) \
26 $(call to_forb_subdir, executor.h) \
27 $(call to_forb_subdir, exec_req.h) \
28 $(call to_forb_subdir, forb-internal.h) \
29 $(call to_forb_subdir, iop.h) \
30 $(call to_forb_subdir, object.h) \
31 $(call to_forb_subdir, object_type.h) \
32 $(call to_forb_subdir, port.h) \
33 $(call to_forb_subdir, refcnt.h) \
34 $(call to_forb_subdir, request.h) \
35 $(call to_forb_subdir, syncobj.h) \
36 $(call to_forb_subdir, server_id.h) \
37 $(call to_forb_subdir, uuid.h)
39 renamed_include_GEN_HEADERS = \
40 $(call to_forb_subdir,forb-idl.h) \
41 $(call to_forb_subdir,iop-idl.h) \
42 $(call to_forb_subdir,types.h)
44 default_CONFIG = CONFIG_FORB_PROTO_UNIX=y \
45 CONFIG_FORB_RECV_BUF_SIZE=4096
47 config_include_HEADERS = forb/config.h
48 config_DEFINES = CONFIG_FORB_PROTO_UNIX \
49 CONFIG_FORB_RECV_BUF_SIZE
51 include-pass_HOOKS = log_domains.inc #request_gavl.inc
55 $(Q)$(SOURCES_DIR)/ul_log_domains $(SOURCES_DIR) > $@
58 -$(Q)rm log_domains.inc
60 # request_gavl.inc: $(SOURCES_DIR)/request_gavl.c
62 # $(Q)$(c_o_COMPILE) -o $@.tmp -E $<
63 # $(Q)tail -n 1 $@.tmp|indent > $@