birdwl

birdwl - mrgrouse's fork of djpohly's dwl with patches, fork not currently maintained.
Log | Files | Refs | README | LICENSE

config.mk (1378B)


      1 _VERSION = 0.8-dev
      2 VERSION  = `git describe --tags --dirty 2>/dev/null || echo $(_VERSION)`
      3 
      4 PKG_CONFIG = pkg-config
      5 
      6 # paths
      7 PREFIX = /usr/local
      8 MANDIR = $(PREFIX)/share/man
      9 DATADIR = $(PREFIX)/share
     10 
     11 WLR_INCS = `$(PKG_CONFIG) --cflags wlroots-0.19`
     12 WLR_LIBS = `$(PKG_CONFIG) --libs wlroots-0.19`
     13 
     14 # Allow using an alternative wlroots installations
     15 # This has to have all the includes required by wlroots, e.g:
     16 # Assuming wlroots git repo is "${PWD}/wlroots" and you only ran "meson setup build && ninja -C build"
     17 #WLR_INCS = -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/libdrm \
     18 #	-I$(PWD)/wlroots/include
     19 # Set -rpath to avoid using the wrong library.
     20 #WLR_LIBS = -Wl,-rpath,$(PWD)/wlroots/build -L$(PWD)/wlroots/build -lwlroots-0.19
     21 
     22 # Assuming you ran "meson setup --prefix ${PWD}/0.19 build && ninja -C build install"
     23 #WLR_INCS = -I/usr/include/pixman-1 -I/usr/include/elogind -I/usr/include/libdrm \
     24 #	-I$(PWD)/wlroots/0.19/include/wlroots-0.19
     25 #WLR_LIBS = -Wl,-rpath,$(PWD)/wlroots/0.19/lib64 -L$(PWD)/wlroots/0.19/lib64 -lwlroots-0.19
     26 
     27 XWAYLAND =
     28 XLIBS =
     29 # Uncomment to build XWayland support
     30 #XWAYLAND = -DXWAYLAND
     31 #XLIBS = xcb xcb-icccm
     32 
     33 # dwl itself only uses C99 features, but wlroots' headers use anonymous unions (C11).
     34 # To avoid warnings about them, we do not use -std=c99 and instead of using the
     35 # gmake default 'CC=c99', we use cc.
     36 CC = tcc