surf

surf browser, a WebKit2GTK based browser
Log | Files | Refs | README | LICENSE

config.mk (1065B)


      1 # surf version
      2 VERSION = 2.0
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = $(PREFIX)/share/man
      9 LIBPREFIX = $(PREFIX)/lib/surf
     10 
     11 X11INC = /usr/X11R6/include
     12 X11LIB = /usr/X11R6/lib
     13 
     14 GTKINC = `pkg-config --cflags gtk+-3.0 gcr-3 webkit2gtk-4.0`
     15 GTKLIB = `pkg-config --libs gtk+-3.0 gcr-3 webkit2gtk-4.0`
     16 WEBEXTINC = `pkg-config --cflags webkit2gtk-4.0 webkit2gtk-web-extension-4.0`
     17 WEBEXTLIB = `pkg-config --libs webkit2gtk-4.0 webkit2gtk-web-extension-4.0`
     18 
     19 # includes and libs
     20 INCS = -I$(X11INC) $(GTKINC)
     21 LIBS = -L$(X11LIB) -lX11 $(GTKLIB) -lgthread-2.0
     22 
     23 # flags
     24 CPPFLAGS = -DVERSION=\"$(VERSION)\" -DWEBEXTDIR=\"$(LIBPREFIX)\" \
     25            -D_DEFAULT_SOURCE -DGCR_API_SUBJECT_TO_CHANGE
     26 SURF_CFLAGS = $(INCS) $(CPPFLAGS) $(CFLAGS)
     27 SURF_LDFLAGS = $(LIBS) $(LDFLAGS)
     28 LIBCPPFLAGS = -DWEBEXTDIR=\"$(LIBPREFIX)\"
     29 LIBCFLAGS = $(WEBEXTINC) $(LIBCPPFLAGS) $(CFLAGS)
     30 LIBLDFLAGS = $(WEBEXTLIB) $(LDFLAGS)
     31 
     32 # Solaris
     33 #CFLAGS = -fast $(INCS) -DVERSION=\"$(VERSION)\"
     34 #LDFLAGS = $(LIBS)
     35 
     36 # compiler and linker
     37 #CC = c99
     38 LIBTOOL = libtool --quiet