1 # Makefile for linux-solo (i.e. stand-alone DRI drivers for miniglx environment)
2 # We just generate a mesa.a file which is all the core Mesa sources. This will
3 # get linked into the DRI hardware drivers (name *_dri.so).
10 # The objects we want to make:
18 $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
21 $(CC) -c $(INCLUDE_DIRS) $(CFLAGS) $< -o $@
24 x86/matypes.h: main/mtypes.h tnl/t_context.h x86/gen_matypes.c
25 $(CC) $(INCLUDE_DIRS) $(CFLAGS) x86/gen_matypes.c -o x86/gen_matypes
26 ./x86/gen_matypes > x86/matypes.h
27 rm -f x86/gen_matypes x86/*.o
29 x86/common_x86_asm.o: x86/matypes.h
36 @echo "Specify a target configuration"
42 # Make archive of core object files for linux-solo DRI drivers
50 # Run 'make -f Makefile.solo dep' to update the dependencies if you change
51 # what's included by any source file.
52 dep: $(CORE_SOURCES) $(ASM_SOURCES)
53 makedepend -fdepend -Y $(INCLUDE_DIRS) $(CORE_SOURCES) $(ASM_SOURCES)
58 etags `find . -name \*.[ch]` `find ../include`
61 # Remove .o and backup files
64 -rm -f */*.o */*~ */*.o */*~
65 -rm -f drivers/*/*.o drivers/*/*/*.o
68 include $(TOP)/Make-config