3 -DBUILD_DATE=\"$(BUILD_DATE)\" \
4 -DXSERVER_VERSION=\"$(VERSION)\" \
5 -DX11BINDIR=\"$(bindir)\"
7 AM_CFLAGS = $(DIX_CFLAGS)
9 x11appdir = $(APPLE_APPLICATIONS_DIR)/$(APPLE_APPLICATION_NAME).app/Contents/MacOS
10 x11app_PROGRAMS = X11.bin
12 dist_X11_bin_SOURCES = \
15 # strndup(3) was added in Mac OS X 10.7, but we do this unconditionally to deal
16 # with the case where we build on Lion but target Snow Leopard as the minimum
19 dist_X11_bin_SOURCES += $(top_srcdir)/os/strndup.c
22 nodist_X11_bin_SOURCES = \
23 mach_startupServer.c \
26 X11_bin_DEPENDENCIES = \
27 $(top_builddir)/hw/xquartz/libXquartz.la \
28 $(top_builddir)/hw/xquartz/xpr/libXquartzXpr.la \
29 $(top_builddir)/dix/dixfonts.lo \
30 $(top_builddir)/miext/rootless/librootless.la \
31 $(top_builddir)/hw/xquartz/pbproxy/libxpbproxy.la \
32 $(XQUARTZ_LIBS) $(XSERVER_LIBS)
34 # $(XSERVER_SYS_LIBS) is placed here in order to set command line ordering
35 # to work around build issues on Tiger.
36 X11_bin_LDADD = $(X11_bin_DEPENDENCIES) $(XSERVER_SYS_LIBS)
41 -Wl,-u,_miDCInitialize \
42 -Wl,-framework,Carbon \
43 -Wl,-framework,Cocoa \
44 -Wl,-framework,CoreAudio \
48 X11_bin_DEPENDENCIES += \
49 $(top_builddir)/hw/xquartz/GL/libCGLCore.la \
50 $(top_builddir)/glx/libglx.la
58 -Wl,-framework,Sparkle
62 X11_bin_DEPENDENCIES += \
63 $(top_builddir)/record/librecord.la
66 bin_PROGRAMS = Xquartz
68 dist_Xquartz_SOURCES = \
72 nodist_Xquartz_SOURCES = \
76 -Wl,-framework,CoreServices
79 mach_startupServer.c \
81 mach_startupServer.h \
87 $(BUILT_SOURCES): $(srcdir)/mach_startup.defs
88 mig -sheader mach_startupServer.h $(srcdir)/mach_startup.defs