Added "clicked" signal to event box widget.
[luakit.git] / config.mk
blob908bde7719ae9e449584b223f59e5913679a3527
1 # Get the current version which is either a nearby git tag or a short-hash
2 # of the current commit.
3 VERSION ?= $(shell ./build-utils/getversion.sh)
5 # Paths
6 PREFIX ?= /usr
7 INSTALLDIR ?= ${DESTDIR}${PREFIX}
8 MANPREFIX ?= ${PREFIX}/share/man
9 DOCDIR ?= ${PREFIX}/share/luakit/docs
11 # Generate includes and libs
12 PKGS := gtk+-2.0 gthread-2.0 webkit-1.0 lua libxdg-basedir
13 INCS := $(shell pkg-config --cflags ${PKGS}) -I./
14 LIBS := $(shell pkg-config --libs ${PKGS})
16 # Add flags
17 CPPFLAGS := -DVERSION=\"${VERSION}\" -DDEBUG_MESSAGES ${CPPFLAGS}
18 CFLAGS := -std=c99 -ggdb -W -Wall -Wextra ${INCS} ${CFLAGS}
19 LDFLAGS := ${LIBS} ${LDFLAGS}
21 # Building on OSX
22 #CFLAGS += -lgthread-2.0
23 #LDFLAGS += -pthread
25 # Building on FreeBSD (or just use gmake)
26 #VERSION != echo `./build-utils/getversion.sh`
27 #INCS != echo -I. -I/usr/include `pkg-config --cflags ${PKGS}`
28 #LIBS != echo -L/usr/lib `pkg-config --libs ${PKGS}`
30 # Custom compiler / linker
31 #CC = clang