diff options
author | Mattias Andrée <maandree@operamail.com> | 2014-03-12 08:39:58 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2014-03-12 08:39:58 +0100 |
commit | 5c7ff4e266519fba19aeb521cc95934e5d74455a (patch) | |
tree | 775f844b255f1e7d22b72905314384c7cfb84cff /Makefile | |
parent | update todo: working on display server-free support in the drm branch (diff) | |
parent | cause of set gamma failure determined (diff) | |
download | blueshift-5c7ff4e266519fba19aeb521cc95934e5d74455a.tar.gz blueshift-5c7ff4e266519fba19aeb521cc95934e5d74455a.tar.bz2 blueshift-5c7ff4e266519fba19aeb521cc95934e5d74455a.tar.xz |
Merge branch 'drm'
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
@@ -39,7 +39,7 @@ PKGNAME ?= blueshift # Bindings for display server access SERVER_BINDINGS ?= randr vidmode # Executable bindings for display server access -EXECS ?= idcrtc iccprofile +EXECS ?= idcrtc iccprofile drm # Executable library files EXECLIBS = $(foreach E,$(EXECS),blueshift_$(E)) @@ -55,6 +55,7 @@ LIBS_idcrtc = xcb-randr LIBS_iccprofile = xcb LIBS_randr = xcb-randr LIBS_vidmode = x11 xxf86vm +LIBS_drm = libdrm LIBS = python3 $(foreach B,$(SERVER_BINDINGS) $(EXECS),$(LIBS_$(B))) FLAGS = $$($(PKGCONFIG) --cflags $(LIBS)) -std=$(STD) $(WARN) $(OPTIMISE) -fPIC $(CFLAGS) $(LDFLAGS) $(CPPFLAGS) @@ -94,6 +95,11 @@ bin/blueshift_iccprofile: obj/blueshift_iccprofile.o @mkdir -p bin $(CC) $(FLAGS) $$($(PKGCONFIG) --libs $($(LIBS_))) -o $@ $^ +bin/blueshift_drm: LIBS_=LIBS_drm +bin/blueshift_drm: obj/blueshift_drm_c.o + @mkdir -p bin + $(CC) $(FLAGS) $$($(PKGCONFIG) --libs $($(LIBS_))) -o $@ $^ + bin/blueshift_randr.so: LIBS_=LIBS_randr bin/blueshift_vidmode.so: LIBS_=LIBS_vidmode bin/%.so: obj/%.o obj/%_c.o |