1noinst_LTLIBRARIES = libXquartz.la
2AM_CFLAGS = $(DIX_CFLAGS)
3AM_OBJCFLAGS = $(DIX_CFLAGS)
4AM_CPPFLAGS = \
5	-DXQUARTZ_DATA_DIR=\"$(datadir)/X11/XQuartz\" \
6	-DXSERVER_VERSION=\"$(VERSION)\" \
7	-DBUNDLE_ID_PREFIX=\"$(BUNDLE_ID_PREFIX)\" \
8	-DUSE_NEW_CLUT \
9	-DXFree86Server \
10	-I$(top_srcdir)/miext/rootless \
11	-I$(top_builddir)/pseudoramiX \
12	-I$(top_builddir)
13
14if GLX
15GL_DIR = GL
16endif
17
18SUBDIRS = bundle . $(GL_DIR) xpr pbproxy mach-startup man
19
20DIST_SUBDIRS = bundle . GL xpr pbproxy mach-startup man
21
22libXquartz_la_SOURCES = \
23	$(top_srcdir)/mi/miinitext.c \
24	$(top_srcdir)/mi/miinitext.h \
25	NSUserDefaults+XQuartzDefaults.m \
26	X11Application.m \
27	X11Controller.m \
28	applewm.c \
29	darwin.c \
30	darwinEvents.c \
31	darwinXinput.c \
32	keysym2ucs.c \
33	quartz.c \
34	quartzKeyboard.c \
35	quartzStartup.c \
36	quartzRandR.c
37
38libXquartz_la_LIBADD = $(top_builddir)/pseudoramiX/libPseudoramiX.la
39
40EXTRA_DIST = \
41	NSUserDefaults+XQuartzDefaults.h \
42	X11Application.h \
43	X11Controller.h \
44	applewmExt.h \
45	darwin.h \
46	darwinfb.h \
47	darwinEvents.h \
48	defaults.plist \
49	keysym2ucs.h \
50	quartz.h \
51	quartzKeyboard.h \
52	quartzRandR.h \
53	sanitizedCarbon.h \
54	sanitizedCocoa.h
55