mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-05-13 17:38:39 +00:00
Update the instructions for writing a pass as a loadable module per the
new definition in MakefileGuilde.html and Makefile.rules. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29563 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
1c567b5d92
commit
ebfe07fb18
@ -178,13 +178,15 @@ LEVEL = ../../..
|
|||||||
# Name of the library to build
|
# Name of the library to build
|
||||||
LIBRARYNAME = Hello
|
LIBRARYNAME = Hello
|
||||||
|
|
||||||
# Build a dynamically linkable shared object
|
|
||||||
SHARED_LIBRARY = 1
|
|
||||||
|
|
||||||
# Make the shared library become a loadable module so the tools can
|
# Make the shared library become a loadable module so the tools can
|
||||||
# dlopen/dlsym on the resulting library.
|
# dlopen/dlsym on the resulting library.
|
||||||
LOADABLE_MODULE = 1
|
LOADABLE_MODULE = 1
|
||||||
|
|
||||||
|
# Tell the build system which LLVM libraries your pass needs. You'll probably
|
||||||
|
# need at least LLVMSystem.a, LLVMSupport.a, LLVMCore.a but possibly several
|
||||||
|
# others too.
|
||||||
|
LLVMLIBS = LLVMCore.a LLVMSupport.a LLVMSystem.a
|
||||||
|
|
||||||
# Include the makefile implementation stuff
|
# Include the makefile implementation stuff
|
||||||
include $(LEVEL)/Makefile.common
|
include $(LEVEL)/Makefile.common
|
||||||
</pre></div>
|
</pre></div>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user