summaryrefslogtreecommitdiff
path: root/recipes/xqt2/files/xqt-make.patch
blob: f031b26794a0216dde87f457eb3a26663535e1f6 (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
diff -ur xc.org/programs/Xserver/Imakefile xc/programs/Xserver/Imakefile
--- xc.org/programs/Xserver/Imakefile	2003-02-18 02:06:40.000000000 +0900
+++ xc/programs/Xserver/Imakefile	2004-09-16 19:37:14.000000000 +0900
@@ -1350,13 +1350,38 @@
 
 #endif /* XDarwinServer */
 
+#if defined(XqtXServer)
+XCOMM
+XCOMM Xqt Server Section
+XCOMM
+
+QTDIR	  = QtDir
+
+KDDIRS    = StdKdDirs
+
+XQTDDXDIR = hw/xqt
+SHADOWDIR = miext/shadow
+XQTDIRS = $(STDDIRS) $(KDDIRS) $(XQTDDXDIR) $(SHADOWDIR) $(LAYERDIR) $(DEPDIRS)
+
+XQTLIB     = $(XQTDDXDIR)/LibraryTargetName(xqt)
+XQTOBJS    =	
+
+XQTLIBS    = PreFbLibs $(XQTLIB) KdLibs $(SHADOW) $(LAYER) FbPostFbLibs
+XQTSYSLIBS = StdKdSysLibs -L$(QTDIR)/lib QtLibs
+
+/* C++ linker must be used to build Xqt server */
+CCLINK	   = $(CXXLINK)
+
+ServerTarget(Xqt,$(XQTDIRS),$(XQTOBJS),$(XQTLIBS),$(XQTSYSLIBS))
+#endif	/* XqtServer */
+
 
 CFBDIRS = $(CFB8DIR) $(CFB16DIR) $(CFB24DIR) $(CFB32DIR)
 MIEXTDIRS = $(SHADOWDIR) $(LAYERDIR)
 IPLANDIRS = $(IPLAN2P2DIR) $(IPLAN2P4DIR) $(IPLAN2P8DIR)
 DDXDIRS = $(DECWSDDXDIR) $(SUNDDXDIR) $(LYNXDDXDIR) \
 	  $(HPDDXDIR) $(XFREE86DDXDIR) $(XWINDDXDIR) $(DARWINDDXDIR) \
-	  $(XVFBDDXDIR) $(XNESTDDXDIR)
+	  $(XVFBDDXDIR) $(XNESTDDXDIR) $(XQTDDXDIR)
 SUBDIRS = $(STDDIRS) $(MFBDIR) $(CFBDIRS) $(IPLANDIRS) $(ILBMDIR) $(AFBDIR) \
           $(LMFCFBDIR) $(DDXDIRS) $(FBDIR) $(KDRIVEDIRS) $(MIEXTDIRS) \
 	  $(XWINPARSERDIR)