]> rtime.felk.cvut.cz Git - frescor/fwp.git/commitdiff
Adding mngt/Makefiles
authorMartin Molnar <molnar@sum.(none)>
Sat, 17 May 2008 08:53:18 +0000 (10:53 +0200)
committerMartin Molnar <molnar@sum.(none)>
Sat, 17 May 2008 08:53:18 +0000 (10:53 +0200)
fwp/mngt/Makefile [new file with mode: 0644]
fwp/mngt/Makefile.omk [new file with mode: 0644]

diff --git a/fwp/mngt/Makefile b/fwp/mngt/Makefile
new file mode 100644 (file)
index 0000000..b22a357
--- /dev/null
@@ -0,0 +1,14 @@
+# 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
+
diff --git a/fwp/mngt/Makefile.omk b/fwp/mngt/Makefile.omk
new file mode 100644 (file)
index 0000000..96a7d06
--- /dev/null
@@ -0,0 +1,9 @@
+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