mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-12-18 16:42:07 +00:00
14 lines
531 B
Text
14 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
|