]> rtime.felk.cvut.cz Git - frescor/frsh.git/commitdiff
FRM is compiled by OMK
authorMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 17 Feb 2009 11:54:41 +0000 (12:54 +0100)
committerMichal Sojka <sojkam1@fel.cvut.cz>
Tue, 17 Feb 2009 14:03:05 +0000 (15:03 +0100)
Therefore it it is not necessary to modify absolute paths in frm_gui.pro.

fres/Makefile.omk
fres/frm_gui/Makefile [new file with mode: 0644]
fres/frm_gui/Makefile.omk [new file with mode: 0644]
fres/frm_gui/frm_gui.pro

index 6e6d8e254134bdc0637d30feb924ee1ee798a382..934de7a12ccacb1cda9649bf7ecfd9c33f1b3895 100644 (file)
@@ -1 +1,5 @@
 SUBDIRS=contract cbroker resmng resalloc
+
+ifneq ($(QTDIR),)
+SUBDIRS += frm_gui
+endif
diff --git a/fres/frm_gui/Makefile b/fres/frm_gui/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/fres/frm_gui/Makefile.omk b/fres/frm_gui/Makefile.omk
new file mode 100644 (file)
index 0000000..3871eca
--- /dev/null
@@ -0,0 +1 @@
+QT_PROJECTS = frm_gui.pro
index 8f9e8d98f6f21791b687842ba799fef0d34bd497..e97632a4b9c6716e061669e2195f6031c594b8e4 100644 (file)
@@ -11,7 +11,5 @@ HEADERS += dialog.h \
     contractlistmodel.h \
     resourcelistmodel.h
 FORMS += dialog.ui
-INCLUDEPATH += /home/wsh/frescor/src/omk-build/aquosa/_compiled/include
 DEFINES += AQuoSA
-libdir=$$system(cd /home/wsh/frescor/src/omk-build/aquosa/_compiled/lib; pwd)
-LIBS   += -L$$libdir -Wl,-rpath-link=$$libdir -Wl,-rpath=$$libdir -lpthread -lfrsh -lfrm_client -lforb -lcontract
+LIBS   += -lpthread -lfrsh -lfrm_client -lforb -lcontract