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