| 1 | # nsxiv version |
| 2 | VERSION = 29 |
| 3 | |
| 4 | # PREFIX for install |
| 5 | PREFIX = /usr/local |
| 6 | MANPREFIX = $(PREFIX)/share/man |
| 7 | EGPREFIX = $(PREFIX)/share/doc/nsxiv/examples |
| 8 | |
| 9 | # default value for optional dependencies. 1 = enabled, 0 = disabled |
| 10 | OPT_DEP_DEFAULT = 1 |
| 11 | |
| 12 | # autoreload backend: 1 = inotify, 0 = none |
| 13 | HAVE_INOTIFY = $(OPT_DEP_DEFAULT) |
| 14 | |
| 15 | # optional dependencies, see README for more info |
| 16 | HAVE_LIBFONTS = $(OPT_DEP_DEFAULT) |
| 17 | HAVE_LIBGIF = $(OPT_DEP_DEFAULT) |
| 18 | HAVE_LIBEXIF = $(OPT_DEP_DEFAULT) |
| 19 | HAVE_LIBWEBP = $(OPT_DEP_DEFAULT) |
| 20 | |
| 21 | # CFLAGS, any optimization flags goes here |
| 22 | CFLAGS = -std=c99 -Wall -pedantic |
| 23 | |
| 24 | # icons that will be installed via `make icon` |
| 25 | ICONS = 16x16.png 32x32.png 48x48.png 64x64.png 128x128.png |
| 26 | |
| 27 | # Uncomment on OpenBSD |
| 28 | # HAVE_INOTIFY = 0 |
| 29 | # lib_fonts_bsd_0 = |
| 30 | # lib_fonts_bsd_1 = -lfreetype |
| 31 | # inc_fonts_bsd_0 = |
| 32 | # inc_fonts_bsd_1 = -I/usr/X11R6/include/freetype2 |
| 33 | # LDLIBS = -lz -L/usr/local/lib -L/usr/X11R6/lib $(lib_fonts_bsd_$(HAVE_LIBFONTS)) |
| 34 | # INCLUDES = -I/usr/local/include -I/usr/X11R6/include $(inc_fonts_bsd_$(HAVE_LIBFONTS)) |