blob: d12b04f6bb9eb8fc5ac9bd52e77719dd2b775446 (
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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
XCOMM $XFree86: xc/programs/Xserver/hw/darwin/quartz/Imakefile,v 1.12 2003/11/11 01:29:47 torrey Exp $
#include <Server.tmpl>
#define IHaveSubdirs
SRCS = Preferences.m \
XApplication.m \
XServer.m \
applewm.c \
keysym2ucs.c \
quartz.c \
quartzAudio.c \
quartzCocoa.m \
quartzPasteboard.c \
quartzKeyboard.c \
quartzStartup.c \
pseudoramiX.c
OBJS = Preferences.o \
XApplication.o \
XServer.o \
applewm.o \
keysym2ucs.o \
quartz.o \
quartzAudio.o \
quartzCocoa.o \
quartzPasteboard.o \
quartzKeyboard.o \
quartzStartup.o \
pseudoramiX.o
INCLUDES = -I. -I$(SERVERSRC)/fb -I$(SERVERSRC)/mi -I$(SERVERSRC)/include \
-I$(XINCLUDESRC) -I$(FONTINCSRC) -I$(SERVERSRC)/render \
-I$(SERVERSRC)/miext/shadow -I$(EXTINCSRC) -I$(SERVERSRC)/Xext \
-I.. -I$(APPLEWMLIBSRC)
#if defined(XorgCustomVersion) || defined(XFree86CustomVersion)
# if defined(XorgCustomVersion)
CUSTOMVERSION = XorgCustomVersion
# else
CUSTOMVERSION = XFree86CustomVersion
# endif /* XorgCustomVersion */
CUSTOMVERDEF = -DXORG_CUSTOM_VERSION='$(CUSTOMVERSION)'
#endif /* XorgCustomVersion || XFree86CustomVersion */
#if XFree86Devel
BUILDSTYLE = -buildstyle Development
DEBUGDEFINES = -DROOTLESSDEBUG
#else
BUILDSTYLE = -buildstyle Deployment
#endif
#if OSMajorVersion >= 7
PROJ_TARGET = -project XDarwin.pbproj -target XDarwin
#else
PROJ_TARGET = -target XDarwin
#endif
#if (OSMajorVersion == 1 && OSMinorVersion >= 4) || OSMajorVersion >= 5
QUARTZDEFINES = -DHAS_CG_MACH_PORT
#endif
#if HasXplugin
XPRDEFINES = -DBUILD_XPR
#endif
#if OSMajorVersion >= 6
KLDEFINES = -DHAS_KL_API
#endif
DEFINES = $(CUSTOMVERDEF) -DXBINDIR=$(BINDIR) -DXINITDIR=$(XINITDIR) \
$(QUARTZDEFINES) $(DEBUGDEFINES) $(XPRDEFINES) $(KLDEFINES)
EXTRAMANDEFS = -D__XBinDir__=$(BINDIR)
#if NothingOutsideProjectRoot
XDARWINROOT = $(BINDIR)
#else
XDARWINROOT = /Applications
#endif
#if HasXplugin
SUBDIRS = cr fullscreen xpr
#else
SUBDIRS = cr fullscreen
#endif
NormalLibraryObjectRule()
NormalLibraryTarget(XQuartz,$(OBJS))
AllTarget(XDarwinStartup)
NormalProgramTarget(XDarwinStartup,XDarwinStartup.o, \
NullParameter,NullParameter, \
-framework CoreFoundation -framework ApplicationServices)
InstallProgram(XDarwinStartup,$(BINDIR))
install::
-(cd $(DESTDIR)$(BINDIR); $(RM) X; $(LN) XDarwinStartup X)
AllTarget(XDarwin)
XDarwin:
$(PROJ_BUILD) $(PROJ_TARGET) $(BUILDSTYLE)
install::
$(PROJ_BUILD) install $(PROJ_TARGET) $(BUILDSTYLE) \
DSTROOT=$(DESTDIR)$(XDARWINROOT)
InstallManPage(XDarwinStartup,$(MANDIR))
clean::
$(PROJ_BUILD) "clean" $(PROJ_TARGET) $(BUILDSTYLE)
DependTarget()
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
|