Proj
Reference
root dir Makefile
- Variables
- PROJECT_NAME
- LLVM_SRC_ROOT
- LLVM_OBJ_ROOT
- PROJ_SRC_ROOT
- PROJ_OBJ_ROOT
- PROJ_INSTALL_ROOT
- LEVEL
- include Makefile.config from $(LLVM_OBJ_ROOT)
- include Makefile.rules from $(LLVM_SRC_ROOT)
- two ways to set all these variables
- write your own Makefiles
- pre-made LLVM sample project
Source Tree Layout
- lib/
- include/
- tools/
- test/
Variables in subdir Makefile
- LEVEL
- DIRS
- PARALLEL_DIRS
- OPTIONAL_DIRS
Variables for Building Libraries (lib/)
- LIBRARYNAME
- BUILD_ARCHIVE
- SHARED_LIBRARY
Variables for Building Programs (tool/)
- TOOLNAME
- USEDLIBS
- LLVMLIBS
- LINK_COMPONENTS
- LIBS
Miscellaneous Variables
If you could revise
the fundmental principles of
computer system design
to improve security...
... what would you change?