2005-10-06 04:35:22 +02:00
|
|
|
DIST_SUBDIRS = input config glxProxy examples doc
|
2005-07-29 01:28:34 +02:00
|
|
|
|
2005-10-06 04:35:22 +02:00
|
|
|
SUBDIRS = input config examples
|
2005-07-01 22:29:53 +02:00
|
|
|
bin_PROGRAMS = Xdmx
|
|
|
|
|
|
|
|
if XINERAMA
|
|
|
|
PANORAMIX_SRCS = $(top_srcdir)/Xext/panoramiX.c
|
|
|
|
endif
|
|
|
|
|
|
|
|
if GLX
|
|
|
|
SUBDIRS += glxProxy
|
|
|
|
GLX_LIBS = glxProxy/libglxproxy.a
|
2005-07-29 01:28:34 +02:00
|
|
|
GLX_SRCS = $(PANORAMIX_SRCS) dmx_glxvisuals.c dmx_glxvisuals.h
|
2006-02-22 17:08:56 +01:00
|
|
|
GLX_INCS = -I$(top_srcdir)/hw/xfree86/dixmods/extmod \
|
|
|
|
-I@MESA_SOURCE@/include
|
|
|
|
GLX_DEFS = @GL_CFLAGS@
|
2005-07-01 22:29:53 +02:00
|
|
|
endif
|
|
|
|
|
2007-03-30 20:49:34 +02:00
|
|
|
# It's essential that fbcmap.c be compiled with this flag for DMX to work!!
|
|
|
|
DMX_CFLAGS = -DXFree86Server=1
|
|
|
|
|
2005-09-27 16:09:31 +02:00
|
|
|
if BUILDDOCS
|
|
|
|
SUBDIRS += doc
|
|
|
|
endif
|
|
|
|
|
2007-01-18 05:23:57 +01:00
|
|
|
AM_CFLAGS = \
|
|
|
|
-DHAVE_DMX_CONFIG_H \
|
|
|
|
$(DIX_CFLAGS) \
|
|
|
|
$(GLX_INCS) \
|
|
|
|
$(GLX_DEFS) \
|
2007-03-30 20:49:34 +02:00
|
|
|
$(DMX_CFLAGS) \
|
2007-01-18 05:23:57 +01:00
|
|
|
@DMXMODULES_CFLAGS@
|
|
|
|
|
2005-07-29 01:28:34 +02:00
|
|
|
Xdmx_SOURCES = dmx.c \
|
|
|
|
dmxcb.c \
|
|
|
|
dmxcb.h \
|
|
|
|
dmxclient.h \
|
|
|
|
dmxcmap.c \
|
|
|
|
dmxcmap.h \
|
|
|
|
dmx-config.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
dmxcursor.c \
|
2005-07-29 01:28:34 +02:00
|
|
|
dmxcursor.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
dmxdpms.c \
|
2005-07-29 01:28:34 +02:00
|
|
|
dmxdpms.h \
|
|
|
|
dmxextension.c \
|
|
|
|
dmxextension.h \
|
|
|
|
dmxfont.c \
|
|
|
|
dmxfont.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
dmxgc.c \
|
2005-07-29 01:28:34 +02:00
|
|
|
dmxgc.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
dmxgcops.c \
|
2005-07-29 01:28:34 +02:00
|
|
|
dmxgcops.h \
|
|
|
|
dmx.h \
|
|
|
|
dmxinit.c \
|
|
|
|
dmxinit.h \
|
|
|
|
dmxinput.c \
|
|
|
|
dmxinput.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
dmxlog.c \
|
2005-07-29 01:28:34 +02:00
|
|
|
dmxlog.h \
|
|
|
|
dmxpict.c \
|
|
|
|
dmxpict.h \
|
|
|
|
dmxpixmap.c \
|
|
|
|
dmxpixmap.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
dmxprop.c \
|
2005-07-29 01:28:34 +02:00
|
|
|
dmxprop.h \
|
|
|
|
dmxscrinit.c \
|
|
|
|
dmxscrinit.h \
|
|
|
|
dmxshadow.c \
|
|
|
|
dmxshadow.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
dmxstat.c \
|
2005-07-29 01:28:34 +02:00
|
|
|
dmxstat.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
dmxsync.c \
|
2005-07-29 01:28:34 +02:00
|
|
|
dmxsync.h \
|
|
|
|
dmxvisual.c \
|
|
|
|
dmxvisual.h \
|
|
|
|
dmxwindow.c \
|
|
|
|
dmxwindow.h \
|
2005-07-27 10:11:26 +02:00
|
|
|
$(top_srcdir)/mi/miinitext.c \
|
2007-03-30 20:49:34 +02:00
|
|
|
$(top_srcdir)/fb/fbcmap.c \
|
2005-07-27 10:11:26 +02:00
|
|
|
$(GLX_SRCS)
|
2005-07-01 22:29:53 +02:00
|
|
|
|
|
|
|
|
|
|
|
#if COMPOSITE
|
|
|
|
#Xdmx_SOURCES += fakecw.c
|
|
|
|
#endif
|
|
|
|
|
2005-08-24 17:18:06 +02:00
|
|
|
Xdmx_LDFLAGS = $(LD_EXPORT_SYMBOLS_FLAG)
|
2005-07-12 03:20:36 +02:00
|
|
|
Xdmx_LDADD = $(XORG_CORE_LIBS) \
|
|
|
|
$(XDMX_LIBS) \
|
|
|
|
$(GLX_LIBS) \
|
|
|
|
input/libdmxinput.a \
|
|
|
|
config/libdmxconfig.a \
|
|
|
|
@DMXMODULES_LIBS@
|
|
|
|
|
2005-11-13 21:53:24 +01:00
|
|
|
# Man page
|
2005-11-28 23:05:09 +01:00
|
|
|
appmandir = $(APP_MAN_DIR)
|
2005-11-13 21:53:24 +01:00
|
|
|
|
2005-12-06 23:48:51 +01:00
|
|
|
appman_PRE = Xdmx.man
|
|
|
|
appman_DATA = $(appman_PRE:man=@APP_MAN_SUFFIX@)
|
2005-11-13 21:53:24 +01:00
|
|
|
|
|
|
|
CLEANFILES = $(appman_DATA)
|
|
|
|
|
|
|
|
# Strings to replace in man pages
|
|
|
|
XORGRELSTRING = @PACKAGE_STRING@
|
|
|
|
XORGMANNAME = X Version 11
|
|
|
|
|
|
|
|
MAN_SUBSTS = \
|
|
|
|
-e 's|__vendorversion__|"$(XORGRELSTRING)" "$(XORGMANNAME)"|' \
|
|
|
|
-e 's|__miscmansuffix__|$(MISC_MAN_SUFFIX)|g'
|
|
|
|
|
|
|
|
SUFFIXES = .$(APP_MAN_SUFFIX) .man
|
|
|
|
|
|
|
|
.man.$(APP_MAN_SUFFIX):
|
|
|
|
sed $(MAN_SUBSTS) < $< > $@
|
|
|
|
|
2005-12-06 23:48:51 +01:00
|
|
|
EXTRA_DIST = $(appman_PRE)
|
2005-12-26 20:13:52 +01:00
|
|
|
|
|
|
|
relink:
|
|
|
|
rm -f Xdmx && $(MAKE) Xdmx
|