-
Notifications
You must be signed in to change notification settings - Fork 0
/
Make.config
85 lines (59 loc) · 1.94 KB
/
Make.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
#
# User defined Makefile options for graphlcd daemon and tools
### The C compiler and options:
CC ?= gcc
CFLAGS ?= -O2
CXX ?= g++
CXXFLAGS ?= -g -O2 -Wall -Woverloaded-virtual
#CXXFLAGS ?= -g -ggdb -O0 -Wall -Woverloaded-virtual
CXXFLAGS += -MMD -MP
# CXX set to clang++: force clang
ifeq ($(CXX),clang++)
CXX = clang
endif
# set CXXEXTRA according to compiler that is used
ifeq ($(CXX),clang)
CXXEXTRA = -x c++ -Qunused-arguments
else
CXXEXTRA =
endif
#LDFLAGS ?= -g -ggdb -O0
LDCONFIG = ldconfig
### The directory environment:
DESTDIR ?=
PREFIX ?= /usr/local
BINDIR ?= $(PREFIX)/bin
LIBDIR ?= $(PREFIX)/lib
INCDIR ?= $(PREFIX)/include
MANDIR ?= $(PREFIX)/share/man
UDEVRULESDIR ?= /etc/udev/rules.d
SYSCONFDIR ?= /etc
### Includes and defines
#INCLUDES += -I
DEFINES += -D_GNU_SOURCE
# define HAVE_DEBUG when invoking "make" if you want to use debugging
ifdef HAVE_DEBUG
DEFINES += -DHAVE_DEBUG
endif
#
#
# Build & install configuration
# comment this variable out if you don't want to use FreeType2 font rendering
HAVE_FREETYPE2=1
# comment this variable out if you don't want to use fontconfig font names
HAVE_FONTCONFIG=1
# comment this variable out if you want binaries to be stripped when installing (for production-level binaries or packages)
#HAVE_STRIP = -s
# uncomment one of the following two lines if you want either GraphicsMagick/ImageMagick support
#HAVE_IMAGEMAGICK=1
#HAVE_GRAPHICSMAGICK=1
# comment this variable or set to 0 if you do not want to build the vncserver driver, even if requirements (libvncserver) are fullfilled on the system
HAVE_DRIVER_VNCSERVER=1
### Experimental drivers
# uncomment this variable if you want to enable the experimental AX 206 based digital photo frame driver
# Read DRIVER.ax206dpf before use!
#HAVE_DRIVER_AX206DPF=1
# uncomment this variable if you want to enable the experimental support for picoLCD 256x64
#HAVE_DRIVER_picoLCD_256x64=1
#HAVE_DRIVER_SSD1306=1
#HAVE_DRIVER_ILI9341=1