mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Tracelib is now an LLVM library just like all other libraries in this
directory. If the test code needs to be resurrected in the future, it should be moved into the test/Programs directory, linking with tracelib. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@2672 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2bb5c7f6bf
commit
348d165d9b
@ -1,26 +1,11 @@
|
||||
LEVEL = ../../..
|
||||
|
||||
include $(LEVEL)/Makefile.common
|
||||
LIBNAME = instr
|
||||
|
||||
LIB32 = ../Output/libinstr32.a
|
||||
LIB64 = ../Output/libinstr64.a
|
||||
all:: $(LIB32) $(LIB64)
|
||||
# We use assert and memset here... and we are linked into the program AFTER final
|
||||
# link. Because of this, we have to play funny games here. :(
|
||||
LDFLAGS = /home/vadve/lattner/cvs/gcc_install/lib/gcc-lib/llvm/3.1/libgcc.bc \
|
||||
/home/vadve/lattner/cvs/gcc_install/lib/gcc-lib/llvm/3.1/libc.bc
|
||||
|
||||
tracelib: tracelib.c
|
||||
g++ -g -DTEST_INSTRLIB $< -o $@
|
||||
include ../Makefile.libs
|
||||
|
||||
Debug/tracelib32.o: tracelib.c Debug/.dir
|
||||
g++ -c -g $< -o $@
|
||||
|
||||
Debug/tracelib64.o: tracelib.c Debug/.dir
|
||||
cc -c -xarch=v9 -g $< -o $@
|
||||
|
||||
$(LIB32): Debug/tracelib32.o ../Output/.dir
|
||||
ar r $@ $<
|
||||
|
||||
$(LIB64): Debug/tracelib64.o ../Output/.dir
|
||||
ar r $@ $<
|
||||
|
||||
test: tracelib
|
||||
|
||||
tracelib.c: tracelib.h
|
||||
|
Loading…
Reference in New Issue
Block a user