1 # src/mesa/drivers/dri/r300/compiler/Makefile
3 TOP
= ..
/..
/..
/..
/..
/..
4 include $(TOP
)/configs
/current
11 radeon_compiler_util.c \
12 radeon_emulate_branches.c \
13 radeon_emulate_loops.c \
15 radeon_program_print.c \
17 radeon_program_alu.c \
18 radeon_program_pair.c \
19 radeon_program_tex.c \
20 radeon_pair_translate.c \
21 radeon_pair_schedule.c \
22 radeon_pair_regalloc.c \
24 radeon_dataflow_deadcode.c \
25 radeon_dataflow_swizzles.c \
27 radeon_remove_constants.c \
28 radeon_rename_regs.c \
31 r300_fragprog_swizzle.c \
32 r300_fragprog_emit.c \
34 r500_fragprog_emit.c \
36 r3xx_vertprog_dump.c \
43 OBJECTS
= $(C_SOURCES
:.c
=.o
) \
44 $(CPP_SOURCES
:.
cpp=.o
) \
55 default
: depend lib
$(LIBNAME
).a
57 lib
$(LIBNAME
).a
: $(OBJECTS
) Makefile
$(TOP
)/configs
/current
58 $(MKLIB
) -o
$(LIBNAME
) -static
$(OBJECTS
)
60 depend
: $(C_SOURCES
) $(CPP_SOURCES
) $(ASM_SOURCES
) $(SYMLINKS
)
63 $(MKDEP
) $(MKDEP_OPTIONS
) $(INCLUDES
) $(C_SOURCES
) $(CPP_SOURCES
) $(ASM_SOURCES
) 2> /dev
/null
67 etags
`find . -name \*.[ch]` `find ../include`
69 # Remove .o and backup files
71 rm -f
$(OBJECTS
) lib
$(LIBNAME
).a depend depend.bak
80 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $(LIBRARY_DEFINES
) $< -o
$@
83 $(CXX
) -c
$(INCLUDES
) $(CXXFLAGS
) $(LIBRARY_DEFINES
) $< -o
$@
86 $(CC
) -c
$(INCLUDES
) $(CFLAGS
) $(LIBRARY_DEFINES
) $< -o
$@