Makefile.am   [plain text]


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