Krolyxon
Commit 216f312

Branches

Refs →

nsxivconfig.mk

36 lines · 1.0 KB · Makefile

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