summaryrefslogtreecommitdiff
path: root/hw/darwin/quartz/Makefile.am
blob: f8dc16765748038d5eb9929a51a627f6aaf13458 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
noinst_LIBRARIES = libXQuartz.a

AM_CFLAGS = @XORG_CFLAGS@ @DIX_CFLAGS@
AM_OBJCFLAGS = @XORG_CFLAGS@ @DIX_CFLAGS@

INCLUDES = -I$(srcdir) -I$(srcdir)/.. @XORG_INCS@
AM_DEFS = -DHAS_CG_MACH_PORT -DHAS_KL_API
if HAVE_XPLUGIN
AM_DEFS += -DBUILD_XPR
endif
DEFS = @DEFS@ $(AM_DEFS) -DXBINDIR=\"${bindir}\"

libXQuartz_a_SOURCES = \
		  Preferences.m \
	          XApplication.m \
	          XServer.m \
	          applewm.c \
	          keysym2ucs.c \
	          quartz.c \
	          quartzAudio.c \
	          quartzCocoa.m \
	          quartzPasteboard.c \
	          quartzKeyboard.c \
	          quartzStartup.c \
	          pseudoramiX.c

bin_PROGRAMS = XDarwinStartup

XDarwinStartup_SOURCES = XDarwinStartup.c
XDarwinStartup_LDFLAGS = -Wl,-framework,CoreFoundation \
			 -Wl,-framework,ApplicationServices
XDarwinStartupCFLAGS = -DXBINDIR="${bindir}"
XDARWINROOT = @APPLE_APPLICATIONS_DIR@
BINDIR = $(bindir)
install-exec-local:
	-(cd $(DESTDIR)$(BINDIR); rm X; $(LN_S) XDarwinStartup X)

man1_MANS = XDarwinStartup.man

EXTRA_DIST = \
	applewmExt.h \
	keysym2ucs.h \
	Preferences.h \
	pseudoramiX.h \
	quartzAudio.h \
	quartzCommon.h \
	quartzCursor.c \
	quartzCursor.h \
	quartz.h \
	quartzPasteboard.h \
	XApplication.h \
	XDarwin.pbproj/project.pbxproj \
	XServer.h \
	XDarwinStartup.man