2002-05-19 15:49:58 +00:00
|
|
|
LEVEL = ../../..
|
|
|
|
|
2002-05-20 21:16:19 +00:00
|
|
|
LIBNAME = instr
|
2002-05-19 15:49:58 +00:00
|
|
|
|
2002-05-20 21:16:19 +00:00
|
|
|
include ../Makefile.libs
|
2002-05-19 15:49:58 +00:00
|
|
|
|
2003-07-08 18:40:58 +00:00
|
|
|
## We need the native libraries for libinstr because they are directly
|
|
|
|
## linked into the native CBE or LLC code. That is the only practical
|
|
|
|
## way to debug them!
|
|
|
|
|
|
|
|
LIBINSTR = ../Output/libinstr.$(ARCH).a
|
|
|
|
all:: $(LIBINSTR)
|
|
|
|
|
|
|
|
tracelib: tracelib.c
|
|
|
|
g++ -g -DTEST_INSTRLIB $< -o $@
|
|
|
|
|
|
|
|
Debug/tracelib.o: tracelib.c Debug/.dir
|
|
|
|
$(CompileC) -g $< -o $@
|
|
|
|
|
|
|
|
$(LIBINSTR): Debug/tracelib.o ../Output/.dir
|
|
|
|
ar r $@ $<
|
|
|
|
|
|
|
|
tracelib.c: tracelib.h
|