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
|
XCOMM $Xorg: Imakefile,v 1.3 2000/08/18 04:05:43 coskrey Exp $
XCOMM $XFree86: xc/include/Imakefile,v 3.28 2001/04/28 23:52:31 dawes Exp $
NULL =
#define IHaveSubdirs
#define PassCDebugFlags /**/
#if BuildGlxExt || BuildGLXLibrary
GLXDIR = GL
#endif
#if BuildDPSLibrary
DPSDIR = DPS
#endif
SUBDIRS = extensions $(GLXDIR) $(DPSDIR)
#ifdef Win32Architecture
EXTRA_HEADERS = Xw32defs.h Xwinsock.h Xwindows.h
#elif defined(cygwinArchitecture)
EXTRA_HEADERS = Xwindows.h
#endif
HEADERS = \
DECkeysym.h \
HPkeysym.h \
Sunkeysym.h \
X.h \
XF86keysym.h \
XWDFile.h \
Xalloca.h \
Xarch.h \
Xatom.h \
Xdefs.h \
Xfuncproto.h \
Xfuncs.h \
Xmd.h \
Xos.h \
Xos_r.h \
Xosdefs.h \
Xpoll.h \
Xproto.h \
Xprotostr.h \
Xthreads.h \
ap_keysym.h \
keysym.h \
keysymdef.h \
$(EXTRA_HEADERS) \
$(NULL)
all::
BuildIncludes($(HEADERS),X11,..)
#if BuildLibraries
InstallMultipleFlags($(HEADERS),$(INCDIR)/X11,$(INSTINCFLAGS))
#endif
MakeSubdirs($(SUBDIRS))
DependSubdirs($(SUBDIRS))
InstallDriverSDKNonExecFile(X.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xalloca.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xarch.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xdefs.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xdefs.h,$(DRIVERSDKINCLUDEDIR)/X11)
InstallDriverSDKNonExecFile(Xfuncproto.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xfuncs.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xmd.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xosdefs.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xproto.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(Xprotostr.h,$(DRIVERSDKINCLUDEDIR))
InstallDriverSDKNonExecFile(keysym.h,$(DRIVERSDKINCLUDEDIR))
/* _XOPEN_SOURCE is defined where needed to move __fds_bits to fds_bits. */
USE_FDS_BITS = fds_bits
Xpoll.h: Xpoll.h.in
sed -e "s/@USE_FDS_BITS@/$(USE_FDS_BITS)/;" < Xpoll.h.in > Xpoll.h
clean::
-$(RM) Xpoll.h
XCOMM For the Linux/OpenGL base standard
#if LinkGLToUsrInclude && AlternateIncRoot
install::
MakeDir($(DESTDIR)$(SYSTEMUSRINCDIR))
-$(RM) $(DESTDIR)$(SYSTEMUSRINCDIR)/GL
@if [ ! -d $(DESTDIR)$(SYSTEMUSRINCDIR)/GL ]; then \
set -x; $(LN) $(INCDIR)/GL $(DESTDIR)$(SYSTEMUSRINCDIR)/GL; \
fi
#endif
|