X-Git-Url: https://git.libre-soc.org/?a=blobdiff_plain;f=src%2Fmesa%2Fx86%2FMakefile;h=9716dc27f9779cf7fd1906c7d1c04af90da5f6c0;hb=7d960a352f9b4ae263371c5f318299e8cbabe277;hp=0b15357c57aa1c66524a4d954dbe37dcce410960;hpb=b3d772bd9a09cfdcfbbf31c54d888d88311318ee;p=mesa.git diff --git a/src/mesa/x86/Makefile b/src/mesa/x86/Makefile index 0b15357c57a..9716dc27f97 100644 --- a/src/mesa/x86/Makefile +++ b/src/mesa/x86/Makefile @@ -1,30 +1,30 @@ # src/mesa/x86/Makefile TOP = ../../.. - include $(TOP)/configs/current - INCLUDE_DIRS = \ -I$(TOP)/include/GL \ -I$(TOP)/include \ + -I$(TOP)/src/mapi \ -I.. \ -I../main \ -I../math \ - -I../glapi \ -I../tnl -default: matypes.h +default: gen_matypes matypes.h clean: - rm -f matypes.h gen_matypes + -rm -f matypes.h gen_matypes + +gen_matypes: gen_matypes.c + $(HOST_CC) $(ARCH_FLAGS) $(INCLUDE_DIRS) $(HOST_CFLAGS) gen_matypes.c -o gen_matypes # need some special rules here, unfortunately -matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes.c - $(CC) $(INCLUDE_DIRS) $(CFLAGS) gen_matypes.c -o gen_matypes +matypes.h: ../main/mtypes.h ../tnl/t_context.h gen_matypes ./gen_matypes > matypes.h common_x86_asm.o: matypes.h