slock

My build of the suckless screen locker.
git clone git://git.alex.balgavy.eu/slock.git
Log | Files | Refs | README | LICENSE

config.mk (878B)


      1 # slock version
      2 VERSION = 1.5
      3 
      4 # Customize below to fit your system
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANPREFIX = ${PREFIX}/share/man
      9 
     10 X11INC = /usr/X11R6/include
     11 X11LIB = /usr/X11R6/lib
     12 
     13 # includes and libs
     14 INCS = -I. -I/usr/include -I${X11INC} -I/usr/include/freetype2
     15 LIBS = -L/usr/lib -lc -lcrypt -L${X11LIB} -lX11 -lXext -lXrandr -lXinerama -lImlib2 -lXinerama
     16 
     17 # flags
     18 CPPFLAGS = -DVERSION=\"${VERSION}\" -D_DEFAULT_SOURCE -DHAVE_SHADOW_H -DXINERAMA
     19 CFLAGS = -std=c99 -pedantic -Wall -Ofast ${INCS} ${CPPFLAGS}
     20 LDFLAGS = -s ${LIBS}
     21 COMPATSRC = explicit_bzero.c
     22 
     23 # On OpenBSD and Darwin remove -lcrypt from LIBS
     24 #LIBS = -L/usr/lib -lc -L${X11LIB} -lX11 -lXext -lXrandr
     25 # On *BSD remove -DHAVE_SHADOW_H from CPPFLAGS
     26 # On NetBSD add -D_NETBSD_SOURCE to CPPFLAGS
     27 #CPPFLAGS = -DVERSION=\"${VERSION}\" -D_BSD_SOURCE -D_NETBSD_SOURCE
     28 # On OpenBSD set COMPATSRC to empty
     29 #COMPATSRC =