|
|
@ -20,10 +20,12 @@ CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} |
|
|
|
LDFLAGS = -s ${LIBS}
|
|
|
|
LDFLAGS = -s ${LIBS}
|
|
|
|
COMPATSRC = explicit_bzero.c
|
|
|
|
COMPATSRC = explicit_bzero.c
|
|
|
|
|
|
|
|
|
|
|
|
# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
|
|
|
|
|
|
|
|
# On OpenBSD and Darwin remove -lcrypt from LIBS
|
|
|
|
# On OpenBSD and Darwin remove -lcrypt from LIBS
|
|
|
|
#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXext -lXrandr
|
|
|
|
#LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXext -lXrandr
|
|
|
|
#CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE
|
|
|
|
# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
|
|
|
|
|
|
|
|
# On NetBSD add -D_NETBSD_SOURCE to CPPFLAGS
|
|
|
|
|
|
|
|
#CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_NETBSD_SOURCE
|
|
|
|
|
|
|
|
# On OpenBSD set COMPATSRC to empty
|
|
|
|
#COMPATSRC =
|
|
|
|
#COMPATSRC =
|
|
|
|
|
|
|
|
|
|
|
|
# compiler and linker
|
|
|
|
# compiler and linker
|
|
|
|