xserver-multidpi/include/Makefile.am
Alan Coopersmith c95c1d338f Add asprintf() implementation for platforms without it
Provides a portable implementation of this common allocating sprintf()
API found in many, but not yet all, of the platforms we support.
If the platform provides vasprintf() we simply wrap it, otherwise we
implement it - either way callers can use it regardless of platform.

Since not all platforms guarantee to NULL out the return pointer on
failure, we don't either, and require callers to check the return
value for -1.

The old Xprintf() API is deprecated, but left for compatibility for now.

The new API is added in a new header so that it can be used in parts of
the server such as hw/xfree86/parser that don't include all the server
headers.

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Reviewed-by: Mikhail Gusarov <dottedmag@dottedmag.net>
2010-12-07 11:10:35 -08:00

72 lines
1016 B
Makefile

if XORG
sdk_HEADERS = \
XIstubs.h \
Xprintf.h \
callback.h \
closestr.h \
closure.h \
colormap.h \
colormapst.h \
hotplug.h \
cursor.h \
cursorstr.h \
dix.h \
dixaccess.h \
dixevents.h \
dixfont.h \
dixfontstr.h \
dixgrabs.h \
dixstruct.h \
events.h \
exevents.h \
extension.h \
extinit.h \
extnsionst.h \
gc.h \
gcstruct.h \
globals.h \
input.h \
inputstr.h \
list.h \
misc.h \
miscstruct.h \
opaque.h \
os.h \
pixmap.h \
pixmapstr.h \
privates.h \
property.h \
propertyst.h \
ptrveloc.h \
region.h \
regionstr.h \
registry.h \
resource.h \
rgb.h \
screenint.h \
scrnintstr.h \
selection.h \
servermd.h \
site.h \
swaprep.h \
swapreq.h \
validate.h \
window.h \
windowstr.h \
xkbfile.h \
xkbsrv.h \
xkbstr.h \
xkbrules.h \
xserver-properties.h
nodist_sdk_HEADERS = xorg-server.h
endif
AM_CFLAGS = $(DIX_CFLAGS)
EXTRA_DIST = \
dix-config-apple-verbatim.h \
eventconvert.h eventstr.h inpututils.h \
protocol-versions.h \
xsha1.h