Commit 23d67f1b authored by dawes's avatar dawes
Browse files

Import of XFree86 4.0.1e

parent f93d27aa
......@@ -17,7 +17,14 @@ XCOMM $TOG: Imake.cf /main/30 1998/04/28 13:55:25 barstow $
*
* 4. Create a .cf file with the name given by MacroFile.
*/
XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.61 2000/09/19 12:46:03 eich Exp $
XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.63 2000/11/06 19:24:00 dawes Exp $
#if defined(__APPLE__)
# undef __APPLE__
# define MacroIncludeFile <darwin.cf>
# define MacroFile darwin.cf
# define DarwinArchitecture
#endif
#if defined(clipper) || defined(__clipper__)
# undef clipper
......@@ -133,6 +140,10 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.61 2000/09/19 12:46:03 eich Exp $
# endif
# undef mc68000
# endif
# ifdef __powerpc__
# define PpcArchitecture
# undef __powerpc__
# endif
#endif /* OpenBSD */
#ifdef __NetBSD__
......@@ -169,6 +180,10 @@ XCOMM $XFree86: xc/config/cf/Imake.cf,v 3.61 2000/09/19 12:46:03 eich Exp $
# define VaxArchitecture
# undef __vax__
# endif
# ifdef __powerpc__
# define PpcArchitecture
# undef __powerpc__
# endif
#endif /* NetBSD */
#ifdef __FreeBSD__
......
......@@ -5,7 +5,7 @@ XCOMM
XCOMM
XCOMM
XCOMM
XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.79 2000/10/24 22:45:00 dawes Exp $
XCOMM rules: $XFree86: xc/config/cf/Imake.rules,v 3.81 2000/11/02 02:51:05 dawes Exp $
/*
* MACHINE-INDEPENDENT RULES; DO NOT MODIFY
......@@ -538,6 +538,7 @@ includes:: srclist @@\
all:: $(BUILDBINDIR)/binary binary @@\
@@\
$(BUILDBINDIR)/binary: binary @@\
MakeDir($(BUILDBINDIR)) @@\
RemoveFile($@) @@\
cd $(BUILDBINDIR) && $(LN) $(BUILDBINTOP)/$(CURRENT_DIR)/binary .
#endif /* LinkBuildBinary */
......@@ -1319,7 +1320,7 @@ clean:: @@\
install.man:: file.suffix.html @@\
@SUF=`expr suffix \: '\(.\)'`; \ @@\
for i in aliases; do (set -x; \ @@\
RemoveFile($(DESTDIR)$(DOCHTMLDIR)/$$i.suffix.html); \ @@\
RemoveFile($(DESTDIR)$(DOCHTMLDIR)/$$i.$$SUF.html); \ @@\
(cd $(DESTDIR)$(DOCHTMLDIR); \ @@\
$(LN) file.$$SUF.html $$i.$$SUF.html)); \ @@\
done
......@@ -1585,7 +1586,7 @@ install:: @@\
sed -e 's:^.::' -e 's:[^/.][^/]*:..:'g`; \ @@\
cd Concat($(DESTDIR),opath); \ @@\
if [ -f lfile -a ! -h lfile ]; then \ @@\
cp -p lfile Concat($(DESTDIR),npath/cfile; \ @@\
cp -p lfile Concat($(DESTDIR),npath/cfile); \ @@\
fi; \ @@\
$(RM) -r lfile; \ @@\
$(LN) Concat($${RELPATH},npath/cfile) lfile; \ @@\
......
XCOMM $XConsortium: Imakefile /main/38 1996/11/07 14:43:46 kaleb $
XCOMM $XFree86: xc/config/cf/Imakefile,v 3.23 2000/08/09 23:40:08 dawes Exp $
XCOMM $XFree86: xc/config/cf/Imakefile,v 3.24 2000/11/02 02:51:06 dawes Exp $
XCOMM Some compilers generate fatal errors if an -L directory does
XCOMM not exist. Since BUILDLIBDIR may not exist yet suppress its use.
......@@ -122,6 +122,7 @@ usl.cf \
lynx.cf \
x386.cf \
QNX4.cf \
darwin.cf \
xfree86.cf
INSTFILES = $(RULEFILES) $(TMPLFILES) $(DEFFILES) $(CFFILES) $(LOCALFILES)
......
XCOMM platform: $XFree86: xc/config/cf/OpenBSD.cf,v 3.39 2000/08/01 23:38:45 dawes Exp $
XCOMM platform: $XFree86: xc/config/cf/OpenBSD.cf,v 3.40 2000/11/06 19:24:00 dawes Exp $
XCOMM
#ifndef OSName
......@@ -19,6 +19,22 @@ XCOMM
#endif
XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVersion)
#ifdef Ports
#define BinDir /usr/local/bin
#define UsrLibDir /usr/local/lib
#define ManDirectoryRoot /usr/local/man
#define LdPreLib -L/usr/X11R6/lib -L/usr/local/lib
#define XpmLibDir /usr/X11R6/lib
#define XpmIncDir /usr/X11R6/include
#define ConfigDir /usr/X11R6/lib/X11/config
#define IncRoot /usr/local/include
#define TopXInclude -I/usr/X11R6/include
#define ImakeCmd imake -DPorts
#define DocDir /usr/local/share/doc
#endif
/*
* C library features
*/
......@@ -39,7 +55,11 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#define HasKrbIV YES
#endif
#define HasDlopen YES
#define DlLibrary /**/
#ifndef PpcArchitecture
# define DlLibrary /**/
#else
# define DlLibrary -ldl
#endif
#define HasUsableFileMmap YES
#define HasNCurses YES
......@@ -59,7 +79,7 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
/*
* Multi-thread safe libs
*/
#if OSMajorVersion == 2 && OSMinorVersion >= 6 || OSMajorVersion >= 3
#if !defined(PpcArchitecture) && (OSMajorVersion == 2 && OSMinorVersion >= 6 || OSMajorVersion >= 3)
# define HasPosixThreads YES
# define ThreadedX YES
# define SystemMTDefines -D_REENTRANT
......@@ -69,12 +89,12 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
# define BuildThreadStubLibrary YES
# define NeedUIThrStubs YES
# define ThreadsCompileFlags -pthread
# define ThreadsLibraries -lc_r
# define ThreadsLibraries -lc_r
# endif
#endif
#if OSMajorVersion == 2 && OSMinorVersion > 6 || OSMajorVersion >= 3
# define HasThreadSafeAPI YES
# define HasThreadSafeAPI YES
#endif
/*
......@@ -104,50 +124,68 @@ XCOMM operating system: OSName (OSMajorVersion./**/OSMinorVersion./**/OSTeenyVe
#if defined(UseInstalled)
#define DefaultCCOptions /**/
#else
#define DefaultCCOptions -ansi -Dasm=__asm GccWarningOptions
# ifdef PpcArchitecture
# define DefaultCCOptions -ansi -fsigned-char -Dasm=__asm GccWarningOptions
# else
# define DefaultCCOptions -ansi -Dasm=__asm GccWarningOptions
# endif
#endif
#define GccGasOption -DGCCUSESGAS
#define AsmDefines -DUSE_GAS
#ifdef i386Architecture
# ifndef DefaultGcc2i386Opt
# if (OSMajorVersion == 2 && OSMinorVersion >= 3) || OSMajorVersion > 2
/* The GCC strength-reduce bug is fixed for OpenBSD 2.3 and later */
# define DefaultGcc2i386Opt -O2
# ifndef DefaultGcc2i386Opt
# if (OSMajorVersion == 2 && OSMinorVersion >= 3) || OSMajorVersion > 2
/* The GCC strength-reduce bug is fixed for OpenBSD 2.3 and later */
# define DefaultGcc2i386Opt -O2
# endif
# endif
# endif
# define OptimizedCDebugFlags DefaultGcc2i386Opt
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
# define ServerExtraSysLibs -li386
# define LdPostLib /**/
#else
# define OptimizedCDebugFlags -O2
# if defined(SparcArchitecture) || defined(AlphaArchitecture)
# define OptimizedCDebugFlags DefaultGcc2i386Opt
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME
# define ServerExtraSysLibs -li386
# define LdPostLib /**/
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# ifndef XFree86ConsoleDefines
# define XFree86ConsoleDefines -DPCCONS_SUPPORT -DPCVT_SUPPORT
# endif
#endif
#ifdef SparcArchitecture
# define OptimizedCDebugFlags -O2
# define ServerOSDefines -DDDXOSINIT
# else
# define ServerOSDefines /**/
# endif
# define ServerExtraDefines XFree86ServerDefines
#endif
#ifdef AlphaArchitecture
# define OptimizedCDebugFlags -O2
# define ServerOSDefines -DDDXOSINIT
# define ServerExtraDefines GccGasOption -D_XSERVER64
#endif
#if defined(i386Architecture) || defined(ArcArchitecture)
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# ifndef XFree86ConsoleDefines
# if defined(ArcArchitecture)
# define XFree86ConsoleDefines -DPCCONS_SUPPORT
# else
# define XFree86ConsoleDefines -DPCCONS_SUPPORT -DPCVT_SUPPORT
#ifdef ArcArchitecture
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# ifndef XFree86ConsoleDefines
# define XFree86ConsoleDefines -DPCCONS_SUPPORT
# endif
# endif
#else
# if defined(SparcArchitecture)
# define ServerExtraDefines XFree86ServerDefines
# else
# if defined(AlphaArchitecture)
# define ServerExtraDefines GccGasOption -D_XSERVER64
# else
# define ServerExtraDefines GccGasOption
#endif
#ifdef PpcArchitecture
# define OptimizedCDebugFlags -O2
# define ServerOSDefines XFree86ServerOSDefines -DDDXTIME -DDDXOSINIT
# define ServerExtraDefines GccGasOption XFree86ServerDefines
# define XkbServerDefines -DXKB_ALWAYS_USES_SOFT_REPEAT
# ifndef XFree86ConsoleDefines
# define XFree86ConsoleDefines -DWSCONS_SUPPORT
# endif
# endif
#endif /* Ppc */
#ifndef ServerOSDefines
# define ServerOSDefines /**/
#endif
#ifndef ServerExtraDefines
# define ServerExtraDefines GccGasOption
#endif
#define StandardDefines -DCSRG_BASED
......@@ -301,6 +339,14 @@ install:: fonts.alias @@\
$(RM) _fonts.alias
#endif /* InstallFontAliasesNoComment */
/*
* OpenBSD specific Imake Config files
*/
#ifndef LocalConfigFiles
#define LocalConfigFiles \
OpenBSDLib.rules
#endif
/*
* Architecture specific sections - put all architecture dependent
* options and setting here into the correct section
......@@ -550,17 +596,34 @@ install:: fonts.alias @@\
*/
#ifdef PpcArchitecture
/* #define GccWarningOptions -Wall -Wpointer-artith */
# define UseElfFormat YES
# include <xf86.rules>
# ifndef BuildServer
# define BuildServer NO
# endif
# if XFree86Devel
# define GccWarningOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wnested-externs
# else
# define GccWarningOptions -Wall -Wpointer-arith
# endif
# define HasSharedLibraries NO
# define UseElfFormat YES
# define BuildDynamicLoading NO
# if OSMajorVersion > 2 || (OSMajorVersion == 2 && OSMinorVersion >= 8)
# ifndef DoLoadableServer
# define DoLoadableServer YES
# endif
# define DevelDrivers cirrus ati
/* Support for USB Mices */
# define UsbMouseSupport YES
# include <xfree86.cf>
# else /* 2.7 and earlier */
# include <xf86.rules>
# ifndef BuildServer
# define BuildServer YES
# endif
# define HasSharedLibraries NO
# define BuildDynamicLoading NO
# endif
#endif /* PpcArchitecture */
/*
......@@ -650,5 +713,8 @@ install:: fonts.alias @@\
#endif
/* This must come last */
#include <bsdLib.rules>
#if OSMajorVersion == 2 && OSMinorVersion >= 8 || OSMajorVersion > 2
# include <OpenBSDLib.rules>
#else
# include <bsdLib.rules>
#endif
XCOMM $OpenBSD: OpenBSDLib.rules,v 1.1 2000/10/09 20:43:58 matthieu Exp $
/*
* OpenBSD shared library rules
*/
XCOMM $XFree86: xc/config/cf/OpenBSDLib.rules,v 1.1 2000/11/06 19:24:00 dawes Exp $
#ifndef UseElfFormat
#define UseElfFormat NO
#endif
#ifndef HasSharedLibraries
#define HasSharedLibraries YES
#endif
#ifndef ForceNormalLib
#define ForceNormalLib YES
#endif
#ifndef BaseShLibReqs
#define BaseShLibReqs /* -lc implied by $(CC) */
#endif
#ifndef SharedDataSeparation
#define SharedDataSeparation NO
#endif
#ifndef SharedCodeDef
#define SharedCodeDef /**/
#endif
#ifndef SharedLibraryDef
#define SharedLibraryDef /**/
#endif
#ifndef ShLibIncludeFile
#define ShLibIncludeFile <bsdLib.tmpl>
#endif
#ifndef SharedLibraryLoadFlags
#define SharedLibraryLoadFlags -shared PositionIndependentCFlags -Wl,-rpath,$(USRLIBDIR)
#endif
#ifndef PositionIndependentCFlags
#define PositionIndependentCFlags -fPIC
#endif
#ifndef PositionIndependentCplusplusFlags
#define PositionIndependentCplusplusFlags -fPIC
#endif
#if UseElfFormat
#ifndef ExtraLoadFlags
#ifdef UseInstalled
#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH)
#else
#define ExtraLoadFlags -Wl,-rpath,$(USRLIBDIRPATH) -Wl,-rpath-link,$(BUILDLIBDIR)
#endif
#endif
#endif
/*
* InstallSharedLibrary - generate rules to install the shared library.
* NOTE: file must be executable, hence "INSTBINFLAGS"
*/
#ifndef InstallSharedLibrary
#define InstallSharedLibrary(libname,rev,dest) @@\
install:: Concat(lib,libname.so.rev) @@\
MakeDir($(DESTDIR)dest) @@\
$(INSTALL) $(INSTALLFLAGS) $(INSTBINFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest
#endif /* InstallSharedLibrary */
/*
* InstallSharedLibraryData - generate rules to install the shared library data
*/
#ifndef InstallSharedLibraryData
#define InstallSharedLibraryData(libname,rev,dest)
#endif /* InstallSharedLibraryData */
/*
* SharedLibraryTarget - generate rules to create a shared library;
* build it into a different name so that we do not hose people by having
* the library gone for long periods.
*/
#ifndef SharedLibraryTarget
#ifdef UseInstalled
#define LinkBuildSonameLibrary(lib) true
#else
#define LinkBuildSonameLibrary(lib) (RemoveFile($(BUILDLIBDIR)/lib); \
cd $(BUILDLIBDIR); $(LN) $(BUILDINCTOP)/$(CURRENT_DIR)/lib .)
#endif
#define SharedLibraryTarget(libname,rev,solist,down,up) @@\
AllTarget(Concat(lib,libname.so.rev)) @@\
@@\
Concat(lib,libname.so.rev): solist @@\
$(RM) $@~ @@\
set -x; \ @@\
(cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) -Wl,-soname,$@\ @@\
solist $(REQUIREDLIBS) BaseShLibReqs); @@\
LinkBuildSonameLibrary($@) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@@\
clean:: @@\
$(RM) Concat(lib,libname.so.rev)
#endif /* SharedLibraryTarget */
/*
* SharedDepLibraryTarget - generate rules to create a shared library.
*/
#ifndef SharedDepLibraryTarget
#define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up) @@\
AllTarget(Concat(lib,libname.so.rev)) @@\
@@\
Concat(lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS) @@\
$(RM) $@~ @@\
(cd down; $(CC) -o up/$@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS)) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
LinkBuildLibrary($@) @@\
@@\
clean:: @@\
$(RM) Concat(lib,libname.so.rev)
#endif /* SharedDepLibraryTarget */
#ifndef SharedDepModuleTarget
#define SharedDepModuleTarget(name,deps,solist) @@\
AllTarget(name) @@\
@@\
name: deps @@\
$(RM) $@~ @@\
$(CC) -o $@~ $(SHLIBLDFLAGS) solist $(REQUIREDLIBS) @@\
$(RM) $@ @@\
$(MV) $@~ $@ @@\
@@\
clean:: @@\
$(RM) name
#endif /* SharedDepModuleTarget */
/*
* SharedLibraryDataTarget - generate rules to create shlib data file;
*/
#ifndef SharedLibraryDataTarget
#define SharedLibraryDataTarget(libname,rev,salist)
#endif /* SharedLibraryTarget */
/*
* DynamicModuleTarget - build a module to be dynamically loaded
*/
#ifdef DynamicModuleTarget
#undef DynamicModuleTarget
#define DynamicModuleTarget(module,modlist) @@\
AllTarget(module) @@\
@@\
module: modlist @@\
RemoveFile($@) @@\
$(CC) -o $@ $(SHLIBLDFLAGS) modlist @@\
@@\
clean:: @@\
RemoveFile(module)
#endif /* DynamicModuleTarget */
XCOMM $TOG: X11.rules /main/4 1997/04/30 15:23:24 kaleb $
XCOMM $XFree86: xc/config/cf/X11.rules,v 1.4 1997/09/09 11:56:20 hohndel Exp $
XCOMM $XFree86: xc/config/cf/X11.rules,v 1.5 2000/11/06 19:24:00 dawes Exp $
/* Note whether we are the top level project. */
#ifndef SeenTopLevelProject
......@@ -67,14 +67,18 @@ XCOMM $XFree86: xc/config/cf/X11.rules,v 1.4 1997/09/09 11:56:20 hohndel Exp $
#endif
#define LdPostLibs LdPostLib XLdPostLibs
#if ImportX11
# define TopXInclude -I$(TOP)/imports/x11/include
#elif !UseInstalledX11
# define TopXInclude -I$(TOP)/exports/include
#elif defined(X11ProjectRoot)
# define TopXInclude -I$(XPROJECTROOT)/include
#ifndef TopXInclude
# if ImportX11
# define TopXInclude -I$(TOP)/imports/x11/include
# elif !UseInstalledX11
# define TopXInclude -I$(TOP)/exports/include
#else
# define TopXInclude /**/
# ifdef X11ProjectRoot
# define TopXInclude -I$(XPROJECTROOT)/include
# else
# define TopXInclude /**/
# endif
# endif
#endif
#ifdef TopIncludes
# undef TopIncludes
......
......@@ -5,7 +5,7 @@ XCOMM
XCOMM
XCOMM
XCOMM
XCOMM $XFree86: xc/config/cf/X11.tmpl,v 1.78 2000/10/24 18:07:33 dawes Exp $
XCOMM $XFree86: xc/config/cf/X11.tmpl,v 1.79 2000/11/02 20:39:05 dawes Exp $
/***************************************************************************
* *
......@@ -535,6 +535,9 @@ FCHOWN_DEFINES = -DHAS_FCHOWN
#ifndef MesaSrcDir
#define MesaSrcDir $(TOP)/extras/Mesa
#endif
#ifndef OglSampleSrcDir
#define OglSampleSrcDir $(TOP)/extras/ogl-sample
#endif
#ifndef ShmDefines
#if HasShm
#define ShmDefines -DMITSHM
......@@ -1195,6 +1198,7 @@ XCOMM X Window System make variables; these need to be coordinated with rules
FTSOURCEDIR = FreeTypeSrcDir
XTTSOURCEDIR = XTrueTypeSrcDir
MESASRCDIR = MesaSrcDir
OGLSAMPLESRCDIR = OglSampleSrcDir
PSWRAPSRC = $(XTOP)/config/pswrap
TRANSCOMMSRC = $(LIBSRC)/xtrans
TRANS_INCLUDES = -I$(TRANSCOMMSRC)
......
XCOMM $XFree86: xc/config/cf/darwin.cf,v 1.1 2000/11/02 02:51:06 dawes Exp $
/* Darwin / MacOS-X configuration by John Carmack <johnc@idsoftware.com> */
/* imake determines the default values by parsing uname */
#define OSName DefaultOSName
#define OSMajorVersion DefaultOSMajorVersion
#define OSMinorVersion DefaultOSMinorVersion
#define OSTeenyVersion 0
#define HasSnprintf YES
#define HasPutenv YES
#define HasBSD44Sockets YES
#define BuildGlxExt NO
#ifndef HasShm
# define HasShm YES
#endif
/*
* This enables some settings for developers.
*/
#define XFree86Devel NO
/* we don't need -lm */
#define MathLibrary /**/
/* we don't have a termcap library */
#define TermcapLibrary /**/
/* we don't have a dbm library */
#define DBMLibrary /**/
/* our cpp isn't in /lib/cpp */
#define CppCmd /usr/bin/cpp
/* we have a gcc compatible compiler, but its not called gcc */
#define CcCmd /usr/bin/cc
/* if -c isn't passed, there are problems with the cfb libs when
* they include an object file without any symbols
*/
#define RanlibCmd ranlib -c
/* uncommenting this line will get -g instead of -O, which builds
* a lot faster and gets debug info
*/
#if 0
#define DefaultCDebugFlags -g
#endif
/* default flags to pass to cc */
#if XFree86Devel
# define DefaultCCOptions -Wall -Wpointer-arith -Wstrict-prototypes \
-Wmissing-prototypes -Wmissing-declarations \
-Wredundant-decls -Wnested-externs
#else
# define DefaultCCOptions -Wall -Wpointer-arith
#endif
/* a lot of xfree86 code needs __powerpc__ to avoid doing outport asm
*
* __DARWIN__ will be used for platform specific #ifdefs that can't
* be handled by existing X defines
*
* there is an unfortunate symbol collision with the appkit for TIFFFaxBlackCodes
*
* We need to define BSD44SOCKETS to get unix domain socket namelen calculated right
*/
#define StandardDefines -D__powerpc__ -D__DARWIN__
/* programs/rgb/rgb.h and others needs this */
#define HasNdbm YES
/* set this to NO to just build the client libs, which should work without
* having to write any platform specific code.
*/
#define BuildServer YES
/* our custom X server */
#define XDarwinServer YES
/* pex? bah. I'm not going to bother getting the device
* dependent part of this working. If I get the time, i'll
* get glx working instead.
*/
#define BuildPexExt NO
/* no direct graphics extension */
#define BuildXF86DGA NO
/* no extra tablets and weird input devices */
#define BuildXInputExt NO
/* no Display Power Management extension */
#define BuildDPMSExt NO
/* no Render extension */
#define BuildRender NO
#define BuildXvExt NO
/* include all the xfree rules */
/* I haven't tracked down why this is needed, but it is... */
#include <xfree86.cf>
XCOMM $XConsortium: xf86.rules /main/9 1996/10/31 14:54:26 kaleb $
XCOMM $XFree86: xc/config/cf/xf86.rules,v 3.31 2000/03/31 22:55:15 dawes Exp $
XCOMM $XFree86: xc/config/cf/xf86.rules,v 3.32 2000/10/30 23:02:06 tsi Exp $
/*
* These rules are needed to build the XFree86 X Servers
......@@ -111,7 +111,10 @@ list: $(ICONFIGFILES) @@\
DRIVERS="drivers"; \ @@\
if [ x"$$DRIVERS" != x ]; then \ @@\
for i in $$DRIVERS; do \ @@\
echo $$i/$${i}_drv.o >> list; \ @@\