]> rtime.felk.cvut.cz Git - omk.git/commitdiff
Return back "srcdir" variable. The VPATH cleanup has been too intrusive.
authorPavel Pisa <pisa@cmp.felk.cvut.cz>
Sun, 2 Mar 2008 00:06:00 +0000 (00:06 +0000)
committerPavel Pisa <pisa@cmp.felk.cvut.cz>
Sun, 2 Mar 2008 00:06:00 +0000 (00:06 +0000)
The "srcdir" variable notation is compatible with automake tools
and it is already used by some projects in Makefile.omk files.
Removal breaks build of ORTE library code for example.

darcs-hash:20080302000619-ff715-4f45c56027d0d4d5c146a3eb1600da3042c1eb64.gz

snippets/base

index 4239e7ff441888ca924257232e1e95c0666ee529..a35d9fde589bd9a321d1c03f2099778377b84239 100644 (file)
@@ -101,6 +101,8 @@ override RELATIVE_PREFIX := $(RELATIVE_PREFIX:/%=%)
 #vpath %.cc $(SOURCES_DIR)
 #vpath %.cxx $(SOURCES_DIR)
 
+srcdir = $(SOURCES_DIR)
+
 # Defines for quiet compilation
 ifdef V
   ifeq ("$(origin V)", "command line")