xserver-multidpi/hw/kdrive/smi/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

38 lines
606 B
Makefile

INCLUDES = \
-I$(top_srcdir)/hw/kdrive/fbdev \
-I$(top_srcdir)/hw/kdrive/vesa \
@KDRIVE_INCS@ \
@KDRIVE_CFLAGS@
bin_PROGRAMS = Xsmi
noinst_LIBRARIES = libsmi.a
# smivideo.c # not ready yet
libsmi_a_SOURCES = \
smi.c \
smi.h \
smidraw.c \
smidraw.h
Xsmi_SOURCES = \
smistub.c
SMI_LIBS = \
libsmi.a \
$(top_builddir)/hw/kdrive/fbdev/libfbdev.a \
$(top_builddir)/hw/kdrive/vesa/libvesa.a \
@KDRIVE_LIBS@
Xsmi_LDADD = \
$(SMI_LIBS) \
@KDRIVE_LIBS@
Xsmi_DEPENDENCIES = \
libsmi.a \
@KDRIVE_LOCAL_LIBS@
relink:
rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)