2010-07-27 13:02:24 -06:00
|
|
|
noinst_LTLIBRARIES = libdix.la libmain.la
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2010-12-21 13:10:44 -07:00
|
|
|
AM_CPPFLAGS = -I$(top_srcdir)/include
|
2010-07-27 13:02:24 -06:00
|
|
|
AM_CFLAGS = $(DIX_CFLAGS)
|
|
|
|
|
|
|
|
libmain_la_SOURCES = \
|
|
|
|
main.c
|
2006-11-26 11:13:41 -07:00
|
|
|
|
|
|
|
libdix_la_SOURCES = \
|
|
|
|
atom.c \
|
|
|
|
colormap.c \
|
|
|
|
cursor.c \
|
|
|
|
devices.c \
|
|
|
|
dispatch.c \
|
|
|
|
dispatch.h \
|
|
|
|
dixfonts.c \
|
|
|
|
dixutils.c \
|
2009-09-06 13:44:18 -06:00
|
|
|
enterleave.c \
|
|
|
|
enterleave.h \
|
2006-11-26 11:13:41 -07:00
|
|
|
events.c \
|
2010-07-27 13:02:24 -06:00
|
|
|
eventconvert.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
extension.c \
|
|
|
|
ffs.c \
|
|
|
|
gc.c \
|
2007-11-24 10:55:21 -07:00
|
|
|
getevents.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
globals.c \
|
|
|
|
glyphcurs.c \
|
|
|
|
grabs.c \
|
|
|
|
initatoms.c \
|
2010-07-27 13:02:24 -06:00
|
|
|
inpututils.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
pixmap.c \
|
|
|
|
privates.c \
|
|
|
|
property.c \
|
2009-09-06 13:44:18 -06:00
|
|
|
ptrveloc.c \
|
2010-12-05 08:36:02 -07:00
|
|
|
region.c \
|
2008-11-02 08:26:08 -07:00
|
|
|
registry.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
resource.c \
|
2008-11-02 08:26:08 -07:00
|
|
|
selection.c \
|
2006-11-26 11:13:41 -07:00
|
|
|
swaprep.c \
|
|
|
|
swapreq.c \
|
|
|
|
tables.c \
|
2009-09-06 13:44:18 -06:00
|
|
|
window.c
|
2006-11-26 11:13:41 -07:00
|
|
|
|
2009-09-06 13:44:18 -06:00
|
|
|
EXTRA_DIST = buildatoms BuiltInAtoms Xserver.d Xserver-dtrace.h.in
|
2007-11-24 10:55:21 -07:00
|
|
|
|
2008-11-02 08:26:08 -07:00
|
|
|
# Install list of protocol names
|
|
|
|
miscconfigdir = $(SERVER_MISC_CONFIG_PATH)
|
|
|
|
dist_miscconfig_DATA = protocol.txt
|
|
|
|
|
2007-11-24 10:55:21 -07:00
|
|
|
if XSERVER_DTRACE
|
|
|
|
# Generate dtrace header file for C sources to include
|
|
|
|
BUILT_SOURCES = Xserver-dtrace.h
|
|
|
|
|
|
|
|
Xserver-dtrace.h: $(srcdir)/Xserver.d
|
2010-07-27 13:02:24 -06:00
|
|
|
$(AM_V_GEN)$(DTRACE) -C -h -o $@ -s $(srcdir)/Xserver.d \
|
2007-11-24 10:55:21 -07:00
|
|
|
|| cp Xserver-dtrace.h.in $@
|
|
|
|
|
2010-07-27 13:02:24 -06:00
|
|
|
endif
|
|
|
|
|
|
|
|
if SPECIAL_DTRACE_OBJECTS
|
2007-11-24 10:55:21 -07:00
|
|
|
# Generate dtrace object code for probes in libdix
|
|
|
|
dtrace-dix.o: $(top_srcdir)/dix/Xserver.d $(am_libdix_la_OBJECTS)
|
2010-07-27 13:02:24 -06:00
|
|
|
$(AM_V_GEN)$(DTRACE) -G -C -o $@ -s $(top_srcdir)/dix/Xserver.d $(am_libdix_la_OBJECTS:%.lo=.libs/%.o)
|
2007-11-24 10:55:21 -07:00
|
|
|
|
|
|
|
noinst_PROGRAMS = dix.O
|
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
dix_O_SOURCES =
|
2007-11-24 10:55:21 -07:00
|
|
|
dix.O: dtrace-dix.o $(am_libdix_la_OBJECTS)
|
2010-07-27 13:02:24 -06:00
|
|
|
$(AM_V_GEN)ld -r -o $@ $(am_libdix_la_OBJECTS:%.lo=.libs/%.o)
|
2007-11-24 10:55:21 -07:00
|
|
|
endif
|
|
|
|
|
2011-11-05 07:32:40 -06:00
|
|
|
CLEANFILES = Xserver-dtrace.h
|