1if INSTALL_LIBXF86CONFIG
2noinst_LTLIBRARIES = libxf86config_internal.la
3lib_LTLIBRARIES = libxf86config.la
4LIBHEADERS = \
5	xf86Optrec.h \
6	xf86Parser.h
7else
8noinst_LTLIBRARIES = libxf86config_internal.la
9endif
10
11INTERNAL_SOURCES= \
12	Device.c \
13	Files.c \
14	Flags.c \
15	Input.c \
16	InputClass.c \
17	Layout.c \
18	Module.c \
19	Video.c \
20	Monitor.c \
21	Pointer.c \
22	Screen.c \
23	Vendor.c \
24	read.c \
25	scan.c \
26	write.c \
27	DRI.c \
28	Extensions.c
29
30libxf86config_internal_la_SOURCES = \
31	$(INTERNAL_SOURCES)
32
33libxf86config_la_SOURCES = \
34	$(top_srcdir)/os/xprintf.c \
35	$(INTERNAL_SOURCES)
36libxf86config_la_CFLAGS = $(AM_CFLAGS)
37libxf86config_la_LDFLAGS = -static
38
39AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) \
40	-DSYSCONFDIR=\"$(sysconfdir)\" \
41	-DDATADIR=\"$(datadir)\"
42
43EXTRA_DIST = \
44	Configint.h \
45	configProcs.h \
46	xf86Optrec.h \
47	xf86Parser.h \
48	xf86tokens.h
49
50sdk_HEADERS = \
51	xf86Parser.h \
52	xf86Optrec.h
53