Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
898 B

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