xserver-multidpi/hw/kdrive/fake/Makefile.am
Paulo Cesar Pereira de Andrade f7585d0205 Convert kdrive libraries to libtool convenience libraries.
Also correct a link failure due to unresolved symbols. This
is arguably a libtool/ranlib/ld bug, that "may" be corrected
by linking all convenience libraries in a single one. But in
this case, it was preferred to just add a linker option  to
Xfake_LDFLAGS, to force linkage of all libraries.

  This corrects #19725.
2009-01-27 03:13:28 -02:00

32 lines
492 B
Makefile

INCLUDES = \
@KDRIVE_INCS@ \
@KDRIVE_CFLAGS@
noinst_LTLIBRARIES = libfake.la
bin_PROGRAMS = Xfake
libfake_la_SOURCES = \
fake.c \
kbd.c \
os.c \
mouse.c \
fake.h
Xfake_SOURCES = \
fakeinit.c
Xfake_LDADD = \
libfake.la \
@KDRIVE_LIBS@ \
@XSERVER_LIBS@
Xfake_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG) -Wl,-undefined=InitExtensions
Xfake_DEPENDENCIES = \
libfake.la \
@KDRIVE_LOCAL_LIBS@
relink:
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)