2006-11-26 11:13:41 -07:00
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
SUBDIRS = input config examples doc doxygen man
|
2006-11-26 11:13:41 -07:00
|
|
|
bin_PROGRAMS = Xdmx
|
|
|
|
|
|
|
|
if XINERAMA
|
|
|
|
PANORAMIX_SRCS = $(top_srcdir)/Xext/panoramiX.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if GLX
|
|
|
|
SUBDIRS += glxProxy
|
|
|
|
GLX_LIBS = glxProxy/libglxproxy.a
|
|
|
|
GLX_SRCS = $(PANORAMIX_SRCS) dmx_glxvisuals.c dmx_glxvisuals.h
|
2010-07-27 13:02:24 -06:00
|
|
|
GLX_INCS = -I$(top_srcdir)/hw/xfree86/dixmods/extmod
|
|
|
|
GLX_DEFS = @GL_CFLAGS@
|
2006-11-26 11:13:41 -07:00
|
|
|
endif
|
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
AM_CFLAGS = \
|
|
|
|
-DHAVE_DMX_CONFIG_H \
|
|
|
|
$(DIX_CFLAGS) \
|
|
|
|
$(GLX_INCS) \
|
|
|
|
$(GLX_DEFS) \
|
|
|
|
$(DMX_CFLAGS) \
|
|
|
|
@DMXMODULES_CFLAGS@
|
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
Xdmx_SOURCES = dmx.c \
|
|
|
|
dmxcb.c \
|
|
|
|
dmxcb.h \
|
|
|
|
dmxclient.h \
|
|
|
|
dmxcmap.c \
|
|
|
|
dmxcmap.h \
|
|
|
|
dmx-config.h \
|
|
|
|
dmxcursor.c \
|
|
|
|
dmxcursor.h \
|
|
|
|
dmxdpms.c \
|
|
|
|
dmxdpms.h \
|
|
|
|
dmxextension.c \
|
|
|
|
dmxextension.h \
|
|
|
|
dmxfont.c \
|
|
|
|
dmxfont.h \
|
|
|
|
dmxgc.c \
|
|
|
|
dmxgc.h \
|
|
|
|
dmxgcops.c \
|
|
|
|
dmxgcops.h \
|
|
|
|
dmx.h \
|
|
|
|
dmxinit.c \
|
|
|
|
dmxinit.h \
|
|
|
|
dmxinput.c \
|
|
|
|
dmxinput.h \
|
|
|
|
dmxlog.c \
|
|
|
|
dmxlog.h \
|
|
|
|
dmxpict.c \
|
|
|
|
dmxpict.h \
|
|
|
|
dmxpixmap.c \
|
|
|
|
dmxpixmap.h \
|
|
|
|
dmxprop.c \
|
|
|
|
dmxprop.h \
|
|
|
|
dmxscrinit.c \
|
|
|
|
dmxscrinit.h \
|
|
|
|
dmxstat.c \
|
|
|
|
dmxstat.h \
|
|
|
|
dmxsync.c \
|
|
|
|
dmxsync.h \
|
|
|
|
dmxvisual.c \
|
|
|
|
dmxvisual.h \
|
|
|
|
dmxwindow.c \
|
|
|
|
dmxwindow.h \
|
|
|
|
$(top_srcdir)/mi/miinitext.c \
|
|
|
|
$(GLX_SRCS)
|
|
|
|
|
|
|
|
|
|
|
|
#if COMPOSITE
|
|
|
|
#Xdmx_SOURCES += fakecw.c
|
|
|
|
#endif
|
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
XDMX_LIBS = \
|
|
|
|
$(GLX_LIBS) \
|
2011-11-05 07:32:40 -06:00
|
|
|
@XDMX_LIBS@ \
|
2008-11-02 08:26:08 -07:00
|
|
|
input/libdmxinput.a \
|
2010-07-27 13:02:24 -06:00
|
|
|
config/libdmxconfig.a
|
2008-11-02 08:26:08 -07:00
|
|
|
|
2006-11-26 11:13:41 -07:00
|
|
|
Xdmx_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
2008-11-02 08:26:08 -07:00
|
|
|
Xdmx_DEPENDENCIES= $(XDMX_LIBS)
|
|
|
|
Xdmx_LDADD = $(XDMX_LIBS) $(XDMX_SYS_LIBS) $(XSERVER_SYS_LIBS)
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
relink:
|
2010-07-27 13:02:24 -06:00
|
|
|
$(AM_V_at)rm -f Xdmx$(EXEEXT) && $(MAKE) Xdmx$(EXEEXT)
|