cling/tools/driver/Makefile

32 lines
1.2 KiB
Makefile
Raw Normal View History

##===- tools/driver/Makefile -------------------------------*- Makefile -*-===##
#
2014-01-07 09:55:59 +01:00
# The Cling Interpreter
#
2014-01-07 09:55:59 +01:00
# This file is dual-licensed: you can choose to license it under the University
# of Illinois Open Source License or the GNU Lesser General Public License. See
# LICENSE.TXT for details.
#
##===----------------------------------------------------------------------===##
LEVEL = ../../../..
CLING_LEVEL := ../..
TOOLNAME = cling
CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include \
-I$(PROJ_SRC_DIR)/../../../clang/include -I$(PROJ_SRC_DIR)/../../../clang/lib \
-I$(PROJ_OBJ_DIR)/../../../clang/include
CXXFLAGS = -fno-rtti
# Keep symbols for JIT resolution
NO_DEAD_STRIP := 1
2014-03-28 16:45:34 +01:00
LINK_COMPONENTS := bitwriter jit native option ipo instrumentation objcarcopts
USEDLIBS = clingUserInterface.a clingMetaProcessor.a clingTagsExtension.a clingInterpreter.a clingUITextInput.a clingUtils.a clangFrontend.a clangSerialization.a clangDriver.a clangCodeGen.a clangParse.a clangSema.a clangEdit.a clangAnalysis.a clangAST.a clangLex.a clangBasic.a
include $(LEVEL)/Makefile.common
ifeq ($(TARGET_OS),Cygwin)
# cygwin, export all symbols
LDFLAGS += -Wl,--export-all-symbols
endif