svkbd

simple virtual keyboard
git clone git://git.suckless.org/svkbd
Log | Files | Refs | README | LICENSE

config.mk (736B)


      1 LAYOUT = mobile-intl
      2 
      3 # paths
      4 PREFIX = /usr/local
      5 MANPREFIX = ${PREFIX}/share/man
      6 
      7 X11INC = /usr/X11R6/include
      8 X11LIB = /usr/X11R6/lib
      9 
     10 PKG_CONFIG = pkg-config
     11 
     12 # Xinerama, comment if you don't want it
     13 XINERAMALIBS = -L${X11LIB} -lXinerama
     14 XINERAMAFLAGS = -DXINERAMA
     15 
     16 # includes and libs
     17 INCS = -I. -I./layouts -I${X11INC} \
     18 	`$(PKG_CONFIG) --cflags fontconfig` \
     19 	`$(PKG_CONFIG) --cflags freetype2`
     20 LIBS = -L${X11LIB} -lX11 -lXtst -lXft ${XINERAMALIBS} \
     21 	`$(PKG_CONFIG) --libs fontconfig` \
     22 	`$(PKG_CONFIG) --libs freetype2`
     23 
     24 # use system flags
     25 SVKBD_CFLAGS = ${CFLAGS} ${INCS}
     26 SVKBD_LDFLAGS = ${LDFLAGS} ${LIBS}
     27 SVKBD_CPPFLAGS = ${CPPFLAGS} -D_DEFAULT_SOURCE -DVERSION=\"${VERSION}\" ${XINERAMAFLAGS} -DLAYOUT=\"layout.${LAYOUT}.h\"