summaryrefslogtreecommitdiff
path: root/configs/debian
blob: 2af0d1fc95fa337bfbc0ff66f696db483796c6f4 (plain)
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
include $(TOP)/configs/default

CONFIG_NAME = debian

CC = cc
CXX = c++

DEBIAN_COMMON_CPPFLAGS = -D_POSIX_SOURCE -D_POSIX_C_SOURCE=199309L -D_SVID_SOURCE -D_BSD_SOURCE -D_GNU_SOURCE -DUSE_XSHM -DPTHREADS `pkg-config --cflags x11 xext`

DEBIAN_COMMON_CFLAGS = -std=c99 -pedantic -Wall -fPIC -fno-strict-aliasing

DEBIAN_COMMON_CXXFLAGS = -ansi -pedantic -Wall -fPIC -fno-strict-aliasing

DEBIAN_OPT_CFLAGS = -O2

CFLAGS = $(DEBIAN_COMMON_CPPFLAGS) $(DEBIAN_COMMON_CFLAGS) $(DEBIAN_OPT_CFLAGS)
CXXFLAGS = $(DEBIAN_COMMON_CPPFLAGS) $(DEBIAN_COMMON_CXXFLAGS) $(DEBIAN_OPT_CFLAGS)

GLW_SOURCES += GLwMDrawA.c

GL_LIB_DEPS = `pkg-config --libs x11 xext` -lm -lpthread
GLW_LIB_DEPS = -L$(LIB_DIR) -l$(GL_LIB) `pkg-config --libs x11 xt` -lXm

DRI_DRIVER_INSTALL_DIR = /usr/lib/dri
DRI_DRIVER_SEARCH_DIR = $(DRI_DRIVER_INSTALL_DIR)