Build fixing for FreeBSD. GNU make is installed as gmake, so make a MAKE variable (defaults to "make") and use that. Use the MKDEP and MKDEP_OPTIONS more. Our shell isn't bash, so change the instances of ">& /dev/null" to a more compatible "> /dev/null 2>&1".tags/R300_DRIVER_0
# what's included by any source file. | # what's included by any source file. | ||||
depend: $(SOURCES) | depend: $(SOURCES) | ||||
touch depend | touch depend | ||||
makedepend -fdepend -Y $(INCLUDES) $(SOURCES) >& /dev/null | |||||
$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(SOURCES) > /dev/null 2>&1 | |||||
# Emacs tags | # Emacs tags | ||||
tags: | tags: |
depend: $(C_SOURCES) $(ASM_SOURCES) | depend: $(C_SOURCES) $(ASM_SOURCES) | ||||
touch depend | touch depend | ||||
makedepend -fdepend -Y $(INCLUDES) $(C_SOURCES) $(ASM_SOURCES) >& /dev/null | |||||
$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) $(ASM_SOURCES) \ | |||||
> /dev/null 2>&1 | |||||
# Emacs tags | # Emacs tags |
depend: $(C_SOURCES) $(ASM_SOURCES) | depend: $(C_SOURCES) $(ASM_SOURCES) | ||||
touch depend | touch depend | ||||
$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) $(ASM_SOURCES) \ | $(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) $(ASM_SOURCES) \ | ||||
>& /dev/null | |||||
> /dev/null 2>&1 | |||||
# Emacs tags | # Emacs tags |