From 91672632868a56cb229d3311f7a2b5c86eadbcec Mon Sep 17 00:00:00 2001 From: Michael Stapelberg Date: Wed, 11 Mar 2009 22:17:00 +0100 Subject: Initial import of i3lock 0.9 --- config.mk | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 config.mk (limited to 'config.mk') diff --git a/config.mk b/config.mk new file mode 100644 index 0000000..db48b6f --- /dev/null +++ b/config.mk @@ -0,0 +1,26 @@ +# slock version +VERSION = 0.9 + +# Customize below to fit your system + +# paths +PREFIX = /usr + +X11INC = /usr/X11R6/include +X11LIB = /usr/X11R6/lib + +# includes and libs +INCS = -I. -I/usr/include -I${X11INC} +LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 -lXext + +# flags +CPPFLAGS = -DVERSION=\"${VERSION}\" -DHAVE_SHADOW_H +CFLAGS = -std=c99 -pedantic -Wall -Os ${INCS} ${CPPFLAGS} +LDFLAGS = -s ${LIBS} + +# On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS and add -DHAVE_BSD_AUTH +# On OpenBSD and Darwin remove -lcrypt from LIBS + +# compiler and linker +CC = cc +INSTALL=install -- cgit v1.1