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
@@ -65,7 +65,7 @@ $(LIB_DIR)/$(GLUT_LIB_NAME): depend $(OBJECTS) | |||
# what's included by any source file. | |||
depend: $(SOURCES) | |||
touch depend | |||
makedepend -fdepend -Y $(INCLUDES) $(SOURCES) >& /dev/null | |||
$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(SOURCES) > /dev/null 2>&1 | |||
# Emacs tags | |||
tags: |
@@ -57,7 +57,8 @@ drmtest: xf86drm.o drmtest.o | |||
depend: $(C_SOURCES) $(ASM_SOURCES) | |||
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 |
@@ -85,7 +85,7 @@ $(LIB_DIR)/$(LIBNAME): $(OBJECTS) $(MESA_MODULES) $(WINOBJ) Makefile ../Makefil | |||
depend: $(C_SOURCES) $(ASM_SOURCES) | |||
touch depend | |||
$(MKDEP) $(MKDEP_OPTIONS) $(INCLUDES) $(C_SOURCES) $(ASM_SOURCES) \ | |||
>& /dev/null | |||
> /dev/null 2>&1 | |||
# Emacs tags |