]> rtime.felk.cvut.cz Git - frescor/forb.git/blob - Makefile.omk
Added partial implementation for executor
[frescor/forb.git] / Makefile.omk
1 SUBDIRS = tests-idl tests
2 EXTRA_RULES_SUBDIRS = forb-idl
3
4 IDL_COMPILER += --pidl
5
6 lib_LIBRARIES += forb
7 forb_SOURCES = forb.c cdr.c sha1.c uuid.c iop.c proto.c syncobj.c       \
8                request.c executor.c
9 forb_CLIENT_IDL = types.idl iop-idl.idl
10
11 to_forb_subdir=$(1)->forb/$(strip $(1))
12
13 ifeq ($(CONFIG_FORB_PROTO_UNIX),y)
14 forb_SOURCES += proto_unix.c
15 renamed_include_HEADERS += $(call to_forb_subdir, proto_unix.h) 
16 endif
17
18 renamed_include_HEADERS += \
19         $(call to_forb_subdir, forb.h) \
20         $(call to_forb_subdir, forb-internal.h) \
21         $(call to_forb_subdir, basic_types.h) \
22         $(call to_forb_subdir, cdr.h) \
23         $(call to_forb_subdir, iop.h) \
24         $(call to_forb_subdir, uuid.h) \
25         $(call to_forb_subdir, syncobj.h) \
26         $(call to_forb_subdir, request.h) \
27         $(call to_forb_subdir, executor.h) \
28         $(call to_forb_subdir, proto.h)
29
30 renamed_include_GEN_HEADERS = \
31         $(call to_forb_subdir,iop-idl.h) \
32         $(call to_forb_subdir,types.h)
33
34 default_CONFIG = CONFIG_FORB_PROTO_UNIX=y \
35                  CONFIG_FORB_RECV_BUF_SIZE=4096
36
37 config_include_HEADERS = forb/config.h
38 config_DEFINES = CONFIG_FORB_PROTO_UNIX \
39                  CONFIG_FORB_RECV_BUF_SIZE