Convert libraries into the BYTECODE_LIBRARY style

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@7858 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner
2003-08-15 02:20:32 +00:00
parent 6defc76a85
commit da86e6c0b6
10 changed files with 40 additions and 93 deletions

View File

@@ -1,23 +1,7 @@
LEVEL = ../../..
BYTECODE_LIBRARY=1
#DONT_BUILD_RELINKED=1
LIBRARYNAME=gcc
LIBNAME = instr
include $(LEVEL)/Makefile.common
include ../Makefile.libs
## 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