mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-26 14:20:59 +00:00
edf5f6e018
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
|