aboutsummaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorHenrik Rydberg <rydberg@euromail.se>2010-10-12 15:38:43 +0200
committerHenrik Rydberg <rydberg@euromail.se>2010-10-12 15:38:43 +0200
commitacea9df3381825a634c000a574f58b4ca5293ee8 (patch)
tree3698bd55f137bc377f1b840e4fb5bf9e446e7250 /Makefile
parent7380af2c93dc83f4f09e293717d46eadf7799e89 (diff)
downloadxorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.tar.gz
xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.tar.bz2
xorg-input-kobomultitouch-acea9df3381825a634c000a574f58b4ca5293ee8.zip
Same version, but using the mtdev library.
Signed-off-by: Henrik Rydberg <rydberg@euromail.se>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile15
1 files changed, 4 insertions, 11 deletions
diff --git a/Makefile b/Makefile
index b8697a2..81eec08 100644
--- a/Makefile
+++ b/Makefile
@@ -4,20 +4,13 @@ EXTRAVERSION = beta1
LIBRARY = multitouch.so
FDIS = 11-multitouch.fdi
-MODULES = match mtdev src
+MODULES = src
XMODULES = driver
-o_match = match
-
-o_mtdev = iobuf caps core
-
-o_src = hwstate mtstate memory mtouch gestures
+o_src = capabilities hwstate mtstate memory mtouch gestures
o_driver= multitouch
-TARGETS += match/test
-TARGETS += mtdev/mapgen
-TARGETS += mtdev/test
TARGETS += src/test
OBJECTS = $(addsuffix .o,\
@@ -33,7 +26,7 @@ TOBJ = $(addprefix obj/,$(addsuffix .o,$(TARGETS)))
TFDI = $(addprefix fdi/,$(FDIS))
OBJS = $(addprefix obj/,$(OBJECTS))
XOBJS = $(addprefix obj/,$(XOBJECTS))
-LIBS = -lm
+LIBS = -lmtdev -lm
DLIB = usr/lib/xorg/modules/input
DFDI = usr/share/hal/fdi/policy/20thirdparty
@@ -52,7 +45,7 @@ bin/%: obj/%.o $(OBJS)
$(TLIB): $(OBJS) $(XOBJS)
@rm -f $(TLIB)
- gcc -shared $(OBJS) $(XOBJS) -Wl,-soname -Wl,$(LIBRARY) -o $@
+ gcc -shared $(OBJS) $(XOBJS) $(LIBS) -Wl,-soname -Wl,$(LIBRARY) -o $@
obj/%.o: %.c
@mkdir -p $(@D)