sequent.cf revision 1c80d5b0
111d341caSmrgXCOMM platform:  $XConsortium: sequent.cf$
211d341caSmrg
311d341caSmrg/*
411d341caSmrg * SET VERSION NUMBERS BEFORE MAKING MAKEFILES; also, you'll need to install
511d341caSmrg * util/scripts/bsdinstall.sh before doing a "make install"
611d341caSmrg */
711d341caSmrg
811d341caSmrg/*
911d341caSmrg * Version numbers are set one of two ways:
1011d341caSmrg *
1111d341caSmrg * If the target version is different than the machine you are building on,
1211d341caSmrg * set the target versions using the environmental variable IMAKEINCLUDES.
1311d341caSmrg * Example: IMAKEINCLUDES="-I. -DOSMajorVersion=4 -DOSMinorVersion=4"
1411d341caSmrg * This is usually only done at Sequent when building a product using
1511d341caSmrg * cross compiling tools and target headers and libraries.
1611d341caSmrg *
1711d341caSmrg * Otherwise, the imake will use uname(2) to calculate the default to be
1811d341caSmrg * the same as the machine you are building on.  The X11R6 imake will set
1911d341caSmrg * DefaultOS*Version macros to be these default values.
2011d341caSmrg * Those default values will be used in the assignments below.
2111d341caSmrg * This is the recommended method to be used by customers.
2211d341caSmrg */
2311d341caSmrg
2411d341caSmrg				/* defaults from imake via uname(2) */
2511d341caSmrg#ifndef OSName
2611d341caSmrg#define OSName			DefaultOSName
2711d341caSmrg#endif
2811d341caSmrg#ifndef OSMajorVersion
2911d341caSmrg#define OSMajorVersion		DefaultOSMajorVersion
3011d341caSmrg#endif
3111d341caSmrg#ifndef OSMinorVersion
3211d341caSmrg#define OSMinorVersion		DefaultOSMinorVersion
3311d341caSmrg#endif
3411d341caSmrg#ifndef OSTeenyVersion
3511d341caSmrg#define OSTeenyVersion		DefaultOSTeenyVersion
3611d341caSmrg#endif
3711d341caSmrgXCOMM operating system:  OSName V/**/OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion
3811d341caSmrg
3911d341caSmrg/*
4011d341caSmrg * Sequent Dynix/PTX 4.x.x (SVR4) and later operating systems.
4111d341caSmrg *
4211d341caSmrg * Sequent Dynix/PTX 4.2.3 and later operating systems are supported with
4311d341caSmrg * the X11R6 sequent.cf and other X11R6 configuration files.
4411d341caSmrg * Specifically 4.4.2 and later have been tested.
4511d341caSmrg *
4611d341caSmrg * Attempting to use these X11R6 configuration files and X11R6 source files
4711d341caSmrg * with early versions of Dynix/PTX 4.x.x may work, however that will not be
4811d341caSmrg * tested or supported at Sequent.
4911d341caSmrg * Sequent Dynix/PTX 2.1.x has been retired so support for it and earlier
5011d341caSmrg * releases has been removed.
5111d341caSmrg */
5211d341caSmrg
5311d341caSmrg#if OSMajorVersion >= 4
5411d341caSmrg
5511d341caSmrg#define SystemV4		YES
5611d341caSmrg#define SequentVersionDefines	-DSVR4
571c80d5b0Smrg#define ExtraLibraries
5811d341caSmrg#define ForceNormalLib		YES
5911d341caSmrg#define HasRequiredLibs		YES
6011d341caSmrg#define NeedBerklib		NO	/* gettimeofday in libc */
6111d341caSmrg
6211d341caSmrg#define XmExtraLibraries	/* for ABI-compliance do not use -lgen here */
6311d341caSmrg#define MotifDefines		-DXM_STRINGS_1_2_2_STATE  /* code review */
6411d341caSmrg
6511d341caSmrg/* initial port does not use multiple socket libs, default libsocket.so.1.1 */
6611d341caSmrg#define HasMultipleSockets	NO	/* obsolete */ /* only libsocket.so.1.1 */
6711d341caSmrg
6811d341caSmrg#endif /* OSMajorVersion >= 4 */
6911d341caSmrg
7011d341caSmrg/*
7111d341caSmrg * Below this line are generic defines that apply to all Sequent systems.
7211d341caSmrg * However they are currently tested with only OSMajorVersion >= 4
7311d341caSmrg */
7411d341caSmrg
7511d341caSmrg/*
7611d341caSmrg * The following cpp macro defines are order independent,
7711d341caSmrg * since the right-hand-side is constant.
7811d341caSmrg * Therefore these are simply listed in alphabetical order.
7911d341caSmrg * Macros defined later may use these definitions.
8011d341caSmrg */
8111d341caSmrg
821c80d5b0Smrg/*
8311d341caSmrg * Threads.tmpl cpp macros.
8411d341caSmrg * Sequent overrides the Threads.tmpl defaults with the values below.
8511d341caSmrg * Sequent has native threads for ptx 4.5.0 and higher.
8611d341caSmrg */
8711d341caSmrg
8811d341caSmrg#if ( OSMajorVersion >= 5 || (OSMajorVersion == 4 && OSMinorVersion >= 5) )
8911d341caSmrg
9011d341caSmrg#define HasPosixThreads			YES
9111d341caSmrg#define HasThreadSafeAPI		YES
9211d341caSmrg#define ThreadedX			YES
9311d341caSmrg#define ThreadsLibraries		/**/
9411d341caSmrg#define ThreadsCplusplusLibraries	/**/
9511d341caSmrg#define ThreadPreStdAPIDefines		/**/
9611d341caSmrg#define ThreadsCompileFlags		-Kthread
9711d341caSmrg#define ThreadsCplusplusCompileFlags	-Kthread
9811d341caSmrg#define SharedThreadReqs		/**/
9911d341caSmrg
10011d341caSmrg/*
10111d341caSmrg * THREADS macro and environment variable used with Sequent commands only.
1021c80d5b0Smrg * We use THREADS rather than the generic X11 THREADS_CFLAGS because we
10311d341caSmrg * want to ensure that the macro is defined for all compiles and not just
10411d341caSmrg * those Makefiles built from a Imakefile that includes Threads.tmpl.
10511d341caSmrg *
10611d341caSmrg * Sequent compiler option -Kthread will also define -D_SEQUENT_THREADS.
10711d341caSmrg * Currently using -Kthread is the recommended interface to this define.
10811d341caSmrg * Currently there are no extra includes files using -D_SEQUENT_THREADS.
10911d341caSmrg * Currently no reason for makedepend or cpp to use -D_SEQUENT_THREADS.
11011d341caSmrg * If needed in the future, we would add to ProjectThreadsDefines
11111d341caSmrg *
11211d341caSmrg * #define ProjectThreadsDefines -DXTHREADS -D_SEQUENT_THREADS
11311d341caSmrg */
11411d341caSmrg
11511d341caSmrg  THREADS = -Kthread
11611d341caSmrg
11711d341caSmrg#endif /* ptx 4.5.0 or greater has threads */
11811d341caSmrg
1191c80d5b0Smrg/*
12011d341caSmrg * Imake.tmpl cpp macros.
12111d341caSmrg * Sequent overrides the Imake.tmpl defaults with the values below.
12211d341caSmrg */
12311d341caSmrg
12411d341caSmrg#define BuildLibPathVar		LD_LIBRARY_PATH
12511d341caSmrg#define DefaultCCOptions	-Xa
12611d341caSmrg#define ExpandManNames		YES
12711d341caSmrg#define ExtraFilesToClean	*.z
12811d341caSmrg#define HasNdbm			YES
12911d341caSmrg#define HasShadowPasswd		YES
13011d341caSmrg#define HasSockets		YES	/* default */
13111d341caSmrg#define HasVarDirectory		NO
13211d341caSmrg#ifdef UseInstalled
13311d341caSmrg#define InstallCmd $(BINDIR)/ptxinst -t "$(TOOLS)"
13411d341caSmrg#else
13511d341caSmrg#define InstallCmd $(SHELL) $(SCRIPTSRC)/ptxinst.sh
13611d341caSmrg#endif /* UseInstalled */
13711d341caSmrg#define InstPgmFlags		-s -m 0555 -o bin -g bin
13811d341caSmrg#define InstBinFlags		-s -m 0555 -o bin -g bin
13911d341caSmrg#define InstLibFlags		-m 0444 -o bin -g bin
14011d341caSmrg#define InstShLibFlags		-m 0555 -o bin -g bin
14111d341caSmrg#define Malloc0ReturnsNull	YES
14211d341caSmrg#define ManSuffix	1		/* use just one tab or cpp will die */
14311d341caSmrg#define LibManSuffix	3x		/* use just one tab or cpp will die */
14411d341caSmrg#define LibmanDir	$(MANSOURCEPATH)3
14511d341caSmrg#define MiscManSuffix	5x		/* use just one tab or cpp will die */
14611d341caSmrg#define MiscManDir	$(MANSOURCEPATH)5
14711d341caSmrg#define MkdirHierCmd		mkdir -p
14811d341caSmrg#define NeedConstPrototypes     YES
14911d341caSmrg#define NeedFunctionPrototypes  YES
15011d341caSmrg#define NeedNestedPrototypes    YES
15111d341caSmrg#define NeedVarargsPrototypes   YES
15211d341caSmrg#define StripInstalledPrograms	YES
15311d341caSmrg#define SystemManDirectory	/usr/catman
15411d341caSmrg#define TermcapLibrary		-lcurses	/* code review for SVR4 ? */
15511d341caSmrg#define TerminfoDir		/usr/lib/terminfo	/* Sequent addition */
15611d341caSmrg#define ToolkitStringsABIOptions -intelabi
15711d341caSmrg
15811d341caSmrg
1591c80d5b0Smrg/*
16011d341caSmrg * X11.tmpl cpp macros.
16111d341caSmrg * Sequent overrides the X11.tmpl defaults with the values below.
16211d341caSmrg */
16311d341caSmrg
16411d341caSmrg#define BuildDps		YES
16511d341caSmrg#define BuildServer		YES
16611d341caSmrg#define BuildXF86DGA		NO	/* DGA has no meaning on Sequent HW */
16711d341caSmrg#define BuildXF86MiscExt	NO	/* turn off the server portion */
16811d341caSmrg#define BuildXF86VidModeExt	NO	/* turn off the server portion */
16911d341caSmrg#define BuildXInputExt		YES
17011d341caSmrg#define BuildXKBuilib		YES	/* override NO set in xorg.cf */
17111d341caSmrg#define ConnectionFlags		-DTCPCONN
17211d341caSmrg#define DefaultSystemPath	/bin:/etc:/usr/bin:$(BINDIR)
17311d341caSmrg#define DefaultUserPath		:/bin:/usr/bin:$(BINDIR)
17411d341caSmrg#define HasPlugin		YES
17511d341caSmrg#define HasXServer		NO
17611d341caSmrg#define InstallFSConfig		YES	/* safe since we install to DESTDIR */
17711d341caSmrg#define InstallXdmConfig	YES	/* safe since we install to DESTDIR */
17811d341caSmrg#define MotifBC			NO	/* default, code review from X11R5  */
17911d341caSmrg#define XdmServersType	fs	/* One tab here.  Needed if BuildServer YES */
18011d341caSmrg#define XtMalloc0ReturnsNullDefines Malloc0ReturnsNullDefines -DXTMALLOC_BC
18111d341caSmrg#define XprtServer		YES
18211d341caSmrg#define XVirtualFramebufferServer	YES
18311d341caSmrg#define XF86SVGAServer		NO	/* Don't build the XFree86 servers */
18411d341caSmrg#define XF86S3Server		NO
18511d341caSmrg#define XF86S3VServer		NO
18611d341caSmrg#define XF86I8514Server		NO
18711d341caSmrg#define XF86Mach8Server		NO
18811d341caSmrg#define XF86Mach32Server	NO
18911d341caSmrg#define XF86Mach64Server	NO
19011d341caSmrg#define XF86P9000Server		NO
19111d341caSmrg#define XF86AGXServer		NO
19211d341caSmrg#define XF86I128Server		NO
19311d341caSmrg#define XF86GLINTServer		NO
19411d341caSmrg#define XF86REALimageServer	NO
19511d341caSmrg
1961c80d5b0Smrg/*
19711d341caSmrg * Motif.tmpl cpp macros.
19811d341caSmrg * Sequent overrides the Motif.tmpl default with the values below.
19911d341caSmrg */
20011d341caSmrg
20111d341caSmrg#define GencatCmd             /usr/lbin/gencat
20211d341caSmrg
20311d341caSmrg/* Port Sequent macro DontBuildMotifConfig to Motif 2.1 */
20411d341caSmrg/*
20511d341caSmrg * #ifndef MetroLink
20611d341caSmrg * #define DontBuildMotifConfig
20711d341caSmrg * #endif
20811d341caSmrg */
20911d341caSmrg
2101c80d5b0Smrg/*
21111d341caSmrg * Sequent added cpp macros.
2121c80d5b0Smrg *
21311d341caSmrg * The following cpp macro defines have been introduced by Sequent.
21411d341caSmrg * They will be referenced in Sequent patches sent to TOG.
21511d341caSmrg * They may be moved above if accepted by TOG or X.org.
21611d341caSmrg */
21711d341caSmrg
21811d341caSmrg#define AdminBaseDir		  /usr/admin.ptx/etc/base.dir
21911d341caSmrg#define MessageCatDir		  /usr/lib/message/C
22011d341caSmrg#define NeedXinputAlias		  YES
22111d341caSmrg#define UseHidesymsLists	  YES
22211d341caSmrg#define XlbiffMailPath		  /usr/mail/%s	/* used by contrib xlbiff */
22311d341caSmrg
2241c80d5b0Smrg/*
22511d341caSmrg * Imake.tmpl, X11.tmpl, or other order dependent cpp defines.
22611d341caSmrg *
22711d341caSmrg * The following cpp macro defines are order dependent.
22811d341caSmrg * They depend on previously defined cpp macros.
22911d341caSmrg * Do not change the order.
23011d341caSmrg */
23111d341caSmrg#define SharedLibraryCCOptions	DefaultCCOptions
23211d341caSmrg#define StandardDefines		SequentVersionDefines -DOSMAJORVERSION=OSMajorVersion -DOSMINORVERSION=OSMinorVersion -DANSICPP -DDYNIX_C2 -DMetroLink
23311d341caSmrg#define StandardCppDefines	StandardDefines -D_SOCKET_VERSION=11 -DUnixCpp
23411d341caSmrg
23511d341caSmrg#ifdef ProjectRoot
23611d341caSmrg#define ManDirectoryRoot	ProjectRoot/**//catman
23711d341caSmrg#else
23811d341caSmrg#define ManDirectoryRoot	SystemManDirectory
23911d341caSmrg#endif
24011d341caSmrg#define XmanSearchPath		ManDirectoryRoot /* for X11R5 xman */
24111d341caSmrg
2421c80d5b0Smrg/*
24311d341caSmrg * Sequent configuration environment specific to building X11 and Motif.
24411d341caSmrg * This environment is only available when UseInstalled is not defined.
24511d341caSmrg * Therefore this environment is not used by customers using xmkmf.
24611d341caSmrg */
24711d341caSmrg
24811d341caSmrg#ifndef UseInstalled
24911d341caSmrg
25011d341caSmrg/* Product builds using local X11 and Motif trees */
25111d341caSmrg
25211d341caSmrg/*
25311d341caSmrg * Provide libraries needed by nonX programs in the X11 build tree.
25411d341caSmrg * These are not standard so the customer will be forced to add them to their
25511d341caSmrg * Imakefile SYS_LIBRARIES if needed.  An ABI program may not want or need them,
25611d341caSmrg * so we do not include them in the ExtraLibraries provided to customers
25711d341caSmrg * when UseInstalled is defined.  We add them here as a convenience when
25811d341caSmrg * building the entire X11 tree (at Sequent or the contractor).
25911d341caSmrg */
26011d341caSmrg#undef ExtraLibraries
26111d341caSmrg#define ExtraLibraries	-lsocket -lnsl
26211d341caSmrg
26311d341caSmrg/*
26411d341caSmrg * Sequent builds X11 and Motif in the same tree.
26511d341caSmrg * The Motif project files include the X11 project files.
26611d341caSmrg *
26711d341caSmrg * Later we may use the Local project files similer the the lynx.cf
26811d341caSmrg *
26911d341caSmrg * #define LocalTmplFile		<Motif.tmpl>
27011d341caSmrg * #define LocalRulesFile		<Motif.rules>
27111d341caSmrg */
27211d341caSmrg
27311d341caSmrg/* Try the Metro Link method. */
27411d341caSmrg
27511d341caSmrg#ifndef MetroLink
27611d341caSmrg#undef ProjectTmplFile
27711d341caSmrg#define ProjectTmplFile		<Motif.tmpl>
27811d341caSmrg#undef ProjectRulesFile
27911d341caSmrg#define ProjectRulesFile	<Motif.rules>
28011d341caSmrg#endif
28111d341caSmrg
28211d341caSmrg/*
28311d341caSmrg * Later change to Metro Link directory layout,
28411d341caSmrg * or allow $(TOP)/../motif21
28511d341caSmrg */
28611d341caSmrg
28711d341caSmrg/* Try the Metro Link method. */
28811d341caSmrg
28911d341caSmrg#ifndef MetroLink
29011d341caSmrg#define MTop $(TOP)/motif21
29111d341caSmrg#endif
29211d341caSmrg
29311d341caSmrg/*
29411d341caSmrg * Set the Program macros to be correct for the target machine.
29511d341caSmrg * This will avoid using any crosstools as hardwired strings
29611d341caSmrg * built into binaries that will run on the target machine.
29711d341caSmrg *
29811d341caSmrg * These macro names need to be ported from X11R5 to X11R6.
29911d341caSmrg */
30011d341caSmrg#define ArProgramBase	ar
30111d341caSmrg#define CppProgram	/lib/cpp
30211d341caSmrg#define CcProgram	cc
30311d341caSmrg#define RanlibProgram	ranlib
30411d341caSmrg
30511d341caSmrg/*
30611d341caSmrg * Build all the X11 debug libaries *_d.a for use by Sequent Service
30711d341caSmrg */
30811d341caSmrg
30911d341caSmrg/*
31011d341caSmrg * Set DebugLibDefault YES for Sequent to build all debug libs.
31111d341caSmrg * If we move this to generic code to *.tmpl files,
31211d341caSmrg * use the default code below that sets the default NO
31311d341caSmrg */
31411d341caSmrg
31511d341caSmrg#define DebugLibDefault		NO
31611d341caSmrg
31711d341caSmrg#ifndef DebugLibDefault
31811d341caSmrg#define DebugLibDefault		NO
31911d341caSmrg#endif
32011d341caSmrg
32111d341caSmrg#define DebugLibX11		DebugLibDefault	/* debugged X library */
32211d341caSmrg#define DebugLibXext		DebugLibDefault	/* debugged Xext library */
32311d341caSmrg#define DebugLibXau		DebugLibDefault	/* debugged auth library */
32411d341caSmrg#define DebugLibXdmcp		DebugLibDefault	/* debugged XDMCP library */
32511d341caSmrg#define DebugLibXmu		DebugLibDefault	/* debugged Xmu library */
32611d341caSmrg#define DebugLibXp              DebugLibDefault	/* debugged Xp library */
32711d341caSmrg#define DebugLibXt		DebugLibDefault	/* debugged toolkit library */
32811d341caSmrg#define DebugLibXa		DebugLibDefault	/* debugged audio library */
32911d341caSmrg#define DebugLibXaw		DebugLibDefault	/* debugged widget library */
33011d341caSmrg#define DebugLibXi		DebugLibDefault	/* debugged Xi library */
33111d341caSmrg#define DebugLibXtst		DebugLibDefault	/* debugged Xtst library */
33211d341caSmrg#define DebugLibICE		DebugLibDefault	/* debugged ICE library */
33311d341caSmrg#define DebugLibSM		DebugLibDefault	/* debugged SM library */
33411d341caSmrg#define DebugLibXkey		DebugLibDefault	/* debugged Xkey library */
33511d341caSmrg#define DebugLibFS		DebugLibDefault	/* debugged FS library */
33611d341caSmrg
33711d341caSmrg/*
33811d341caSmrg * Build all the Motif debug libaries *_d.a for use by Service
33911d341caSmrg */
34011d341caSmrg#define DebugLibXm		DebugLibDefault
34111d341caSmrg#define DebugLibMrm		DebugLibDefault
34211d341caSmrg#define DebugLibUil		DebugLibDefault
34311d341caSmrg
34411d341caSmrg/*
34511d341caSmrg * Build all the Adobe DPS debug libaries *_d.a for use by Service
34611d341caSmrg */
34711d341caSmrg#define DebugLibDps		DebugLibDefault
34811d341caSmrg
34911d341caSmrg#endif /* ! UseInstalled */
35011d341caSmrg
35111d341caSmrg/*
35211d341caSmrg * Sequent general make macros.
35311d341caSmrg * X11R6.5 should migrate these to Imake.tmpl.
35411d341caSmrg */
35511d341caSmrg
35611d341caSmrgXCOMM Sequent general make macros.
35711d341caSmrg
35811d341caSmrg#ifndef PackCmd
35911d341caSmrg#define PackCmd pack
36011d341caSmrg#endif
36111d341caSmrg            PACK = PackCmd
36211d341caSmrg
36311d341caSmrg/*
36411d341caSmrg * Sequent unique make macros.  These will always be unique to Sequent.
36511d341caSmrg * We introduce them here in sequent.cf since cpp macros are set in sequent.cf.
36611d341caSmrg * We may later move them to sequentLib.tmpl.
36711d341caSmrg */
36811d341caSmrg
36911d341caSmrgXCOMM Sequent unique make macros.
37011d341caSmrg
37111d341caSmrg     ADMINBASEDIR = AdminBaseDir
37211d341caSmrg    MESSAGECATDIR = MessageCatDir
37311d341caSmrg
37411d341caSmrg/*
37511d341caSmrg * DPS default values (unique to sequent)
37611d341caSmrg */
37711d341caSmrg#ifndef PswrapCmd
37811d341caSmrg#define PswrapCmd     pswrap
37911d341caSmrg#endif
38011d341caSmrg
38111d341caSmrg#ifdef UseHidesymsLists
38211d341caSmrg
38311d341caSmrg#ifndef HidesymsCmd
38411d341caSmrg#define HidesymsCmd /usr/lib/hidesyms/hidesyms
38511d341caSmrg#endif
38611d341caSmrg#ifndef HsAcppCmd
38711d341caSmrg#define HsAcppCmd /lib/acpp
38811d341caSmrg#endif
38911d341caSmrg/*
39011d341caSmrg * When building in the X11 tree.
39111d341caSmrg * For shared libs,   hidesyms executes in a subdir.
39211d341caSmrg * For unshared libs, hidesyms executes in a subsubdir.
39311d341caSmrg * Therefore we add both of these to the acpp path:
39411d341caSmrg * ../../$(BUILDINCROOT)/lib/hidesyms:../$(BUILDINCROOT)/lib/hidesyms
39511d341caSmrg */
39611d341caSmrg#ifndef HsAcppLocalPath
39711d341caSmrg# define HsAcppLocalPath ../../$(BUILDINCROOT)/lib/hidesyms:../$(BUILDINCROOT)/lib/hidesyms
39811d341caSmrg#endif
39911d341caSmrg#ifndef HsAcppSystemPath
40011d341caSmrg# define HsAcppSystemPath /usr/lib/hidesyms
40111d341caSmrg#endif
40211d341caSmrg#ifndef HsAcppPath
40311d341caSmrg# ifdef UseInstalled
40411d341caSmrg# define HsAcppPath HsAcppSystemPath
40511d341caSmrg# else
40611d341caSmrg# define HsAcppPath HsAcppLocalPath:HsAcppSystemPath
40711d341caSmrg# endif /* UseInstalled */
40811d341caSmrg#endif
4091c80d5b0Smrg/*
4101c80d5b0Smrg * note: -DABI_SHARED_OBJECT requires a temporary fix added to
41111d341caSmrg * Xt/Error.c to provide missing _abi_* routines not in libc.so.1.
41211d341caSmrg * When the base adds those missing _abi_* to libc.so.1,
41311d341caSmrg * then the code in Xt/Error.c can be removed and the corresponding
41411d341caSmrg * symbols added to Xt/libXt.hs can be removed.
41511d341caSmrg */
41611d341caSmrg#ifndef HsAcppDefines
41711d341caSmrg#define HsAcppDefines -DABI_SHARED_OBJECT -D_SOCKET_VERSION=11 $(THREADS_DEFINES)
41811d341caSmrg#endif
41911d341caSmrg
42011d341caSmrg/*
42111d341caSmrg * For shared libs, hidesyms executes in a subdir,
42211d341caSmrg * therefore we add a -L../$(BUILDLIBDIR)
42311d341caSmrg */
42411d341caSmrg#ifndef LdPreLib
42511d341caSmrg#ifndef UseInstalled
42611d341caSmrg#define LdPreLib -L$(BUILDLIBDIR) -L../$(BUILDLIBDIR)
42711d341caSmrg#endif
42811d341caSmrg#endif
42911d341caSmrg
43011d341caSmrgXCOMM HIDESYMS is for filtering system library symbols.
43111d341caSmrg
43211d341caSmrg         HIDESYMS = HidesymsCmd
43311d341caSmrg       HSACPPPATH = HsAcppPath
43411d341caSmrg        HSACPPCMD = HsAcppCmd
43511d341caSmrg    HSACPPDEFINES = HsAcppDefines
43611d341caSmrg           HSACPP = $(HSACPPCMD) -Y $(HSACPPPATH) $(HSACPPDEFINES)
43711d341caSmrg            HSCMD = $(HIDESYMS) -z -p "$(HSACPP)"
43811d341caSmrg
43911d341caSmrg#endif /* UseHidesymsLists */
44011d341caSmrg
44111d341caSmrg#if OSMajorVersion >= 4
44211d341caSmrg#include <xorg.cf>
44311d341caSmrg#include <sequentLib.rules>	/* include after macros, before Motif.rules */
44411d341caSmrg#endif /* OSMajorVersion >= 4 */
445