xenocara/xserver/dix/Makefile.am

73 lines
1.4 KiB
Makefile
Raw Normal View History

noinst_LTLIBRARIES = libdix.la libmain.la
2006-11-26 11:13:41 -07:00
AM_CPPFLAGS = -I$(top_srcdir)/include
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 \
enterleave.c \
enterleave.h \
2006-11-26 11:13:41 -07:00
events.c \
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 \
inpututils.c \
2006-11-26 11:13:41 -07:00
pixmap.c \
privates.c \
property.c \
ptrveloc.c \
region.c \
registry.c \
2006-11-26 11:13:41 -07:00
resource.c \
selection.c \
2006-11-26 11:13:41 -07:00
swaprep.c \
swapreq.c \
tables.c \
window.c
2006-11-26 11:13:41 -07:00
EXTRA_DIST = buildatoms BuiltInAtoms Xserver.d Xserver-dtrace.h.in
2007-11-24 10:55:21 -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
$(AM_V_GEN)$(DTRACE) -C -h -o $@ -s $(srcdir)/Xserver.d \
2007-11-24 10:55:21 -07:00
|| cp Xserver-dtrace.h.in $@
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)
$(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)
$(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