3bf62e8af6a59da64c2c41e91ef304b15aa30680
[deb_xorg-server.git] / hw / xfree86 / parser / Makefile.am
1 if INSTALL_LIBXF86CONFIG
2 noinst_LTLIBRARIES = libxf86config_internal.la
3 lib_LTLIBRARIES = libxf86config.la
4 LIBHEADERS = \
5 xf86Optrec.h \
6 xf86Parser.h
7 else
8 noinst_LTLIBRARIES = libxf86config_internal.la
9 endif
10
11 INTERNAL_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
30 libxf86config_internal_la_SOURCES = \
31 $(INTERNAL_SOURCES)
32
33 libxf86config_la_SOURCES = \
34 $(top_srcdir)/os/xprintf.c \
35 $(INTERNAL_SOURCES)
36 libxf86config_la_CFLAGS = $(AM_CFLAGS)
37 libxf86config_la_LDFLAGS = -static
38
39 AM_CFLAGS = $(DIX_CFLAGS) $(XORG_CFLAGS) \
40 -DSYSCONFDIR=\"$(sysconfdir)\" \
41 -DDATADIR=\"$(datadir)\"
42
43 EXTRA_DIST = \
44 Configint.h \
45 configProcs.h \
46 xf86Optrec.h \
47 xf86Parser.h \
48 xf86tokens.h
49
50 sdk_HEADERS = \
51 xf86Parser.h \
52 xf86Optrec.h
53
54 AM_CPPFLAGS = -I$(srcdir)/../common