aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/include/Imakefile
diff options
context:
space:
mode:
Diffstat (limited to 'nx-X11/include/Imakefile')
-rw-r--r--nx-X11/include/Imakefile91
1 files changed, 91 insertions, 0 deletions
diff --git a/nx-X11/include/Imakefile b/nx-X11/include/Imakefile
new file mode 100644
index 000000000..8bdfd4ab7
--- /dev/null
+++ b/nx-X11/include/Imakefile
@@ -0,0 +1,91 @@
+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 $
+#define IHaveSubdirs
+#define PassCDebugFlags /**/
+
+#if BuildGlxExt || BuildGLXLibrary
+GLXDIR = GL
+#endif
+
+#if BuildDPSLibrary
+DPSDIR = DPS
+#endif
+
+SUBDIRS = bitmaps extensions fonts $(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)
+
+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