mirror of
https://github.com/X11Libre/xf86-input-mouse.git
synced 2026-04-14 10:54:18 +00:00
configure.ac: replace DRIVER_NAME symbol by actual name
Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
@@ -87,9 +87,6 @@ case $host_os in
|
||||
esac
|
||||
AC_SUBST([OS_MOUSE_NAME])
|
||||
|
||||
DRIVER_NAME=mouse
|
||||
AC_SUBST([DRIVER_NAME])
|
||||
|
||||
AC_CONFIG_FILES([Makefile
|
||||
xorg-mouse.pc
|
||||
include/Makefile
|
||||
|
||||
@@ -26,15 +26,15 @@ AM_CPPFLAGS = -I$(top_srcdir)/include $(XORG_CFLAGS)
|
||||
# -avoid-version prevents gratuitous .0.0.0 version numbers on the end
|
||||
# _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@
|
||||
mouse_drv_la_LTLIBRARIES = mouse_drv.la
|
||||
mouse_drv_la_LDFLAGS = -module -avoid-version
|
||||
mouse_drv_ladir = @inputdir@
|
||||
|
||||
# We have to list all the mouse drivers here, even if we don't build them, so
|
||||
# they get included in distcheck.
|
||||
OS_SRCS = bsd_mouse.c hurd_mouse.c lnx_mouse.c sun_mouse.c
|
||||
|
||||
@DRIVER_NAME@_drv_la_SOURCES = \
|
||||
mouse_drv_la_SOURCES = \
|
||||
mouse.c \
|
||||
mouse.h \
|
||||
pnp.c \
|
||||
@@ -48,5 +48,5 @@ ALL_LINT_FLAGS=$(LINT_FLAGS) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) \
|
||||
$(AM_CPPFLAGS) $(CPPFLAGS)
|
||||
|
||||
lint:
|
||||
$(LINT) $(ALL_LINT_FLAGS) $(@DRIVER_NAME@_drv_la_SOURCES)
|
||||
$(LINT) $(ALL_LINT_FLAGS) $(mouse_drv_la_SOURCES)
|
||||
endif LINT
|
||||
|
||||
Reference in New Issue
Block a user