xserver-multidpi/hw/xfree86/parser/Makefile.am
Peter Hutterer 24823f1ab0 xfree86: switch options from pointer to XF86OptionPtr
In all cases, the pointer was simply type-cast anyway. Let's get some
compile-time type safety going, how about that.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Dan Nicholson <dbn.lists@gmail.com>

Squashed in:
xfree86: Move definition of xf86OptionPtr into separate header file

The pile of spaghettis that is the xfree86 include dependencies make it
rather hard to have a single typedef somewhere that's not interfering with
everything else or drags in a whole bunch of other includes.

Move the xf86OptionRec and GenericListRec declarations into a separate
header.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Alan Coopersmith <alan.coopersmith@oracle.com>
2011-09-27 11:43:36 +10:00

55 lines
925 B
Makefile

if INSTALL_LIBXF86CONFIG
noinst_LTLIBRARIES = libxf86config_internal.la
lib_LTLIBRARIES = libxf86config.la
LIBHEADERS = \
xf86Optrec.h \
xf86Parser.h
else
noinst_LTLIBRARIES = libxf86config_internal.la
endif
INTERNAL_SOURCES= \
Device.c \
Files.c \
Flags.c \
Input.c \
InputClass.c \
Layout.c \
Module.c \
Video.c \
Monitor.c \
Pointer.c \
Screen.c \
Vendor.c \
read.c \
scan.c \
write.c \
DRI.c \
Extensions.c
libxf86config_internal_la_SOURCES = \
$(INTERNAL_SOURCES)
libxf86config_la_SOURCES = \
$(top_srcdir)/os/xprintf.c \
$(INTERNAL_SOURCES)
libxf86config_la_CFLAGS = $(AM_CFLAGS)
libxf86config_la_LDFLAGS = -static
AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) \
-DSYSCONFDIR=\"$(sysconfdir)\" \
-DDATADIR=\"$(datadir)\"
EXTRA_DIST = \
Configint.h \
configProcs.h \
xf86Optrec.h \
xf86Parser.h \
xf86tokens.h
sdk_HEADERS = \
xf86Parser.h \
xf86Optrec.h
INCLUDES = -I$(srcdir)/../common