aboutsummaryrefslogtreecommitdiff
path: root/nx-X11/config/cf/convex.cf
blob: 859d9a01a074be21c4b1ec4e0ef430c5d7608724 (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
XCOMM platform:  $Xorg: convex.cf,v 1.3 2000/08/17 19:41:47 cpqbld Exp $

#ifndef OSName
#define OSName            	ConvexOS V9.0
#endif
XCOMM operating system:  OSName
#ifndef OSMajorVersion
#define OSMajorVersion		9
#endif
#ifndef OSMinorVersion
#define OSMinorVersion		0 
#endif
#ifndef VersionNumber
#define VersionNumber 		0.0.0.0
#endif

#define BootstrapCFlags   	-tm c1
#define SetTtyGroup		YES
#define BuildServer             NO
#define ConnectionFlags		-DTCPCONN -DUNIXCONN -DCOVUENETCONN
#define InstallXdmConfig	YES
#define XdmDir			$(LIBDIR)/xdm-sample
#define XdmServersType	fs	/* one tab here */
#define HasXmWidgets		NO
#define InstKmemFlags		-g kmem -m 2711 -v $(VERSION)
#define InstScriptFlags		-m 0755 -g bin
#define InstManFlags		-m 0444 -g bin
#define DefaultCCOptions    	-fn -tm c1 
#define LibraryCCOptions        -fx -tm c1 
#define StripFlags		-r -x
#define HasSecureOS		YES
#define BuildExamples		YES
#define BuildMotif		NO
#define BuildConvexClients	YES
#define MotifBC			YES
#define UilCommand		uil
#define ExampleDir		$(LIBDIR)/examples
#define UnSupDir		$(LIBDIR)/unsupported
#define BuildTestExt		YES
#define DefaultScreenSaverTime	0

#if BuildTestExt
#define TestDefines -DXTESTEXT1
#else
#define TestDefines /**/
#endif

#define ExtensionOSDefines TestDefines

        VERSION = VersionNumber
            UIL = UilCommand
       UNSUPDIR = UnSupDir	/* unsupported examples and code */

/*
 * _Use - makes a choice based on UseInstalled.
 */
#ifndef _Use
#ifdef UseInstalled
#define _Use(a,b) a
#else
#define _Use(a,b) b
#endif
#endif

/*
 * _UseCat - combination of _Use and Concat.
 *           exists to avoid problems with some preprocessors
 */
#ifndef _UseCat
#if (defined(__STDC__) || (defined(__convex__) && defined(__stdc__)))
&& !defined(UnixCpp)
#ifdef UseInstalled
#define _UseCat(a,b,c) a##c
#else
#define _UseCat(a,b,c) b##c
#endif
#else
#ifdef UseInstalled
#define _UseCat(a,b,c) a/**/c
#else
#define _UseCat(a,b,c) b/**/c
#endif
#endif
#endif

#if HasXmWidgets
   MRESOURCESRC = $(LIBSRC)/Mrm
DEPMRESOURCELIB = _UseCat($(USRLIBDIR),$(MRESOURCESRC),/libMrm.a)
   MRESOURCELIB = LoaderLibPrefix _Use(-lMrm,$(DEPMRESOURCELIB))
LINTMRESOURCELIB= _UseCat($(LINTLIBDIR),$(MRESOURCESRC),/llib-lMrm.ln)

       XMLIBSRC = $(LIBSRC)/Xm
       DEPXMLIB = _UseCat($(USRLIBDIR),$(XMLIBSRC),/libNX_Xm.a)
          XMLIB = LoaderLibPrefix _Use(-lNX_Xm,$(DEPXMLIB))
      LINTXMLIB = _UseCat($(LINTLIBDIR),$(XMLIBSRC),/llib-lNX_Xm.ln)

      UILLIBSRC = $(LIBSRC)/uil
      DEPUILLIB = _UseCat($(USRLIBDIR),$(UILLIBSRC),/libUil.a)
         UILLIB = LoaderLibPrefix _Use(-lUil,$(DEPUILLIB))
     LINTUILLIB = _UseCat($(LINTLIBDIR),$(UILLIBSRC),/llib-lUil.ln)

#endif