xenocara/xserver/dix/Makefile.am

83 lines
1.6 KiB
Makefile
Raw Normal View History

standard_dix_libs = libdix.la libxpstubs.la
if XPRINT
noinst_LTLIBRARIES = $(standard_dix_libs) libXpdix.la
else
noinst_LTLIBRARIES = $(standard_dix_libs)
endif
2006-11-26 11:13:41 -07:00
AM_CFLAGS = $(DIX_CFLAGS) \
2007-11-24 10:55:21 -07:00
-DVENDOR_NAME=\""@VENDOR_NAME@"\" \
2006-11-26 11:13:41 -07:00
-DVENDOR_RELEASE="@VENDOR_RELEASE@"
libdix_la_SOURCES = \
atom.c \
colormap.c \
cursor.c \
deprecated.c \
2006-11-26 11:13:41 -07:00
devices.c \
dispatch.c \
dispatch.h \
dixfonts.c \
dixutils.c \
events.c \
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 \
main.c \
pixmap.c \
privates.c \
property.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 \
strcasecmp.c \
strcasestr.c
2006-11-26 11:13:41 -07:00
libxpstubs_la_SOURCES = \
xpstubs.c
if XPRINT
libXpdix_la_SOURCES = $(libdix_la_SOURCES)
libXpdix_la_CPPFLAGS = -I$(top_srcdir)/hw/xprint
libXpdix_la_CFLAGS = $(AM_CFLAGS) $(XPRINT_CFLAGS)
endif
2006-11-26 11:13:41 -07:00
2007-11-24 10:55:21 -07:00
EXTRA_DIST = buildatoms BuiltInAtoms CHANGES Xserver.d Xserver-dtrace.h.in
# 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
$(DTRACE) -C -h -o $@ -s $(srcdir)/Xserver.d \
|| cp Xserver-dtrace.h.in $@
# Generate dtrace object code for probes in libdix
dtrace-dix.o: $(top_srcdir)/dix/Xserver.d $(am_libdix_la_OBJECTS)
$(DTRACE) -G -C -o $@ -s $(top_srcdir)/dix/Xserver.d .libs/*.o
noinst_PROGRAMS = dix.O
dix.O: dtrace-dix.o $(am_libdix_la_OBJECTS)
ld -r -o $@ .libs/*.o
endif
dix.c:
touch $@
CLEANFILES = dix.c