summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2014-03-12 20:32:23 +0100
committerMattias Andrée <maandree@operamail.com>2014-03-12 20:32:23 +0100
commit782093450b535c9957521fe40641e3de3619254c (patch)
tree9c23e54d9882beee5ec816150edfffe0919fc0a5 /Makefile
parentconnect to multiple connectors concurrently (diff)
downloadblueshift-782093450b535c9957521fe40641e3de3619254c.tar.gz
blueshift-782093450b535c9957521fe40641e3de3619254c.tar.bz2
blueshift-782093450b535c9957521fe40641e3de3619254c.tar.xz
m + cython side of drm
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile14
1 files changed, 5 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index bdc5bdd..9d3f78a 100644
--- a/Makefile
+++ b/Makefile
@@ -37,9 +37,9 @@ COMMAND ?= blueshift
PKGNAME ?= blueshift
# Bindings for display server access
-SERVER_BINDINGS ?= randr vidmode
+SERVER_BINDINGS ?= randr vidmode drm
# Executable bindings for display server access
-EXECS ?= idcrtc iccprofile drm
+EXECS ?= idcrtc iccprofile
# Executable library files
EXECLIBS = $(foreach E,$(EXECS),blueshift_$(E))
@@ -62,7 +62,7 @@ FLAGS = $$($(PKGCONFIG) --cflags $(LIBS)) -std=$(STD) $(WARN) $(OPTIMISE) -fPIC
# Resource files
DATAFILES = 2deg 10deg redshift redshift_old
# Python source files
-PYFILES = __main__.py colour.py curve.py monitor.py solar.py icc.py adhoc.py
+PYFILES = __main__.py colour.py curve.py monitor.py solar.py icc.py adhoc.py backlight.py
# Library files
CBINDINGS = $(foreach B,$(SERVER_BINDINGS),blueshift_$(B).so)
# Configuration script example files
@@ -95,11 +95,7 @@ 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_drm.so: LIBS_=LIBS_drm
bin/blueshift_randr.so: LIBS_=LIBS_randr
bin/blueshift_vidmode.so: LIBS_=LIBS_vidmode
bin/%.so: obj/%.o obj/%_c.o
@@ -325,5 +321,5 @@ uninstall:
.PHONY: all
clean:
- -rm -r bin obj src/blueshift_randr.c src/blueshift_vidmode.c blueshift.{info,pdf,ps,dvi}
+ -rm -r bin obj src/blueshift_{randr,vidmode,drm}.c blueshift.{info,pdf,ps,dvi}