[LLVMdev] The source code Makefile (newbie with pass registering Problem)

Nicole Irwanto kesetrum at web.de
Tue Apr 22 10:52:32 PDT 2008


Hi!!

It's me again. I guess that there is a problem in the Makefile of my source code. But I don't know where. Could you please verify it? 

The Makefile is written like this:

# Makefile for Genetic Algorithm Pass

CXXFLAGS = -Wall -I/iss/fpga3/nicole/galib247/
LDFLAGS= -L/iss/fpga3/nicole/galib247/ga/ -lga -Wl,-E

# Path to top level of LLVM heirarchy
LEVEL=../../../

# Name of the library to build
LIBRARYNAME = gascheduling

# Make the shared library become a loadable module so the tools can
# dlopen/dlsym on the resulting library.
# LOADABLE_MODULE = 1

# USEDLIBS=ga.a
# 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
SHARED_LIBRARY = 1
# ARCHIVE_LIBRARY = 1
DONT_BUILD_RELINKED = 1
# KEEP_SYMBOLS = 1
# LINK_LIBS_IN_SHARED = 1

# Include the makefile implementation stuff
include $(LEVEL)/Makefile.common
  
Thanks for your help!! I'm waiting for your answer.

cheers,
Nicole


_______________________________________________________________________
EINE FÜR ALLE: die kostenlose WEB.DE-Plattform für Freunde und Deine
Homepage mit eigenem Namen. Jetzt starten! http://unddu.de/?kid=kid@mf2





More information about the llvm-dev mailing list