summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorQuentin Rameau <quinq@fifth.space>2016-09-08 19:03:12 +0200
committerMarkus Teich <markus.teich@stusta.mhn.de>2016-09-08 23:36:07 +0200
commitcd3c546c37d91e24b8c55bab88bfcb920d8ea895 (patch)
tree6348a68942fd7547f257f64113457b678afdc07a
parent22eba05f3683c12fa6a5f898d08c33704c9fbb73 (diff)
downloadslock-cd3c546c37d91e24b8c55bab88bfcb920d8ea895.tar.gz
config.mk: be more explicative about FLAGS
Group each *FLAG with its description and add a NetBSD specific.
-rw-r--r--config.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/config.mk b/config.mk
index 11357a7..199bf7f 100644
--- a/config.mk
+++ b/config.mk
@@ -20,10 +20,12 @@ CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS}
LDFLAGS = -s ${LIBS}
COMPATSRC = explicit_bzero.c
-# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
# On OpenBSD and Darwin remove -lcrypt from LIBS
#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 =
# compiler and linker