find $GNUSTEP_MAKEFILES
Enable locating the GNUstep makefiles using the various schemes available (in order of reliability), eventually reaching a hardcoded default.
This commit is contained in:
parent
19c30497d9
commit
5588d9d782
|
@ -1,3 +1,5 @@
|
||||||
|
include GNUmakefile.find-makefiles
|
||||||
|
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
||||||
#
|
#
|
||||||
|
|
|
@ -1,3 +1,5 @@
|
||||||
|
include GNUmakefile.find-makefiles
|
||||||
|
|
||||||
include $(GNUSTEP_MAKEFILES)/common.make
|
include $(GNUSTEP_MAKEFILES)/common.make
|
||||||
|
|
||||||
BUNDLE_NAME= MapEdit
|
BUNDLE_NAME= MapEdit
|
||||||
|
|
|
@ -0,0 +1,13 @@
|
||||||
|
# Make sure that GNUSTEP_MAKEFILES is set.
|
||||||
|
# First, try the "gnustep-config" program which should be in the path somewhere.
|
||||||
|
# If that fails, try sourcing the GNUstep.conf file (which should be a legal Make fragment).
|
||||||
|
# Finally, just give up and assume the default value.
|
||||||
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
||||||
|
GNUSTEP_MAKEFILES=$(shell gnustep-config --variable=GNUSTEP_MAKEFILES)
|
||||||
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
||||||
|
-include /etc/GNUstep/GNUstep.conf
|
||||||
|
ifeq ($(GNUSTEP_MAKEFILES),)
|
||||||
|
GNUSTEP_MAKEFILES=/usr/GNUstep/Library/Makefiles
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
endif
|
Loading…
Reference in New Issue