2020-08-02 13:46:19 +00:00
|
|
|
LAYOUT = mobile-intl
|
2008-07-15 16:53:38 +00:00
|
|
|
|
|
|
|
# paths
|
2020-05-29 12:24:17 +00:00
|
|
|
PREFIX = /usr/local
|
2008-07-15 16:53:38 +00:00
|
|
|
MANPREFIX = ${PREFIX}/share/man
|
|
|
|
|
|
|
|
X11INC = /usr/X11R6/include
|
|
|
|
X11LIB = /usr/X11R6/lib
|
|
|
|
|
2020-08-02 16:23:30 +00:00
|
|
|
PKG_CONFIG = pkg-config
|
|
|
|
|
2020-08-02 13:46:12 +00:00
|
|
|
# Xinerama, comment if you don't want it
|
|
|
|
XINERAMALIBS = -L${X11LIB} -lXinerama
|
|
|
|
XINERAMAFLAGS = -DXINERAMA
|
|
|
|
|
2008-07-15 16:53:38 +00:00
|
|
|
# includes and libs
|
2020-08-02 16:23:30 +00:00
|
|
|
INCS = -I. -I./layouts -I${X11INC} \
|
|
|
|
`$(PKG_CONFIG) --cflags fontconfig` \
|
|
|
|
`$(PKG_CONFIG) --cflags freetype2`
|
|
|
|
LIBS = -L${X11LIB} -lX11 -lXtst -lXft ${XINERAMALIBS} \
|
|
|
|
`$(PKG_CONFIG) --libs fontconfig` \
|
|
|
|
`$(PKG_CONFIG) --libs freetype2`
|
2011-03-24 18:31:00 +00:00
|
|
|
|
2020-05-29 12:24:17 +00:00
|
|
|
# use system flags
|
2020-08-02 16:23:30 +00:00
|
|
|
SVKBD_CFLAGS = ${CFLAGS} ${INCS}
|
2020-05-29 12:24:17 +00:00
|
|
|
SVKBD_LDFLAGS = ${LDFLAGS} ${LIBS}
|
2020-09-18 10:59:17 +00:00
|
|
|
SVKBD_CPPFLAGS = ${CPPFLAGS} -D_DEFAULT_SOURCE -DVERSION=\"VERSION\" ${XINERAMAFLAGS} -DLAYOUT=\"layout.${LAYOUT}.h\"
|