024b16df11
AutoloadCallback: Implementing InterpreterCallbacks to attach the module to cling The main focus is on overriding LookupObject so that the information about lookup failures are obtained from clang. The type of the name is not taken into consideration for now. TagManager: To manage and lookup information from various sorts of tag files. Currently a TagManager object is owned by the callback system. This may change in future. Wrapper: As a base class for handling particular types of tagfiles. The TagManager maintains a container of Wrappers. CtagsFileWrapper: Implementing a wrapper for ctags. This class is responsible for generating a tagfile from a given path or list of files. It also performs lookups in the file generated by it. And a few simple file system utils to complement llvm::sys::fs and path utilities
32 lines
1.2 KiB
Makefile
32 lines
1.2 KiB
Makefile
##===- tools/driver/Makefile -------------------------------*- Makefile -*-===##
|
|
#
|
|
# The Cling Interpreter
|
|
#
|
|
# 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
|
|
|
|
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
|