Skip to content

Commit

Permalink
Change Library Names Not To Conflict With Others When Installed
Browse files Browse the repository at this point in the history
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@17286 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
Reid Spencer committed Oct 27, 2004
1 parent af362fc commit 6cb21d4
Show file tree
Hide file tree
Showing 51 changed files with 101 additions and 92 deletions.
2 changes: 1 addition & 1 deletion examples/ModuleMaker/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
##===----------------------------------------------------------------------===##
LEVEL=../..
TOOLNAME=ModuleMaker
USEDLIBS= bcwriter vmcore support.a LLVMsystem.a
USEDLIBS= LLVMBCWriter LLVMCore LLVMSupport.a LLVMSystem.a

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/Analysis/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##

LEVEL = ../..
LIBRARYNAME = analysis
LIBRARYNAME = LLVMAnalysis
PARALLEL_DIRS = IPA DataStructure
BUILD_ARCHIVE = 1

Expand Down
2 changes: 1 addition & 1 deletion lib/AsmParser/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

LEVEL = ../..

LIBRARYNAME = asmparser
LIBRARYNAME = LLVMAsmParser

include $(LEVEL)/Makefile.common

Expand Down
2 changes: 1 addition & 1 deletion lib/CodeGen/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

LEVEL = ../..
PARALLEL_DIRS = SelectionDAG
LIBRARYNAME = codegen
LIBRARYNAME = LLVMCodeGen

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/CodeGen/SelectionDAG/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
##===----------------------------------------------------------------------===##
LEVEL = ../../..
PARALLEL_DIRS =
LIBRARYNAME = selectiondag
LIBRARYNAME = LLVMSelectionDAG

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/Debugger/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
##===----------------------------------------------------------------------===##

LEVEL = ../..
LIBRARYNAME = debugger
LIBRARYNAME = LLVMDebugger

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/ExecutionEngine/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
LIBRARYNAME = executionengine
LIBRARYNAME = LLVMExecutionEngine
PARALLEL_DIRS = Interpreter JIT

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/Support/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
LIBRARYNAME = support
LIBRARYNAME = LLVMSupport
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/System/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
LIBRARYNAME = LLVMsystem
LIBRARYNAME = LLVMSystem
BUILD_ARCHIVE = 1

EXTRA_DIST = AIX Cygwin Darwin FreeBSD Interix Linux SunOS Unix Win32
Expand Down
1 change: 0 additions & 1 deletion lib/System/Unix/MappedFile.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "Unix.h"
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>

namespace llvm {
using namespace sys;
Expand Down
1 change: 0 additions & 1 deletion lib/System/Unix/MappedFile.inc
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@
#include "Unix.h"
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/stat.h>

namespace llvm {
using namespace sys;
Expand Down
2 changes: 1 addition & 1 deletion lib/Target/CBackend/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
##===----------------------------------------------------------------------===##

LEVEL = ../../..
LIBRARYNAME = cwriter
LIBRARYNAME = LLVMCBackend
include $(LEVEL)/Makefile.common

2 changes: 1 addition & 1 deletion lib/Target/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
PARALLEL_DIRS = CBackend X86 SparcV9 PowerPC Skeleton
LIBRARYNAME = target
LIBRARYNAME = LLVMTarget
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/Target/PowerPC/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = powerpc
LIBRARYNAME = LLVMPowerPC
TARGET = PowerPC

# Make sure that tblgen is run, first thing.
Expand Down
2 changes: 1 addition & 1 deletion lib/Target/Skeleton/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##

LEVEL = ../../..
LIBRARYNAME = skeleton
LIBRARYNAME = LLVMSkeleton

TARGET = Skeleton
# Make sure that tblgen is run, first thing.
Expand Down
2 changes: 1 addition & 1 deletion lib/Target/SparcV9/InstrSched/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

LEVEL = ../../../..
DIRS =
LIBRARYNAME = sparcv9sched
LIBRARYNAME = LLVMSparcV9InstrSched

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/Target/SparcV9/LiveVar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##

LEVEL = ../../../..
LIBRARYNAME = sparcv9livevar
LIBRARYNAME = LLVMSparcV9LiveVar

include $(LEVEL)/Makefile.common

2 changes: 1 addition & 1 deletion lib/Target/SparcV9/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = sparcv9
LIBRARYNAME = LLVMSparcV9
PARALLEL_DIRS = InstrSched LiveVar ModuloScheduling RegAlloc

BUILT_SOURCES = \
Expand Down
2 changes: 1 addition & 1 deletion lib/Target/SparcV9/ModuloScheduling/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

LEVEL = ../../../..
DIRS =
LIBRARYNAME = sparcv9modulosched
LIBRARYNAME = LLVMSparcV9ModuloSched

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/Target/SparcV9/RegAlloc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

LEVEL = ../../../..
DIRS =
LIBRARYNAME = sparcv9regalloc
LIBRARYNAME = LLVMSparcV9RegAlloc
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
2 changes: 1 addition & 1 deletion lib/Target/X86/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = x86
LIBRARYNAME = LLVMX86
TARGET = X86
# Make sure that tblgen is run, first thing.
BUILT_SOURCES = X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \
Expand Down
2 changes: 1 addition & 1 deletion lib/Transforms/Hello/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##

LEVEL = ../../..
LIBRARYNAME = hello
LIBRARYNAME = LLVMHello
SHARED_LIBRARY = 1

include $(LEVEL)/Makefile.common
Expand Down
2 changes: 1 addition & 1 deletion lib/Transforms/IPO/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = ipo
LIBRARYNAME = LLVMipo
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
Expand Down
2 changes: 1 addition & 1 deletion lib/Transforms/Instrumentation/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = instrument
LIBRARYNAME = LLVMInstrumentation
PARALLEL_DIRS = ProfilePaths
BUILD_ARCHIVE = 1

Expand Down
2 changes: 1 addition & 1 deletion lib/Transforms/Instrumentation/ProfilePaths/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
LIBRARYNAME = profpaths
LIBRARYNAME = LLVMProfilePaths

include $(LEVEL)/Makefile.common

2 changes: 1 addition & 1 deletion lib/Transforms/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
PARALLEL_DIRS = Utils Instrumentation Scalar IPO
LIBRARYNAME = transforms
LIBRARYNAME = LLVMTransforms
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
Expand Down
2 changes: 1 addition & 1 deletion lib/Transforms/Scalar/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = scalaropts
LIBRARYNAME = LLVMScalarOpts
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
Expand Down
2 changes: 1 addition & 1 deletion lib/Transforms/Utils/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../../..
LIBRARYNAME = transformutils
LIBRARYNAME = LLVMTransformUtils
BUILD_ARCHIVE = 1

include $(LEVEL)/Makefile.common
Expand Down
2 changes: 1 addition & 1 deletion lib/VMCore/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#
##===----------------------------------------------------------------------===##
LEVEL = ../..
LIBRARYNAME = vmcore
LIBRARYNAME = LLVMCore

include $(LEVEL)/Makefile.common

2 changes: 1 addition & 1 deletion projects/Stacker/samples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ LLVMDIS_EXEC = $(BUILD_OBJ_ROOT)/tools/$(CONFIGURATION)/llvm-dis
all :: $(SAMPLES)

ifdef OPTIMIZE
%.bc : %.st
% : %.st
@$(ECHO) "Compiling and Optimizing $< to $*.bc"
$(VERB)$(STKRC_EXEC) -e -o - $< | opt -stats -q -f -o $*.bc \
-aa-eval -adce -branch-combine -cee -constmerge -constprop -dce -die -ds-aa \
Expand Down
9 changes: 5 additions & 4 deletions projects/Stacker/tools/stkrc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,11 @@ LEVEL=../..
#
# Give the name of a library. This will build a dynamic version.
#
TOOLNAME=stkrc
LLVMLIBS= asmparser bcwriter transforms ipo.a ipa.a \
scalaropts analysis.a target.a transformutils \
vmcore support.a LLVMsystem.a
TOOLNAME = stkrc
LLVMLIBS = LLVMAsmParser LLVMBCWriter LLVMTransforms LLVMipo.a LLVMipa.a \
LLVMScalarOpts LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils \
LLVMCore LLVMSupport.a LLVMSystem.a

USEDLIBS=stkr_compiler


Expand Down
19 changes: 10 additions & 9 deletions tools/Makefile.JIT
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ LEVEL = ../..
include $(LEVEL)/Makefile.config

# Generic JIT libraries
JITLIBS = lli-jit codegen executionengine
JITLIBS = LLVMJIT LLVMCodeGen LLVMExecutionEngine
ARCHLIBS =

# You can enable the X86 JIT on a non-X86 host by setting the flag
Expand All @@ -30,7 +30,7 @@ endif

# What the X86 JIT requires
ifdef ENABLE_X86_JIT
JITLIBS += x86 selectiondag
JITLIBS += LLVMX86 LLVMSelectionDAG
# X86 doesn't require any ARCHLIBS
endif

Expand All @@ -43,10 +43,10 @@ endif

# What the Sparc JIT requires
ifdef ENABLE_SPARCV9_JIT
JITLIBS += sparcv9
ARCHLIBS += sparcv9sched sparcv9livevar instrument.a profpaths \
bcwriter transforms.a ipo.a ipa.a datastructure.a \
sparcv9regalloc
JITLIBS += LLVMSparcV9
ARCHLIBS += LLVMSparcV9sched LLVMSparcV9livevar LLVMInstrumentation.a \
LLVMProfilePaths LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMipa.a \
LLVMDataStructure.a LLVMSparcV9regalloc
endif

# You can enable the PowerPC JIT on a non-PowerPC host by setting the flag
Expand All @@ -58,8 +58,9 @@ endif

# What the PowerPC JIT requires
ifdef ENABLE_PPC_JIT
JITLIBS += powerpc
JITLIBS += LLVMPowerPC
endif

USEDLIBS += lli-interpreter $(JITLIBS) $(ARCHLIBS) scalaropts analysis.a \
transformutils.a bcreader vmcore support target.a LLVMsystem.a
USEDLIBS += LLVMInterpreter $(JITLIBS) $(ARCHLIBS) LLVMScalarOpts \
LLVMAnalysis.a LLVMTransformUtils.a LLVMBCReader LLVMCore \
LLVMSupport.a LLVMTarget.a LLVMSystem.a
6 changes: 3 additions & 3 deletions tools/analyze/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = analyze
USEDLIBS = asmparser bcreader analysis ipa datastructure scalaropts.a \
transforms.a target.a scalaropts.a transformutils.a vmcore support \
LLVMsystem.a
USEDLIBS = LLVMAsmParser LLVMBCReader LLVMAnalysis LLVMipa LLVMDataStructure \
LLVMScalarOpts.a LLVMTransforms.a LLVMTarget.a LLVMScalarOpts.a \
LLVMTransformUtils.a LLVMCore LLVMSupport.a LLVMSystem.a

TOOLLINKOPTS = $(PLATFORMLIBDL)

Expand Down
9 changes: 5 additions & 4 deletions tools/bugpoint/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ LEVEL = ../..

TOOLNAME = bugpoint

OPTLIBS = transforms instrument profpaths
ANALIBS = datastructure ipa target.a
OPTLIBS = LLVMTransforms LLVMInstrumentation LLVMProfilePaths
ANALIBS = LLVMDataStructure LLVMipa LLVMTarget.a

USEDLIBS = ipo scalaropts analysis $(OPTLIBS) $(ANALIBS) transformutils \
asmparser bcreader bcwriter vmcore support LLVMsystem.a
USEDLIBS = LLVMipo LLVMScalarOpts LLVMAnalysis $(OPTLIBS) $(ANALIBS) \
LLVMTransformUtils LLVMAsmParser LLVMBCReader LLVMBCWriter LLVMCore \
LLVMSupport.a LLVMSystem.a

TOOLLINKOPTS = $(PLATFORMLIBDL)

Expand Down
5 changes: 3 additions & 2 deletions tools/extract/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
LEVEL = ../..

TOOLNAME = extract
USEDLIBS = bcreader bcwriter transforms.a ipo.a target.a analysis.a \
transformutils.a ipa.a vmcore support.a LLVMsystem.a
USEDLIBS = LLVMBCReader LLVMBCWriter LLVMTransforms.a LLVMipo.a LLVMTarget.a \
LLVMAnalysis.a LLVMTransformUtils.a LLVMipa.a LLVMCore LLVMSupport.a \
LLVMSystem.a

include $(LEVEL)/Makefile.common
5 changes: 3 additions & 2 deletions tools/gccas/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
LEVEL = ../..

TOOLNAME = gccas
USEDLIBS = asmparser bcwriter transforms ipo.a ipa.a scalaropts analysis.a \
target.a transformutils vmcore support.a LLVMsystem.a
USEDLIBS = LLVMAsmParser LLVMBCWriter LLVMTransforms LLVMipo.a LLVMipa.a \
LLVMScalarOpts LLVMAnalysis.a LLVMTarget.a LLVMTransformUtils \
LLVMCore LLVMSupport.a LLVMSystem.a

include $(LEVEL)/Makefile.common
5 changes: 3 additions & 2 deletions tools/gccld/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
LEVEL = ../..

TOOLNAME = gccld
USEDLIBS = ipo.a transforms.a scalaropts.a analysis.a ipa.a transformutils.a \
target.a bcreader bcwriter vmcore support.a LLVMsystem.a
USEDLIBS = LLVMipo.a LLVMTransforms.a LLVMScalarOpts.a LLVMAnalysis.a LLVMipa.a \
LLVMTransformUtils.a LLVMTarget.a LLVMBCReader LLVMBCWriter LLVMCore \
LLVMSupport.a LLVMSystem.a

include $(LEVEL)/Makefile.common
Loading

0 comments on commit 6cb21d4

Please sign in to comment.