First import
[xorg_rtime.git] / xorg-server-1.4 / hw / kdrive / neomagic / Makefile.am
blob95f0e1eaae1f776c23596b88d8556e25a374e963
1 if KDRIVEFBDEV
2 FBDEV_INCLUDES =-I$(top_srcdir)/hw/kdrive/fbdev
3 FBDEV_LIBS = $(top_builddir)/hw/kdrive/fbdev/libfbdev.a
4 endif
6 if KDRIVEVESA
7 VESA_INCLUDES = -I$(top_srcdir)/hw/kdrive/vesa
8 VESA_LIBS = $(top_builddir)/hw/kdrive/vesa/libvesa.a
9 endif
11 INCLUDES =                      \
12         @KDRIVE_INCS@               \
13         $(FBDEV_INCLUDES)           \
14         $(VESA_INCLUDES)            \
15         @KDRIVE_CFLAGS@
17 bin_PROGRAMS = Xneomagic
19 noinst_LIBRARIES = libneomagic.a
21 libneomagic_a_SOURCES =         \
22         neomagic.c                  \
23         neomagic.h                  \
24         neo_draw.c
26 Xneomagic_SOURCES = \
27         neomagicstub.c
29 NEOMAGIC_LIBS =                 \
30         libneomagic.a               \
31         ${FBDEV_LIBS}               \
32         ${VESA_LIBS}                \
33         @KDRIVE_LIBS@
35 Xneomagic_LDADD = \
36         $(NEOMAGIC_LIBS)            \
37         @KDRIVE_LIBS@               \
38         @XSERVER_LIBS@            
40 Xneomagic_DEPENDENCIES =        \
41         libneomagic.a               \
42         @KDRIVE_LOCAL_LIBS@
44 relink:
45         rm -f $(bin_PROGRAMS) && make $(bin_PROGRAMS)