1 SUBDIRS = tests-idl tests
\r
2 EXTRA_RULES_SUBDIRS = forb-idl
\r
4 lib_LIBRARIES += forb
\r
5 forb_SOURCES = forb.c cdr.c sha1.c uuid.c iop.c proto.c syncobj.c request.c
\r
6 forb_CLIENT_IDL = forb-idl.idl
\r
8 lib_LIBRARIES += idltest
\r
9 idltest_CLIENT_IDL = frescor.idl
\r
12 to_forb_subdir=$(1)->forb/$(strip $(1))
\r
14 ifeq ($(CONFIG_FORB_PROTO_UNIX),y)
\r
15 forb_SOURCES += proto_unix.c
\r
16 renamed_include_HEADERS += $(call to_forb_subdir, proto_unix.h)
\r
19 renamed_include_HEADERS += \
\r
20 $(call to_forb_subdir, forb.h) \
\r
21 $(call to_forb_subdir, forb-internal.h) \
\r
22 $(call to_forb_subdir, basic_types.h) \
\r
23 $(call to_forb_subdir, cdr.h) \
\r
24 $(call to_forb_subdir, iop.h) \
\r
25 $(call to_forb_subdir, uuid.h) \
\r
26 $(call to_forb_subdir, syncobj.h) \
\r
27 $(call to_forb_subdir, request.h) \
\r
28 $(call to_forb_subdir, proto.h)
\r
30 renamed_include_GEN_HEADERS = \
\r
31 $(call to_forb_subdir,forb-idl.h)
\r
33 default_CONFIG = CONFIG_FORB_PROTO_UNIX=y \
\r
34 CONFIG_FORB_RECV_BUF_SIZE=4096
\r
36 config_include_HEADERS = forb/config.h
\r
37 config_DEFINES = CONFIG_FORB_PROTO_UNIX \
\r
38 CONFIG_FORB_RECV_BUF_SIZE
\r