2008-05-09 04:46:03 +02:00
|
|
|
AM_CPPFLAGS = \
|
|
|
|
-DBUILD_DATE=\"$(BUILD_DATE)\" \
|
2008-11-28 10:45:37 +01:00
|
|
|
-DXSERVER_VERSION=\"$(VERSION)\" \
|
|
|
|
-DX11BINDIR=\"$(bindir)\"
|
2008-05-09 04:46:03 +02:00
|
|
|
|
|
|
|
x11appdir = $(APPLE_APPLICATIONS_DIR)/X11.app/Contents/MacOS
|
|
|
|
x11app_PROGRAMS = X11
|
|
|
|
|
2008-05-10 01:44:31 +02:00
|
|
|
dist_X11_SOURCES = \
|
2008-08-05 21:54:51 +02:00
|
|
|
bundle-main.c
|
2008-05-09 04:46:03 +02:00
|
|
|
|
2008-06-03 09:06:26 +02:00
|
|
|
nodist_X11_SOURCES = \
|
|
|
|
mach_startupServer.c \
|
|
|
|
mach_startupUser.c
|
2008-05-10 01:44:31 +02:00
|
|
|
|
2008-05-09 04:46:03 +02:00
|
|
|
X11_LDADD = \
|
|
|
|
$(top_builddir)/hw/xquartz/libXquartz.la \
|
|
|
|
$(top_builddir)/hw/xquartz/xpr/libXquartzXpr.la \
|
|
|
|
$(top_builddir)/dix/dixfonts.lo \
|
|
|
|
$(top_builddir)/miext/rootless/librootless.la \
|
2008-11-16 04:52:34 +01:00
|
|
|
$(top_builddir)/hw/xquartz/pbproxy/libxpbproxy.la \
|
2008-05-09 04:46:03 +02:00
|
|
|
$(DARWIN_LIBS) $(XSERVER_LIBS) $(XSERVER_SYS_LIBS) -lXplugin -lX11
|
|
|
|
|
|
|
|
X11_LDFLAGS = \
|
|
|
|
-XCClinker -Objc \
|
|
|
|
-Wl,-u,_miDCInitialize \
|
|
|
|
-Wl,-framework,Carbon \
|
|
|
|
-Wl,-framework,Cocoa \
|
|
|
|
-Wl,-framework,CoreAudio \
|
|
|
|
-Wl,-framework,IOKit
|
|
|
|
|
2008-11-14 23:57:09 +01:00
|
|
|
if GLX
|
|
|
|
X11_LDADD += \
|
|
|
|
$(top_builddir)/hw/xquartz/GL/libCGLCore.la \
|
|
|
|
$(top_builddir)/glx/libglx.la
|
|
|
|
|
|
|
|
X11_LDFLAGS += \
|
|
|
|
-L/System/Library/Frameworks/OpenGL.framework/Libraries -lGL \
|
|
|
|
-Wl,-framework,OpenGL
|
|
|
|
endif
|
|
|
|
|
2008-11-28 21:59:09 +01:00
|
|
|
if RECORD
|
|
|
|
X11_LDADD += \
|
|
|
|
$(top_builddir)/record/librecord.la
|
|
|
|
endif
|
|
|
|
|
2008-05-09 04:46:03 +02:00
|
|
|
bin_PROGRAMS = Xquartz
|
|
|
|
|
2008-05-10 01:44:31 +02:00
|
|
|
dist_Xquartz_SOURCES = \
|
2008-06-03 09:06:26 +02:00
|
|
|
stub.c \
|
|
|
|
launchd_fd.c
|
2008-05-09 04:46:03 +02:00
|
|
|
|
2008-06-03 09:06:26 +02:00
|
|
|
nodist_Xquartz_SOURCES = \
|
|
|
|
mach_startupUser.c
|
2008-05-10 01:44:31 +02:00
|
|
|
|
2008-05-09 04:46:03 +02:00
|
|
|
Xquartz_LDFLAGS = \
|
|
|
|
-Wl,-framework,CoreServices
|
2008-05-10 01:44:31 +02:00
|
|
|
|
|
|
|
BUILT_SOURCES = \
|
|
|
|
mach_startupServer.c \
|
|
|
|
mach_startupUser.c \
|
|
|
|
mach_startupServer.h \
|
|
|
|
mach_startup.h
|
|
|
|
|
|
|
|
CLEANFILES = \
|
|
|
|
$(BUILT_SOURCES)
|
|
|
|
|
|
|
|
$(BUILT_SOURCES): mach_startup.defs
|
|
|
|
mig -sheader mach_startupServer.h mach_startup.defs
|
|
|
|
|
|
|
|
EXTRA_DIST = \
|
2008-05-17 23:56:53 +02:00
|
|
|
launchd_fd.h \
|
2008-05-10 01:44:31 +02:00
|
|
|
mach_startup.defs \
|
|
|
|
mach_startup_types.h
|