--- /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
+lib_LIBRARIES = fwpmngt
+CFLAGS = -Wall -D_REENTRANT -g
+#LDFLAGS = -lpthread -lrt
+fwp_SOURCES = fwp_msg.c fwp_contract.c fwp_mngt.c
+
+include_HEADERS= fwp_msg.h fwp_contract.h fwp_mngt.h
+
+lib_LOADLIBES+= fwp ulut
+#lib_LOADLIBES+= pthread rt