xserver-multidpi/hw/kdrive/mga/Makefile.am
Dodji Seketeli 6c89d1237c Kdrive: unbreak kdrive linking
* configure.ac: re-sort Kdrive libs so that symbols get properly resolved.
          Basically, all some libs are present in both $KDRIVE_LIBS and $XSERVER_LIBS,
          and some libs orders are not correct. So I made sure Kdrive servers don't have
          to link against $KDRIVE_LIBS  *and* $XSERVER_LIBS. They just have to link
          against $KDRIVE_LIBS now.
        * hw/kdrive/*/Makefile.am: update those makefile to reflect the change in configure.ac
2007-09-05 17:46:49 +02:00

35 lines
526 B
Makefile

INCLUDES = \
@KDRIVE_INCS@ \
-I$(top_srcdir)/hw/kdrive/vesa \
@KDRIVE_CFLAGS@
bin_PROGRAMS = Xmga
noinst_LIBRARIES = libmga.a
libmga_a_SOURCES = \
mgadraw.c \
g400_composite.c \
g400_common.h \
mga.c \
mga.h
Xmga_SOURCES = \
mgastub.c
MGA_LIBS = \
libmga.a \
$(top_builddir)/hw/kdrive/vesa/libvesa.a \
@KDRIVE_LIBS@
Xmga_LDADD = \
$(MGA_LIBS) \
@KDRIVE_LIBS@
Xmga_DEPENDENCIES = \
libmga.a \
@KDRIVE_LOCAL_LIBS@
relink:
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)