]> rtime.felk.cvut.cz Git - frescor/forb.git/blobdiff - Makefile.omk
forb: Split forb_port_destroy() to stop and destroy phases
[frescor/forb.git] / Makefile.omk
index ce6f153ca254bce44d1ddb92792c2ed4afb7cfa9..e34fb4abe1246d798bfc610d51992d380c343ce2 100644 (file)
@@ -1,57 +1,2 @@
-SUBDIRS = tests-idl tests
+SUBDIRS = tests-idl src
 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
-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, forb.h) \
-       $(call to_forb_subdir, forb-internal.h) \
-       $(call to_forb_subdir, basic_types.h) \
-       $(call to_forb_subdir, cdr.h) \
-       $(call to_forb_subdir, iop.h) \
-       $(call to_forb_subdir, uuid.h) \
-       $(call to_forb_subdir, syncobj.h) \
-       $(call to_forb_subdir, request.h) \
-       $(call to_forb_subdir, executor.h) \
-       $(call to_forb_subdir, object.h) \
-       $(call to_forb_subdir, proto.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 > $@
-