4 # Customize below to fit your system
8 MANPREFIX = ${PREFIX}/share/man
10 X11INC = /usr/X11R6/include
11 X11LIB = /usr/X11R6/lib
14 INCS = -I. -I/usr/include -I${X11INC}
15 LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 -lXext -lXrandr
18 CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H
19 CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
22 # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH
23 # On OpenBSD and Darwin remove -lcrypt from LIBS
28 # Install mode. On BSD systems MODE=2755 and GROUP=auth
29 # On others MODE=4755 and GROUP=root