blob: 8f54fc64edc4b4797045a50a8f5e09ea5c810b96 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
# LDFLAGS:
# -module free module name specification
# -avoid-version omit module version in file name
# Driver name
DEFS += -DDRIVER_NAME=@DRIVER_NAME@
# Uncomment for debug messages compilation
# Set your required debug level:
# 0: driver init/finalize, pointer on/off etc
# 1: button events
# 2: motion/proximity events
# 3: driver protocol
# 4: packet dump, transforms, side-btns resolving etc
# 5: functions entry/return
#DEFS += -DDEBUG -DDEBUG_LEVEL=3
#
# _ladir passes a dummy rpath to libtool so the thing will actually link
# TODO: -nostdlib/-Bstatic/-lgcc platform magic, not installing the .a, etc.
@DRIVER_NAME@_drv_la_LTLIBRARIES = @DRIVER_NAME@_drv.la
@DRIVER_NAME@_drv_la_LDFLAGS = -module -avoid-version
@DRIVER_NAME@_drv_ladir = @inputdir@
@DRIVER_NAME@_drv_la_SOURCES = @DRIVER_NAME@.c @DRIVER_NAME@.h
|