mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-11 13:21:10 +00:00
5588d9d782
Enable locating the GNUstep makefiles using the various schemes available (in order of reliability), eventually reaching a hardcoded default.
13 lines
531 B
Text
13 lines
531 B
Text
# 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
|