svkbd

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/svkbd
Log | Files | Refs | README | LICENSE

config.mk (896B)


      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 PIXMANINC = /usr/include/pixman-1
     13 SWCPROTO = /usr/share/swc/swc.xml
     14 IMPROTO = protocol/input-method-unstable-v2.xml
     15 TIPROTO = /usr/share/wayland-protocols/unstable/text-input/text-input-unstable-v3.xml
     16 
     17 # includes and libs
     18 INCS = -I. -I./layouts -I${X11INC} \
     19 	`$(PKG_CONFIG) --cflags fontconfig` \
     20 	`$(PKG_CONFIG) --cflags freetype2` \
     21 	`$(PKG_CONFIG) --cflags pixman-1`
     22 LIBS = -L${X11LIB} -lX11 -lwayland-client -lxkbcommon -lwld -lswc \
     23 	`$(PKG_CONFIG) --libs fontconfig` \
     24 	`$(PKG_CONFIG) --libs freetype2` \
     25 	`$(PKG_CONFIG) --libs pixman-1`
     26 
     27 # use system flags
     28 SVKBD_CFLAGS = ${CFLAGS} ${INCS}
     29 SVKBD_LDFLAGS = ${LDFLAGS} ${LIBS}
     30 SVKBD_CPPFLAGS = ${CPPFLAGS} -D_DEFAULT_SOURCE -DVERSION=\"VERSION\" -DLAYOUT=\"layout.${LAYOUT}.h\"