diff options
author | Brian Paul <[email protected]> | 2006-06-02 14:50:28 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2006-06-02 14:50:28 +0000 |
commit | 65ced474536bad23ee204170918f56eb8f8c4bf9 (patch) | |
tree | 737457c8263b5fcf8bcc0756f0e61b2578f32774 /progs/tools/trace/Makefile | |
parent | 21fbdb14e9a189272fd7398be525e087dbf017dc (diff) |
Thomas Sondergaard's API tracer
Diffstat (limited to 'progs/tools/trace/Makefile')
-rw-r--r-- | progs/tools/trace/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/progs/tools/trace/Makefile b/progs/tools/trace/Makefile new file mode 100644 index 00000000000..3f7bdcbc935 --- /dev/null +++ b/progs/tools/trace/Makefile @@ -0,0 +1,30 @@ +# Makefile for Thomas Sondergaard's API tracer + +TOP = ../../.. + +include $(TOP)/configs/current + + +OBJECTS = gltrace.o gltrace_support.o + +TRACER = gltrace.so + +.cc.o: + $(CXX) -c $(INCDIRS) $(CXXFLAGS) $< -o $@ + + +default: $(TRACER) + +$(TRACER): $(OBJECTS) + $(TOP)/bin/mklib -o $(TRACER) -noprefix -cplusplus \ + $(MKLIB_OPTIONS) $(OBJECTS) + +gltrace.cc: gltrace.py + PYTHONPATH=$(TOP)/src/mesa/glapi python gltrace.py -f $(TOP)/src/mesa/glapi/gl_API.xml > gltrace.cc + + +clean: + rm -f $(OBJECTS) + rm -f $(TRACER) + rm -f *~ + rm -f gltrace.cc |