| 1 | # -------------------------------------------------------------------------------- -*-Mode: Makefile;-*- (emacs) |
|---|
| 2 | # config.makefile = configuration used to build arb (EDIT THAT FILE) |
|---|
| 3 | # config.makefile.template = default for config.makefile |
|---|
| 4 | # -------------------------------------------------------------------------------- |
|---|
| 5 | |
|---|
| 6 | # Enter your name (upper case, no spaces) here, to enable '#ifdef DEVEL_YOURNAME #endif' sections |
|---|
| 7 | # (Release version uses 'RELEASE') |
|---|
| 8 | DEVELOPER := ANY |
|---|
| 9 | |
|---|
| 10 | # feature toggles: |
|---|
| 11 | OPENGL := 0# Include features using OPENGL? |
|---|
| 12 | # ISINA := 1# Build included SINA version 1.7.2 (patched)? Default: 0 for OSX, 1 for Linux with gcc>=7 |
|---|
| 13 | |
|---|
| 14 | # -------------------------------------------------------------------------------- |
|---|
| 15 | # developer section (everybody else should use defaults) |
|---|
| 16 | |
|---|
| 17 | DEBUG := 0# build with debug information |
|---|
| 18 | |
|---|
| 19 | UNIT_TESTS := 0# include and perform unit tests |
|---|
| 20 | COVERAGE := 0# gcov support (0=off(=default),1=on,2=on but hidden) |
|---|
| 21 | |
|---|
| 22 | #SANITIZE := all# build with Sanitizer? (defaults to 0; see Makefile for details) |
|---|
| 23 | #IGNORE_LEAKS := 1# ignore found leaks (defaults to 0; applies only to SANITIZE=1/all) |
|---|
| 24 | #SHOWTODO := 0# show todos? (defaults to 0, depends on DEVELOPER) |
|---|
| 25 | |
|---|
| 26 | # better do not change the following settings: |
|---|
| 27 | STABS := 0# force stabs format? (not recommended; affects SANITIZE stackdump locations) |
|---|
| 28 | TRACESYM := 1# insert symbols for meaningful backtraces into executables |
|---|
| 29 | DEBUG_GRAPHICS := 0# force instant graphic update |
|---|
| 30 | ARB_64 := 1# compile 64bit ARB version (32bit version no longer supported) |
|---|
| 31 | |
|---|
| 32 | # -------------------------------------------------------------------------------- |
|---|
| 33 | # target machine section |
|---|
| 34 | # [Note: Uncomment one section, depending on your machine type and compiler options] |
|---|
| 35 | |
|---|
| 36 | # ------------ |
|---|
| 37 | # Section: Linux |
|---|
| 38 | |
|---|
| 39 | MACH := LINUX |
|---|
| 40 | LINUX := 1 |
|---|
| 41 | |
|---|
| 42 | # DEBIAN := 1# used by maintainer only |
|---|
| 43 | |
|---|
| 44 | # ------------ |
|---|
| 45 | # Section: Mac OSX |
|---|
| 46 | |
|---|
| 47 | # MACH := DARWIN |
|---|
| 48 | # DARWIN := 1 |
|---|
| 49 | |
|---|
| 50 | # ------------ |
|---|