diff options
author | Michael Stapelberg <michael+x200@stapelberg.de> | 2009-03-11 22:17:00 +0100 |
---|---|---|
committer | Michael Stapelberg <michael+x200@stapelberg.de> | 2009-03-11 22:17:00 +0100 |
commit | 91672632868a56cb229d3311f7a2b5c86eadbcec (patch) | |
tree | b20ebddeeb2e0f40dc6878821066fc06ae9598de /config.mk |
Initial import of i3lock 0.9
Diffstat (limited to 'config.mk')
-rw-r--r-- | config.mk | 26 |
1 files changed, 26 insertions, 0 deletions
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 |