4 # Customize below to fit your system
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`
21 INCS
= $(X11INC
) $(GTKINC
)
22 LIBS
= $(X11LIB
) $(GTKLIB
) -lgthread-2.0
25 CPPFLAGS
= -DVERSION
=\"$(VERSION
)\" -DGCR_API_SUBJECT_TO_CHANGE \
26 -DLIBPREFIX
=\"$(LIBPREFIX
)\" -DWEBEXTDIR
=\"$(LIBDIR
)\" \
28 SURFCFLAGS
= -fPIC
$(INCS
) $(CPPFLAGS
)
29 WEBEXTCFLAGS
= -fPIC
$(WEBEXTINC
)