Author: rfm
Date: Wed Nov 4 13:48:34 2015
New Revision: 39149
URL: http://svn.gna.org/viewcvs/gnustep?rev=39149&view=rev
Log:
use gnustep-config
Modified:
tests/gormtest/trunk/GNUmakefile
tests/palettetest/trunk/GNUmakefile
tests/retaincount/trunk/GNUmakefile
Modified: tests/gormtest/trunk/GNUmakefile
URL:
http://svn.gna.org/viewcvs/gnustep/tests/gormtest/trunk/GNUmakefile?rev=39149&r1=39148&r2=39149&view=diff
==============================================================================
--- tests/gormtest/trunk/GNUmakefile (original)
+++ tests/gormtest/trunk/GNUmakefile Wed Nov 4 13:48:34 2015
@@ -71,6 +71,23 @@
#gormtest_MAIN_MODEL_FILE = controls.nib
gormtest_MAIN_MODEL_FILE = MainMenu.xib
+ifeq ($(GNUSTEP_MAKEFILES),)
+ GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES
2>/dev/null)
+ ifeq ($(GNUSTEP_MAKEFILES),)
+ $(warning )
+ $(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
+ $(warning Perhaps gnustep-make is not properly installed,)
+ $(warning so gnustep-config is not in your PATH.)
+ $(warning )
+ $(warning Your PATH is currently $(PATH))
+ $(warning )
+ endif
+endif
+
+ifeq ($(GNUSTEP_MAKEFILES),)
+ $(error You need to set GNUSTEP_MAKEFILES before compiling!)
+endif
+
include $(GNUSTEP_MAKEFILES)/common.make
# The application to be compiled
Modified: tests/palettetest/trunk/GNUmakefile
URL:
http://svn.gna.org/viewcvs/gnustep/tests/palettetest/trunk/GNUmakefile?rev=39149&r1=39148&r2=39149&view=diff
==============================================================================
--- tests/palettetest/trunk/GNUmakefile (original)
+++ tests/palettetest/trunk/GNUmakefile Wed Nov 4 13:48:34 2015
@@ -20,6 +20,23 @@
# You should have received a copy of the GNU General Public License
# along with this program; if not, write to the Free Software
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+
+ifeq ($(GNUSTEP_MAKEFILES),)
+ GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES
2>/dev/null)
+ ifeq ($(GNUSTEP_MAKEFILES),)
+ $(warning )
+ $(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
+ $(warning Perhaps gnustep-make is not properly installed,)
+ $(warning so gnustep-config is not in your PATH.)
+ $(warning )
+ $(warning Your PATH is currently $(PATH))
+ $(warning )
+ endif
+endif
+
+ifeq ($(GNUSTEP_MAKEFILES),)
+ $(error You need to set GNUSTEP_MAKEFILES before compiling!)
+endif
include $(GNUSTEP_MAKEFILES)/common.make
Modified: tests/retaincount/trunk/GNUmakefile
URL:
http://svn.gna.org/viewcvs/gnustep/tests/retaincount/trunk/GNUmakefile?rev=39149&r1=39148&r2=39149&view=diff
==============================================================================
--- tests/retaincount/trunk/GNUmakefile (original)
+++ tests/retaincount/trunk/GNUmakefile Wed Nov 4 13:48:34 2015
@@ -7,6 +7,23 @@
# Put all of your customisations in GNUmakefile.preamble and
# GNUmakefile.postamble
#
+
+ifeq ($(GNUSTEP_MAKEFILES),)
+ GNUSTEP_MAKEFILES := $(shell gnustep-config --variable=GNUSTEP_MAKEFILES
2>/dev/null)
+ ifeq ($(GNUSTEP_MAKEFILES),)
+ $(warning )
+ $(warning Unable to obtain GNUSTEP_MAKEFILES setting from gnustep-config!)
+ $(warning Perhaps gnustep-make is not properly installed,)
+ $(warning so gnustep-config is not in your PATH.)
+ $(warning )
+ $(warning Your PATH is currently $(PATH))
+ $(warning )
+ endif
+endif
+
+ifeq ($(GNUSTEP_MAKEFILES),)
+ $(error You need to set GNUSTEP_MAKEFILES before compiling!)
+endif
include $(GNUSTEP_MAKEFILES)/common.make
_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs