default_CONFIG = CONFIG_FRSH_FORB=y
-
-ifeq ($(CONFIG_FRSH_FORB),y)
-
-SUBDIRS=tests
-
-shared_LIBRARIES = frsh
-
-frsh_SOURCES = forb_contract.c frsh_contract.c
-frsh_CLIENT_IDL = forb_contract_idl.idl
-
-include_HEADERS = forb_contract.h frsh_opaque_types.h idl_native.h
-
-include_GEN_HEADERS = forb_contract_idl.h
-endif
+SUBDIRS=$(ALL_OMK_SUBDIRS)
--- /dev/null
+shared_LIBRARIES = cm
+
+cm_SOURCES = forb_contract.c
+cm_CLIENT_IDL = forb_contract_idl.idl
+
+include_HEADERS = forb_contract.h forb_contract_internal.h idl_native.h
+include_GEN_HEADERS = forb_contract_idl.h
+
+SUBDIRS=$(ALL_OMK_SUBDIRS)
#ifndef _IDL_NATIVE_H
#define _IDL_NATIVE_H
-/* /\* FIXME: time.h should be included in fosa_opaque_types.h *\/ */
-/* #include <time.h> /\* We need struct timespec *\/ */
#include <fosa.h>
#define fosa_rel_time_t_serialize(a,b) CORBA_FALSE
--- /dev/null
+# Generic directory or leaf node makefile for OCERA make framework
+
+ifndef MAKERULES_DIR
+MAKERULES_DIR := $(shell ( old_pwd="" ; while [ ! -e Makefile.rules ] ; do if [ "$$old_pwd" = `pwd` ] ; then exit 1 ; else old_pwd=`pwd` ; cd -L .. 2>/dev/null ; fi ; done ; pwd ) )
+endif
+
+ifeq ($(MAKERULES_DIR),)
+all : default
+.DEFAULT::
+ @echo -e "\nThe Makefile.rules has not been found in this or partent directory\n"
+else
+include $(MAKERULES_DIR)/Makefile.rules
+endif
+
$(foreach t,$(test_PROGRAMS),\
$(eval $(t)_SOURCES = $(t).c)\
-$(eval $(t)_LIBS = fosa m frsh utils rt forb)\
+$(eval $(t)_LIBS = fosa m cm frsh utils rt forb)\
)
--- /dev/null
+# Generic directory or leaf node makefile for OCERA make framework
+
+ifndef MAKERULES_DIR
+MAKERULES_DIR := $(shell ( old_pwd="" ; while [ ! -e Makefile.rules ] ; do if [ "$$old_pwd" = `pwd` ] ; then exit 1 ; else old_pwd=`pwd` ; cd -L .. 2>/dev/null ; fi ; done ; pwd ) )
+endif
+
+ifeq ($(MAKERULES_DIR),)
+all : default
+.DEFAULT::
+ @echo -e "\nThe Makefile.rules has not been found in this or partent directory\n"
+else
+include $(MAKERULES_DIR)/Makefile.rules
+endif
+
--- /dev/null
+shared_LIBRARIES = frsh
+frsh_SOURCES = frsh_contract.c
+include_HEADERS = frsh_opaque_types.h
+
// FRSH(FRescor ScHeduler), pronounced "fresh"
//==============================================
+#ifdef FRSH_CORE_TYPES_H_
+#define frsh_vres_id_t frsh_vres_id_t_old
+#endif
+
// Implementation dependent definitions
#ifndef _FRSH_OPAQUE_TYPES_H_
#define _FRSH_OPAQUE_TYPES_H_