xref: /386bsd/usr/X386/lib/X11/config/convex.cf (revision a2142627)
1XCOMM platform:  $XConsortium: convex.cf,v 1.1 91/07/29 10:31:44 rws Exp $
2
3#define OSName            	ConvexOS V9.0
4XCOMM operating system:  OSName
5#define OSMajorVersion		9
6#define OSMinorVersion		0
7#define VersionNumber 		0.0.0.0
8
9#define BootstrapCFlags   	-tm c1
10#define SetTtyGroup		YES
11#define BuildServer             NO
12#define ConnectionFlags		-DTCPCONN -DUNIXCONN -DCOVUENETCONN
13#define InstallXdmConfig	YES
14#define XdmDir			$(LIBDIR)/xdm-sample
15#define XdmServersType	fs	/* one tab here */
16#define HasXmWidgets		NO
17#define InstKmemFlags		-g kmem -m 2755 -v $(VERSION)
18#define InstScriptFlags		-m 0755 -g bin
19#define InstManFlags		-m 0444 -g bin
20#define DefaultCCOptions    	-fn -tm c1
21#define LibraryCCOptions        -fx -tm c1
22#define StripFlags		-r -x
23#define HasSecureOS		YES
24#define BuildExamples		YES
25#define BuildMotif		NO
26#define BuildConvexClients	YES
27#define MotifBC			YES
28#define UilCommand		uil
29#define ExampleDir		$(LIBDIR)/examples
30#define UnSupDir		$(LIBDIR)/unsupported
31#define BuildTestExt		YES
32#define DefaultScreenSaverTime	0
33
34#if BuildTestExt
35#define TestDefines -DXTESTEXT1
36#else
37#define TestDefines /**/
38#endif
39
40#define ExtensionOSDefines TestDefines
41
42        VERSION = VersionNumber
43            UIL = UilCommand
44       UNSUPDIR = UnSupDir	/* unsupported examples and code */
45
46/*
47 * _Use - makes a choice based on UseInstalled.
48 */
49#ifndef _Use
50#ifdef UseInstalled
51#define _Use(a,b) a
52#else
53#define _Use(a,b) b
54#endif
55#endif
56
57/*
58 * _UseCat - combination of _Use and Concat.
59 *           exists to avoid problems with some preprocessors
60 */
61#ifndef _UseCat
62#if (defined(__STDC__) || (defined(__convex__) && defined(__stdc__)))
63&& !defined(UnixCpp)
64#ifdef UseInstalled
65#define _UseCat(a,b,c) a##c
66#else
67#define _UseCat(a,b,c) b##c
68#endif
69#else
70#ifdef UseInstalled
71#define _UseCat(a,b,c) a/**/c
72#else
73#define _UseCat(a,b,c) b/**/c
74#endif
75#endif
76#endif
77
78#if HasXmWidgets
79   MRESOURCESRC = $(LIBSRC)/Mrm
80DEPMRESOURCELIB = _UseCat($(USRLIBDIR),$(MRESOURCESRC),/libMrm.a)
81   MRESOURCELIB = LoaderLibPrefix _Use(-lMrm,$(DEPMRESOURCELIB))
82LINTMRESOURCELIB= _UseCat($(LINTLIBDIR),$(MRESOURCESRC),/llib-lMrm.ln)
83
84       XMLIBSRC = $(LIBSRC)/Xm
85       DEPXMLIB = _UseCat($(USRLIBDIR),$(XMLIBSRC),/libXm.a)
86          XMLIB = LoaderLibPrefix _Use(-lXm,$(DEPXMLIB))
87      LINTXMLIB = _UseCat($(LINTLIBDIR),$(XMLIBSRC),/llib-lXm.ln)
88
89      UILLIBSRC = $(LIBSRC)/uil
90      DEPUILLIB = _UseCat($(USRLIBDIR),$(UILLIBSRC),/libUil.a)
91         UILLIB = LoaderLibPrefix _Use(-lUil,$(DEPUILLIB))
92     LINTUILLIB = _UseCat($(LINTLIBDIR),$(UILLIBSRC),/llib-lUil.ln)
93
94#endif
95