cell: compile fix: alpha.ref is now alpha.ref_value
[mesa.git] / src / gallium / Makefile.template
index 8e84f8eb2d7dad1e699a951ef5d272844b4a2888..655e949ca2daa1068af26c4efd7fbce531c07d71 100644 (file)
@@ -15,8 +15,9 @@ OBJECTS = $(C_SOURCES:.c=.o) \
 ### Include directories
 INCLUDES = \
        -I. \
-       -I$(TOP)/src/mesa/pipe \
-       -I$(TOP)/src/mesa \
+       -I$(TOP)/src/gallium/include \
+       -I$(TOP)/src/gallium/auxiliary \
+       -I$(TOP)/src/gallium/drivers \
        -I$(TOP)/include \
         $(DRIVER_INCLUDES)
 
@@ -35,11 +36,11 @@ INCLUDES = \
 
 ##### TARGETS #####
 
-default: depend symlinks $(LIBNAME)
+default: depend symlinks lib$(LIBNAME).a
 
 
-$(LIBNAME): $(OBJECTS) Makefile $(TOP)/src/mesa/pipe/Makefile.template
-       $(TOP)/bin/mklib -o $@ -static $(OBJECTS) $(DRIVER_LIBS)
+lib$(LIBNAME).a: $(OBJECTS) Makefile $(TOP)/src/gallium/Makefile.template
+       $(TOP)/bin/mklib -o $(LIBNAME) -static $(OBJECTS) $(DRIVER_LIBS)
 
 
 depend: $(C_SOURCES) $(CPP_SOURCES) $(ASM_SOURCES) $(SYMLINKS)