surf

Simple Web browser based on WebKit/GTK+
git clone git://git.janpasierb.com/surf.git
Log | Files | Refs | README | LICENSE

config.mk (898B)


      1 # surf version
      2 VERSION = 2.1
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = $(PREFIX)/share/man
      9 LIBPREFIX = $(PREFIX)/lib
     10 LIBDIR = $(LIBPREFIX)/surf
     11 
     12 X11INC = `pkg-config --cflags x11`
     13 X11LIB = `pkg-config --libs x11`
     14 
     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`
     19 
     20 # includes and libs
     21 INCS = $(X11INC) $(GTKINC)
     22 LIBS = $(X11LIB) $(GTKLIB) -lgthread-2.0
     23 
     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)
     30 
     31 # compiler
     32 #CC = c99