webext: Process full messages
[surf.git] / config.mk
blob2eb9fb031b9eaec9efc0b12065e51314e112e9c5
1 # surf version
2 VERSION = 2.1
4 # Customize below to fit your system
6 # paths
7 PREFIX = /usr/local
8 MANPREFIX = $(PREFIX)/share/man
9 LIBPREFIX = $(PREFIX)/lib
10 LIBDIR = $(LIBPREFIX)/surf
12 X11INC = `pkg-config --cflags x11`
13 X11LIB = `pkg-config --libs x11`
15 GTKINC = `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0`
16 GTKLIB = `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.0`
17 WEBEXTINC = `pkg-config --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0`
18 WEBEXTLIBS = `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0 gio-2.0`
20 # includes and libs
21 INCS = $(X11INC) $(GTKINC)
22 LIBS = $(X11LIB) $(GTKLIB) -lgthread-2.0
24 # flags
25 CPPFLAGS = -DVERSION=\"$(VERSION)\" -DGCR_API_SUBJECT_TO_CHANGE \
26 -DLIBPREFIX=\"$(LIBPREFIX)\" -DWEBEXTDIR=\"$(LIBDIR)\" \
27 -D_DEFAULT_SOURCE
28 SURFCFLAGS = -fPIC $(INCS) $(CPPFLAGS)
29 WEBEXTCFLAGS = -fPIC $(WEBEXTINC)
31 # compiler
32 #CC = c99