head	1.2;
access;
symbols
	netbsd-7-2-RELEASE:1.1.1.6
	netbsd-7-1-2-RELEASE:1.1.1.6
	netbsd-7-1-1-RELEASE:1.1.1.6
	netbsd-7-1:1.1.1.6.0.28
	netbsd-7-1-RELEASE:1.1.1.6
	netbsd-7-1-RC2:1.1.1.6
	netbsd-7-1-RC1:1.1.1.6
	netbsd-7-0-2-RELEASE:1.1.1.6
	netbsd-7-0-1-RELEASE:1.1.1.6
	netbsd-7-0:1.1.1.6.0.26
	netbsd-7-0-RELEASE:1.1.1.6
	netbsd-7-0-RC3:1.1.1.6
	netbsd-7-0-RC2:1.1.1.6
	netbsd-7-0-RC1:1.1.1.6
	netbsd-5-2-3-RELEASE:1.1.1.6
	netbsd-5-1-5-RELEASE:1.1.1.6
	netbsd-6-0-6-RELEASE:1.1.1.6
	netbsd-6-1-5-RELEASE:1.1.1.6
	netbsd-7:1.1.1.6.0.24
	netbsd-7-base:1.1.1.6
	netbsd-6-1-4-RELEASE:1.1.1.6
	netbsd-6-0-5-RELEASE:1.1.1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.1.1.6
	riastradh-drm2:1.1.1.6.0.22
	riastradh-drm2-base:1.1.1.6
	netbsd-6-1-3-RELEASE:1.1.1.6
	netbsd-6-0-4-RELEASE:1.1.1.6
	netbsd-5-2-2-RELEASE:1.1.1.6
	netbsd-5-1-4-RELEASE:1.1.1.6
	netbsd-6-1-2-RELEASE:1.1.1.6
	netbsd-6-0-3-RELEASE:1.1.1.6
	netbsd-5-2-1-RELEASE:1.1.1.6
	netbsd-5-1-3-RELEASE:1.1.1.6
	netbsd-6-1-1-RELEASE:1.1.1.6
	netbsd-6-1:1.1.1.6.0.20
	netbsd-6-0-2-RELEASE:1.1.1.6
	netbsd-6-1-RELEASE:1.1.1.6
	netbsd-6-1-RC4:1.1.1.6
	netbsd-6-1-RC3:1.1.1.6
	netbsd-6-1-RC2:1.1.1.6
	netbsd-6-1-RC1:1.1.1.6
	netbsd-5-2:1.1.1.6.0.18
	netbsd-6-0-1-RELEASE:1.1.1.6
	netbsd-5-2-RELEASE:1.1.1.6
	netbsd-5-2-RC1:1.1.1.6
	netbsd-6-0:1.1.1.6.0.16
	netbsd-6-0-RELEASE:1.1.1.6
	netbsd-6-0-RC2:1.1.1.6
	netbsd-6-0-RC1:1.1.1.6
	netbsd-6:1.1.1.6.0.14
	netbsd-6-base:1.1.1.6
	netbsd-5-1-2-RELEASE:1.1.1.6
	netbsd-5-1-1-RELEASE:1.1.1.6
	netbsd-5-1:1.1.1.6.0.12
	netbsd-5-1-RELEASE:1.1.1.6
	netbsd-5-1-RC4:1.1.1.6
	netbsd-5-1-RC3:1.1.1.6
	netbsd-5-1-RC2:1.1.1.6
	netbsd-5-1-RC1:1.1.1.6
	netbsd-5-0-2-RELEASE:1.1.1.6
	netbsd-5-0-1-RELEASE:1.1.1.6
	netbsd-5-0:1.1.1.6.0.10
	netbsd-5-0-RELEASE:1.1.1.6
	netbsd-5-0-RC4:1.1.1.6
	netbsd-5-0-RC3:1.1.1.6
	netbsd-5-0-RC2:1.1.1.6
	netbsd-5-0-RC1:1.1.1.6
	netbsd-5:1.1.1.6.0.8
	netbsd-5-base:1.1.1.6
	netbsd-4-0-1-RELEASE:1.1.1.6
	netbsd-4-0:1.1.1.6.0.6
	netbsd-4-0-RELEASE:1.1.1.6
	netbsd-4-0-RC5:1.1.1.6
	netbsd-4-0-RC4:1.1.1.6
	netbsd-4-0-RC3:1.1.1.6
	netbsd-4-0-RC2:1.1.1.6
	netbsd-4-0-RC1:1.1.1.6
	netbsd-3-1-1-RELEASE:1.1.1.5.8.1
	netbsd-3-0-3-RELEASE:1.1.1.5.8.1
	abandoned-netbsd-4-base:1.1.1.6
	abandoned-netbsd-4:1.1.1.6.0.2
	netbsd-3-1:1.1.1.5.8.1.0.4
	netbsd-3-1-RELEASE:1.1.1.5.8.1
	netbsd-3-0-2-RELEASE:1.1.1.5.8.1
	netbsd-3-1-RC4:1.1.1.5.8.1
	netbsd-3-1-RC3:1.1.1.5.8.1
	netbsd-3-1-RC2:1.1.1.5.8.1
	netbsd-3-1-RC1:1.1.1.5.8.1
	netbsd-4:1.1.1.6.0.4
	netbsd-4-base:1.1.1.6
	netbsd-3-0-1-RELEASE:1.1.1.5.8.1
	netbsd-3-0:1.1.1.5.8.1.0.2
	netbsd-3-0-RELEASE:1.1.1.5.8.1
	netbsd-3-0-RC6:1.1.1.5.8.1
	netbsd-3-0-RC5:1.1.1.5.8.1
	netbsd-3-0-RC4:1.1.1.5.8.1
	netbsd-3-0-RC3:1.1.1.5.8.1
	netbsd-3-0-RC2:1.1.1.5.8.1
	netbsd-3-0-RC1:1.1.1.5.8.1
	netbsd-2-0-3-RELEASE:1.1.1.5
	netbsd-2-1:1.1.1.5.0.10
	netbsd-2-1-RELEASE:1.1.1.5
	netbsd-2-1-RC6:1.1.1.5
	netbsd-2-1-RC5:1.1.1.5
	netbsd-2-1-RC4:1.1.1.5
	netbsd-2-1-RC3:1.1.1.5
	netbsd-2-1-RC2:1.1.1.5
	netbsd-2-1-RC1:1.1.1.5
	netbsd-2-0-2-RELEASE:1.1.1.5
	v4-5-0:1.1.1.6
	v4-5-0_beforeimport:1.1.1.5
	netbsd-3:1.1.1.5.0.8
	netbsd-3-base:1.1.1.5
	netbsd-2-0-1-RELEASE:1.1.1.5
	netbsd-2:1.1.1.5.0.6
	netbsd-2-base:1.1.1.5
	netbsd-2-0-RELEASE:1.1.1.5
	netbsd-2-0-RC5:1.1.1.5
	netbsd-2-0-RC4:1.1.1.5
	netbsd-2-0-RC3:1.1.1.5
	netbsd-2-0-RC2:1.1.1.5
	netbsd-2-0-RC1:1.1.1.5
	netbsd-2-0:1.1.1.5.0.4
	netbsd-2-0-base:1.1.1.5
	v4-4-0:1.1.1.5
	v4-4-0_beforeimport:1.1.1.5
	netbsd-1-6-PATCH002-RELEASE:1.1.1.5
	netbsd-1-6-PATCH002:1.1.1.5
	netbsd-1-6-PATCH002-RC4:1.1.1.5
	v4-3-0-2003-12-19:1.1.1.5
	netbsd-1-6-PATCH002-RC3:1.1.1.5
	netbsd-1-6-PATCH002-RC2:1.1.1.5
	netbsd-1-6-PATCH002-RC1:1.1.1.5
	netbsd-1-6:1.1.1.5.0.2
	netbsd-1-6-base:1.1.1.5
	v4-3-0:1.1.1.5
	v4-3-0_beforeimport:1.1.1.4
	netbsd-1-6-PATCH001:1.1.1.4
	netbsd-1-6-RELEASE:1.1.1.4
	v4-2-1:1.1.1.4
	v4-2-1_beforeimport:1.1.1.4
	netbsd-1-5-PATCH003:1.1.1.4
	v4-2-0:1.1.1.4
	netbsd-1-5-PATCH002:1.1.1.3
	netbsd-1-5-PATCH001:1.1.1.2
	v4-1-0:1.1.1.3
	v4-0-3:1.1.1.2
	v4-0-2:1.1.1.1
	XF86:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2015.07.23.08.12.32;	author mrg;	state dead;
branches;
next	1.1;
commitid	3Fk7MoycOv7VSnuy;

1.1
date	2001.01.01.12.43.51;	author veego;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.01.01.12.43.51;	author veego;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2001.03.18.16.56.04;	author veego;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	2001.06.09.14.53.00;	author tron;	state Exp;
branches;
next	1.1.1.4;

1.1.1.4
date	2002.01.19.14.53.48;	author tron;	state Exp;
branches;
next	1.1.1.5;

1.1.1.5
date	2003.02.28.13.18.42;	author tron;	state Exp;
branches
	1.1.1.5.8.1;
next	1.1.1.6;

1.1.1.6
date	2005.03.18.13.03.21;	author tron;	state Exp;
branches;
next	;

1.1.1.5.8.1
date	2005.04.06.19.59.31;	author tron;	state Exp;
branches;
next	;


desc
@@


1.2
log
@remove obsolete XFree86 sources.
@
text
@XCOMM $XConsortium: sv4Lib.rules /main/18 1996/09/28 16:13:29 rws $

/*
 * SVR4 shared library rules
 */

XCOMM $XFree86: xc/config/cf/sv4Lib.rules,v 3.6 1999/06/06 08:47:45 dawes Exp $

#ifndef HasSharedLibraries
# define HasSharedLibraries YES
#endif
#ifndef SharedDataSeparation
# define SharedDataSeparation NO
#endif
#ifndef SharedCodeDef
# define SharedCodeDef /**/
#endif
#ifndef SharedLibraryDef
# define SharedLibraryDef /**/
#endif
#ifndef ShLibIncludeFile
# define ShLibIncludeFile <sv4Lib.tmpl>
#endif
#ifndef SharedLibraryLoadFlags
# define SharedLibraryLoadFlags -G -z text
#endif
#ifndef PositionIndependentCFlags
# if HasGcc2
#  define PositionIndependentCFlags -fpic
# else
#  define PositionIndependentCFlags -K PIC
# endif
#endif
#ifndef PositionIndependentCplusplusFlags
# if HasGcc2ForCplusplus
#  define PositionIndependentCplusplusFlags -fpic
# else
#  define PositionIndependentCplusplusFlags -K PIC
# endif
#endif
#ifndef UseExportLists
# define UseExportLists NO
#endif

/*
 * InstallSharedLibrary - generate rules to install the shared library.
 */
#ifndef InstallSharedLibrary
#if StripInstalledPrograms
# define InstallSharedLibrary(libname,rev,dest)				@@@@\
install:: Concat(lib,libname.so.rev) 					@@@@\
	MakeDir($(DESTDIR)dest)						@@@@\
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@@@\
	mcs -d Concat($(DESTDIR)dest/lib,libname.so.rev)		@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat($(DESTDIR)dest/lib,libname.so); \		@@@@\
	  cd $(DESTDIR)dest; \						@@@@\
	  $(LN) Concat(lib,libname.so.rev) Concat(lib,libname.so)); fi
#else
# define InstallSharedLibrary(libname,rev,dest)				@@@@\
install:: Concat(lib,libname.so.rev) 					@@@@\
	MakeDir($(DESTDIR)dest)						@@@@\
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.so.rev) $(DESTDIR)dest @@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat($(DESTDIR)dest/lib,libname.so); \		@@@@\
	  cd $(DESTDIR)dest; \						@@@@\
	  $(LN) Concat(lib,libname.so.rev) Concat(lib,libname.so)); fi
#endif

#endif /* InstallSharedLibrary */

/*
 * InstallSharedLibraryData - generate rules to install the shared library data
 */
#ifndef InstallSharedLibraryData
# define InstallSharedLibraryData(libname,rev,dest)
#endif /* InstallSharedLibraryData */

#ifndef LinkWithExports
# if UseExportLists
#  define LinkWithExports(libname,rev,solist,down,up) \
	(cd down; $(CCENVSETUP) $(LD) -o up/$@@~ $(SHLIBLDFLAGS) -h $@@ solist $(REQUIREDLIBS))	@@@@\
	if [ -f Concat(lib,libname.elist) ]; then \			@@@@\
	    $(RM) down/$@@.exports $@@.list; \				@@@@\
	    $(CPP) $(ALLINCLUDES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES) Concat(lib,libname.elist) | CppSedMagic >$@@.list; \	@@@@\
	    $(EXPORTLISTGEN) $@@~ $@@.list > down/$@@.exports; \		@@@@\
	    (cd down; $(CCENVSETUP) $(LD) -o up/$@@~ $(SHLIBLDFLAGS) -h $@@ ShlibExportListOpt($@@.exports) solist $(REQUIREDLIBS)); \	@@@@\
	    $(RM) down/$@@.exports $@@.list; \				@@@@\
	fi;
# else
#  define LinkWithExports(libname,rev,solist,down,up) \
	(cd down; $(CCENVSETUP) $(LD) -o up/$@@~ $(SHLIBLDFLAGS) -h $@@ solist $(REQUIREDLIBS))
# endif
#endif

/*
 * 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
# define SharedLibraryTarget(libname,rev,solist,down,up)		@@@@\
AllTarget(Concat(lib,libname.so.rev))					@@@@\
									@@@@\
Concat(lib,libname.so.rev):  solist $(EXTRALIBRARYDEPS)			@@@@\
	$(RM) $@@~							@@@@\
	LinkWithExports(libname,rev,solist,down,up)			@@@@\
	$(RM) $@@ 							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(lib,libname.so); \				@@@@\
	  $(LN) $@@ Concat(lib,libname.so)); fi				@@@@\
	LinkBuildLibrary($@@)						@@@@\
	LinkBuildLibraryMaybe(Concat(lib,libname.so),$(SOSYMLINK))	@@@@\
									@@@@\
clean::									@@@@\
	$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)

#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) $@@~							@@@@\
	LinkWithExports(libname,rev,solist,down,up)			@@@@\
	$(RM) $@@ 							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(lib,libname.so); \				@@@@\
	  $(LN) $@@ Concat(lib,libname.so)); fi				@@@@\
	LinkBuildLibrary($@@)						@@@@\
	LinkBuildLibraryMaybe(Concat(lib,libname.so),$(SOSYMLINK))	@@@@\
									@@@@\
clean::									@@@@\
	$(RM) Concat(lib,libname.so.rev) Concat(lib,libname.so)

#endif /* SharedDepLibraryTarget */


#ifndef SharedDepModuleTarget
#define SharedDepModuleTarget(name,deps,solist)				@@@@\
AllTarget(name)								@@@@\
									@@@@\
name: deps								@@@@\
	$(RM) $@@~							@@@@\
	$(LD) -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 */
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Initial import of XFree86 4.x
@
text
@@


1.1.1.2
log
@Import of XFree86 4.0.3
@
text
@d7 1
a7 1
XCOMM $XFree86: xc/config/cf/sv4Lib.rules,v 3.5 1999/01/11 05:13:09 dawes Exp $
@


1.1.1.3
log
@Import of XFree86 4.1.0.
@
text
@d1 1
a1 1
XCOMM $Xorg: sv4Lib.rules,v 1.3 2000/08/17 19:41:48 cpqbld Exp $
d7 1
a7 1
XCOMM $XFree86: xc/config/cf/sv4Lib.rules,v 3.7 2001/01/17 16:38:49 dawes Exp $
@


1.1.1.4
log
@Import of XFree86 4.2.0.
@
text
@d7 1
a7 1
XCOMM $XFree86: xc/config/cf/sv4Lib.rules,v 3.8 2001/05/28 02:42:25 tsi Exp $
d29 1
a29 1
#  define PositionIndependentCFlags -fPIC
d36 1
a36 1
#  define PositionIndependentCplusplusFlags -fPIC
@


1.1.1.5
log
@Import of XFree86 4.3.0.
@
text
@d7 1
a7 1
XCOMM $XFree86: xc/config/cf/sv4Lib.rules,v 3.9 2002/11/22 22:55:56 tsi Exp $
a14 3
#ifndef HasGcc2ForCplusplus
# define HasGcc2ForCplusplus HasGcc2
#endif
a42 3
#endif
#ifndef StripInstalledPrograms
# define StripInstalledPrograms NO
@


1.1.1.5.8.1
log
@Apply patch (requested by jmc in ticket #114):
Update XFree86 to version 4.5.0.
@
text
@d1 2
d7 1
a7 47
XCOMM $XFree86: xc/config/cf/sv4Lib.rules,v 3.15 2005/02/06 23:48:15 dawes Exp $
/*
 * Copyright (c) 1994-2004 by The XFree86 Project, Inc.
 * All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject
 * to the following conditions:
 *
 *   1.  Redistributions of source code must retain the above copyright
 *       notice, this list of conditions, and the following disclaimer.
 *
 *   2.  Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer
 *       in the documentation and/or other materials provided with the
 *       distribution, and in the same place and form as other copyright,
 *       license and disclaimer information.
 *
 *   3.  The end-user documentation included with the redistribution,
 *       if any, must include the following acknowledgment: "This product
 *       includes software developed by The XFree86 Project, Inc
 *       (http://www.xfree86.org/) and its contributors", in the same
 *       place and form as other third-party acknowledgments.  Alternately,
 *       this acknowledgment may appear in the software itself, in the
 *       same form and location as other such third-party acknowledgments.
 *
 *   4.  Except as contained in this notice, the name of The XFree86
 *       Project, Inc shall not be used in advertising or otherwise to
 *       promote the sale, use or other dealings in this Software without
 *       prior written authorization from The XFree86 Project, Inc.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
d57 1
a57 1
install::								@@@@\
d59 2
a60 2
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat($(LIBPREFIX),libname.so.rev) $(DESTDIR)dest @@@@\
	mcs -d Concat($(DESTDIR)dest/$(LIBPREFIX),libname.so.rev)	@@@@\
d62 1
a62 1
	  $(RM) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.so); \	@@@@\
d64 1
a64 1
	  $(LN) Concat($(LIBPREFIX),libname.so.rev) Concat($(LIBPREFIX),libname.so)); fi
d67 1
a67 1
install::								@@@@\
d69 1
a69 1
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat($(LIBPREFIX),libname.so.rev) $(DESTDIR)dest @@@@\
d71 1
a71 1
	  $(RM) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.so); \	@@@@\
d73 1
a73 1
	  $(LN) Concat($(LIBPREFIX),libname.so.rev) Concat($(LIBPREFIX),libname.so)); fi
d109 1
a109 1
AllTarget(Concat($(LIBPREFIX),libname.so.rev))				@@@@\
d111 1
a111 1
Concat($(LIBPREFIX),libname.so.rev):  solist $(EXTRALIBRARYDEPS)	@@@@\
d117 2
a118 2
	  $(RM) Concat($(LIBPREFIX),libname.so); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.so)); fi			@@@@\
d120 1
a120 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.so),$(SOSYMLINK)) @@@@\
d123 1
a123 1
	$(RM) Concat($(LIBPREFIX),libname.so.rev) Concat($(LIBPREFIX),libname.so)
d132 1
a132 1
AllTarget(Concat($(LIBPREFIX),libname.so.rev))				@@@@\
d134 1
a134 1
Concat($(LIBPREFIX),libname.so.rev):  deplist $(EXTRALIBRARYDEPS)	@@@@\
d140 2
a141 2
	  $(RM) Concat($(LIBPREFIX),libname.so); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.so)); fi			@@@@\
d143 1
a143 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.so),$(SOSYMLINK)) @@@@\
d146 1
a146 1
	$(RM) Concat($(LIBPREFIX),libname.so.rev) Concat($(LIBPREFIX),libname.so)
a172 187

/*
 * The 64-bit library build support is covered by the XFree86 1.1 license.
 * Author: Mark Kandianis.
 */
/*
 * Copyright (c) 2004 by The XFree86 Project, Inc.
 * All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject
 * to the following conditions:
 *
 *   1.  Redistributions of source code must retain the above copyright
 *       notice, this list of conditions, and the following disclaimer.
 *
 *   2.  Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer
 *       in the documentation and/or other materials provided with the
 *       distribution, and in the same place and form as other copyright,
 *       license and disclaimer information.
 *
 *   3.  The end-user documentation included with the redistribution,
 *       if any, must include the following acknowledgment: "This product
 *       includes software developed by The XFree86 Project, Inc
 *       (http://www.xfree86.org/) and its contributors", in the same
 *       place and form as other third-party acknowledgments.  Alternately,
 *       this acknowledgment may appear in the software itself, in the
 *       same form and location as other such third-party acknowledgments.
 *
 *   4.  Except as contained in this notice, the name of The XFree86
 *       Project, Inc shall not be used in advertising or otherwise to
 *       promote the sale, use or other dealings in this Software without
 *       prior written authorization from The XFree86 Project, Inc.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef Build64BitLibraries
#define Build64BitLibraries NO
#endif

#if Build64BitLibraries

#define ExtraLibRules

#ifndef Shared64Dir
#define Shared64Dir 64
#endif

SHARED64DIR = Shared64Dir

#ifndef Shared64LibraryDef
#define Shared64LibraryDef SharedLibraryDef
#endif

#ifndef Shared64LibraryLoadFlags
#define Shared64LibraryLoadFlags SharedLibraryLoadFlags
#endif

SHLIB64LDFLAGS = Shared64LibraryLoadFlags

#ifndef Shared64PositionIndependentCFlags
#ifdef LargePositionIndependentCFlags
#define Shared64PositionIndependentCFlags LargePositionIndependentCFlags
#else
#define Shared64PositionIndependentCFlags PositionIndependentCFlags
#endif
#endif

#ifndef InstallShared64Library
#define InstallShared64Library(libname,rev,dest)			@@@@\
install:: Concat(Shared64Dir/lib,libname.so.rev)			@@@@\
	MakeDir($(DESTDIR)dest)						@@@@\
	$(INSTALL) -c $(INSTLIBFLAGS) Concat(Shared64Dir/lib,libname.so.rev) $(DESTDIR)dest @@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat($(DESTDIR)dest/lib,libname.so); \		@@@@\
	  cd $(DESTDIR)dest; \						@@@@\
	  $(LN) Concat(lib,libname.so.rev) Concat(lib,libname.so)); fi
#endif

#ifndef Link64WithExports
# if UseExportLists
#  define Link64WithExports(libname,rev,solist,down,up) \
	$(CCENVSETUP) $(LD) -o $@@~ $(SHLIB64LDFLAGS) -h Concat(lib,libname.so.rev) solist $(REQUIREDLIBS)	@@@@\
	@@if [ -f Concat(lib,libname.elist) ]; then \			@@@@\
	    (set -x; $(RM) libname.exports libname.list; \		@@@@\
	    $(CPP) $(ALLINCLUDES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES) Concat(lib,libname.elist) | CppSedMagic >libname.list; \	@@@@\
	    $(EXPORTLISTGEN) $@@~ libname.list > libname.exports; \	@@@@\
	    $(CCENVSETUP) $(LD) -o $@@~ $(SHLIB64LDFLAGS) -h $@@ ShlibExportListOpt(libname.exports) solist $(REQUIREDLIBS); \	@@@@\
	    $(RM) libname.exports libname.list); \			@@@@\
	fi;
# else
#  define Link64WithExports(libname,rev,solist,down,up) \
	$(CCENVSETUP) $(LD) -o $@@~ $(SHLIB64LDFLAGS) -h $@@ solist $(REQUIREDLIBS)
# endif
#endif

#ifndef Shared64LibraryTarget
#define Shared64LibraryTarget(libname,rev,solist,down,up)		@@@@\
AllTarget(Concat(down/lib,libname.so.rev))				@@@@\
									@@@@\
Concat(down/lib,libname.so.rev): solist $(EXTRALIBRARYDEPS)		@@@@\
	$(RM) $@@~							@@@@\
	Link64WithExports(libname,rev,solist,down,up)			@@@@\
	$(RM) $@@							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(down/lib,libname.so); \				@@@@\
	  $(LN) Concat(lib,libname.so.rev) Concat(down/lib,libname.so)); fi @@@@\
	LinkBuildLibrarySubdir($@@,down,up)				@@@@\
	LinkBuildLibrarySubdirMaybe(Concat(down/lib,libname.so),down,up,$(SOSYMLINK)) @@@@\
									@@@@\
clean::									@@@@\
	        $(RM) Concat(down/lib,libname.so.rev)			@@@@\
		$(RM) Concat(down/lib,libname.so)
#endif /* Shared64LibraryTarget */

#ifndef Shared64DepLibraryTarget
#define Shared64DepLibraryTarget(libname,rev,deplist,solist,down,up)	@@@@\
AllTarget(Concat(down/lib,libname.so.rev))				@@@@\
									@@@@\
Concat(down/lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS)		@@@@\
	$(RM) $@@~							@@@@\
	Link64WithExports(libname,rev,solist,down,up)			@@@@\
	$(RM) $@@							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(down/lib,libname.so); \				@@@@\
	  $(LN) Concat(lib,libname.so.rev) Concat(down/lib,libname.so)); fi @@@@\
	LinkBuildLibrarySubdir($@@,down,up)				@@@@\
	LinkBuildLibrarySubdirMaybe(Concat(down/lib,libname.so),down,up,$(SOSYMLINK)) @@@@\
									@@@@\
clean::									@@@@\
	        $(RM) Concat(down/lib,libname.so.rev)			@@@@\
		$(RM) Concat(down/lib,libname.so)
#endif /* Shared64DepLibraryTarget */

#define Shared64CDebugFlags $(CDEBUGFLAGS) $(CLIBDEBUGFLAGS)
#define Shared64CplusplusDebugFlags $(CXXDEBUGFLAGS) $(CXXLIBDEBUGFLAGS)
#if HasGcc
#define Shared64CArchFlags -m64
#define Shared64CplusplusArchFlags -m64
#define Shared64AsmOptions -m64
#else
#define Shared64CArchFlags -xarch=v9
#define Shared64CplusplusArchFlags xarch=v9
#define Shared64AsmOptions -xarch=v9
#endif


#define Shared64LibObjCompile(options) LibObjCompile(Shared64Dir,Shared64CArchFlags Shared64CDebugFlags Shared64LibraryDef Shared64PositionIndependentCFlags options)
#define Shared64LibObjAsm(options) LibObjAsm(Shared64Dir,options,Shared64AsmOptions)
#define Shared64LibObjCplusplusCompile(options) LibObjCompile(Shared64Dir,Shared64CplusplusArchFlags Shared64CplusplusDebugFlags Shared64LibraryDef Shared64PositionIndependentCFlags options)

#define ExtraSubdir Shared64Dir
EXTRASUBDIR = ExtraSubdir
#define ObjectPrefix ExtraSubdir/
#define ExtraLibMkdir() _LibMkdir(Shared64Dir)
#define ExtraObjCompile(options) Shared64LibObjCompile(options)
#define ExtraObjAsm(options) Shared64LibObjAsm(options)
#define ExtraObjCplusplusCompile(options) Shared64LibObjCplusplusCompile(options)
#define ExtraCleanDir() LibCleanDir(Shared64Dir)

#define ExtraLibraryTarget(libname,so,objs) Shared64LibraryTarget(libname,so,objs,Shared64Dir,..)
#define ExtraDepLibraryTarget(libname,so,deplist,objs) Shared64DepLibraryTarget(libname,so,deplist,objs,Shared64Dir,..)
#define ExtraInstallLibrary(libname,so) InstallShared64Library(libname,so,$(SHLIBDIR)/Shared64Dir)

#if !defined(UseInstalled) && !defined(LdPreLib)
#define LdPreLib -L$(BUILDLIBDIR)/Shared64Dir -L$(BUILDLIBDIR)
#endif

#endif
@


1.1.1.6
log
@Import of XFree86 4.5.0.
@
text
@d1 2
d7 1
a7 47
XCOMM $XFree86: xc/config/cf/sv4Lib.rules,v 3.15 2005/02/06 23:48:15 dawes Exp $
/*
 * Copyright (c) 1994-2004 by The XFree86 Project, Inc.
 * All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject
 * to the following conditions:
 *
 *   1.  Redistributions of source code must retain the above copyright
 *       notice, this list of conditions, and the following disclaimer.
 *
 *   2.  Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer
 *       in the documentation and/or other materials provided with the
 *       distribution, and in the same place and form as other copyright,
 *       license and disclaimer information.
 *
 *   3.  The end-user documentation included with the redistribution,
 *       if any, must include the following acknowledgment: "This product
 *       includes software developed by The XFree86 Project, Inc
 *       (http://www.xfree86.org/) and its contributors", in the same
 *       place and form as other third-party acknowledgments.  Alternately,
 *       this acknowledgment may appear in the software itself, in the
 *       same form and location as other such third-party acknowledgments.
 *
 *   4.  Except as contained in this notice, the name of The XFree86
 *       Project, Inc shall not be used in advertising or otherwise to
 *       promote the sale, use or other dealings in this Software without
 *       prior written authorization from The XFree86 Project, Inc.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */
d57 1
a57 1
install::								@@@@\
d59 2
a60 2
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat($(LIBPREFIX),libname.so.rev) $(DESTDIR)dest @@@@\
	mcs -d Concat($(DESTDIR)dest/$(LIBPREFIX),libname.so.rev)	@@@@\
d62 1
a62 1
	  $(RM) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.so); \	@@@@\
d64 1
a64 1
	  $(LN) Concat($(LIBPREFIX),libname.so.rev) Concat($(LIBPREFIX),libname.so)); fi
d67 1
a67 1
install::								@@@@\
d69 1
a69 1
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat($(LIBPREFIX),libname.so.rev) $(DESTDIR)dest @@@@\
d71 1
a71 1
	  $(RM) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.so); \	@@@@\
d73 1
a73 1
	  $(LN) Concat($(LIBPREFIX),libname.so.rev) Concat($(LIBPREFIX),libname.so)); fi
d109 1
a109 1
AllTarget(Concat($(LIBPREFIX),libname.so.rev))				@@@@\
d111 1
a111 1
Concat($(LIBPREFIX),libname.so.rev):  solist $(EXTRALIBRARYDEPS)	@@@@\
d117 2
a118 2
	  $(RM) Concat($(LIBPREFIX),libname.so); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.so)); fi			@@@@\
d120 1
a120 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.so),$(SOSYMLINK)) @@@@\
d123 1
a123 1
	$(RM) Concat($(LIBPREFIX),libname.so.rev) Concat($(LIBPREFIX),libname.so)
d132 1
a132 1
AllTarget(Concat($(LIBPREFIX),libname.so.rev))				@@@@\
d134 1
a134 1
Concat($(LIBPREFIX),libname.so.rev):  deplist $(EXTRALIBRARYDEPS)	@@@@\
d140 2
a141 2
	  $(RM) Concat($(LIBPREFIX),libname.so); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.so)); fi			@@@@\
d143 1
a143 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.so),$(SOSYMLINK)) @@@@\
d146 1
a146 1
	$(RM) Concat($(LIBPREFIX),libname.so.rev) Concat($(LIBPREFIX),libname.so)
a172 187

/*
 * The 64-bit library build support is covered by the XFree86 1.1 license.
 * Author: Mark Kandianis.
 */
/*
 * Copyright (c) 2004 by The XFree86 Project, Inc.
 * All rights reserved.
 *
 * Permission is hereby granted, free of charge, to any person obtaining
 * a copy of this software and associated documentation files (the
 * "Software"), to deal in the Software without restriction, including
 * without limitation the rights to use, copy, modify, merge, publish,
 * distribute, sublicense, and/or sell copies of the Software, and to
 * permit persons to whom the Software is furnished to do so, subject
 * to the following conditions:
 *
 *   1.  Redistributions of source code must retain the above copyright
 *       notice, this list of conditions, and the following disclaimer.
 *
 *   2.  Redistributions in binary form must reproduce the above copyright
 *       notice, this list of conditions and the following disclaimer
 *       in the documentation and/or other materials provided with the
 *       distribution, and in the same place and form as other copyright,
 *       license and disclaimer information.
 *
 *   3.  The end-user documentation included with the redistribution,
 *       if any, must include the following acknowledgment: "This product
 *       includes software developed by The XFree86 Project, Inc
 *       (http://www.xfree86.org/) and its contributors", in the same
 *       place and form as other third-party acknowledgments.  Alternately,
 *       this acknowledgment may appear in the software itself, in the
 *       same form and location as other such third-party acknowledgments.
 *
 *   4.  Except as contained in this notice, the name of The XFree86
 *       Project, Inc shall not be used in advertising or otherwise to
 *       promote the sale, use or other dealings in this Software without
 *       prior written authorization from The XFree86 Project, Inc.
 *
 * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
 * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
 * MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
 * IN NO EVENT SHALL THE XFREE86 PROJECT, INC OR ITS CONTRIBUTORS BE
 * LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY,
 * OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT
 * OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
 * BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
 * OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
 * EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 */

#ifndef Build64BitLibraries
#define Build64BitLibraries NO
#endif

#if Build64BitLibraries

#define ExtraLibRules

#ifndef Shared64Dir
#define Shared64Dir 64
#endif

SHARED64DIR = Shared64Dir

#ifndef Shared64LibraryDef
#define Shared64LibraryDef SharedLibraryDef
#endif

#ifndef Shared64LibraryLoadFlags
#define Shared64LibraryLoadFlags SharedLibraryLoadFlags
#endif

SHLIB64LDFLAGS = Shared64LibraryLoadFlags

#ifndef Shared64PositionIndependentCFlags
#ifdef LargePositionIndependentCFlags
#define Shared64PositionIndependentCFlags LargePositionIndependentCFlags
#else
#define Shared64PositionIndependentCFlags PositionIndependentCFlags
#endif
#endif

#ifndef InstallShared64Library
#define InstallShared64Library(libname,rev,dest)			@@@@\
install:: Concat(Shared64Dir/lib,libname.so.rev)			@@@@\
	MakeDir($(DESTDIR)dest)						@@@@\
	$(INSTALL) -c $(INSTLIBFLAGS) Concat(Shared64Dir/lib,libname.so.rev) $(DESTDIR)dest @@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat($(DESTDIR)dest/lib,libname.so); \		@@@@\
	  cd $(DESTDIR)dest; \						@@@@\
	  $(LN) Concat(lib,libname.so.rev) Concat(lib,libname.so)); fi
#endif

#ifndef Link64WithExports
# if UseExportLists
#  define Link64WithExports(libname,rev,solist,down,up) \
	$(CCENVSETUP) $(LD) -o $@@~ $(SHLIB64LDFLAGS) -h Concat(lib,libname.so.rev) solist $(REQUIREDLIBS)	@@@@\
	@@if [ -f Concat(lib,libname.elist) ]; then \			@@@@\
	    (set -x; $(RM) libname.exports libname.list; \		@@@@\
	    $(CPP) $(ALLINCLUDES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES) Concat(lib,libname.elist) | CppSedMagic >libname.list; \	@@@@\
	    $(EXPORTLISTGEN) $@@~ libname.list > libname.exports; \	@@@@\
	    $(CCENVSETUP) $(LD) -o $@@~ $(SHLIB64LDFLAGS) -h $@@ ShlibExportListOpt(libname.exports) solist $(REQUIREDLIBS); \	@@@@\
	    $(RM) libname.exports libname.list); \			@@@@\
	fi;
# else
#  define Link64WithExports(libname,rev,solist,down,up) \
	$(CCENVSETUP) $(LD) -o $@@~ $(SHLIB64LDFLAGS) -h $@@ solist $(REQUIREDLIBS)
# endif
#endif

#ifndef Shared64LibraryTarget
#define Shared64LibraryTarget(libname,rev,solist,down,up)		@@@@\
AllTarget(Concat(down/lib,libname.so.rev))				@@@@\
									@@@@\
Concat(down/lib,libname.so.rev): solist $(EXTRALIBRARYDEPS)		@@@@\
	$(RM) $@@~							@@@@\
	Link64WithExports(libname,rev,solist,down,up)			@@@@\
	$(RM) $@@							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(down/lib,libname.so); \				@@@@\
	  $(LN) Concat(lib,libname.so.rev) Concat(down/lib,libname.so)); fi @@@@\
	LinkBuildLibrarySubdir($@@,down,up)				@@@@\
	LinkBuildLibrarySubdirMaybe(Concat(down/lib,libname.so),down,up,$(SOSYMLINK)) @@@@\
									@@@@\
clean::									@@@@\
	        $(RM) Concat(down/lib,libname.so.rev)			@@@@\
		$(RM) Concat(down/lib,libname.so)
#endif /* Shared64LibraryTarget */

#ifndef Shared64DepLibraryTarget
#define Shared64DepLibraryTarget(libname,rev,deplist,solist,down,up)	@@@@\
AllTarget(Concat(down/lib,libname.so.rev))				@@@@\
									@@@@\
Concat(down/lib,libname.so.rev): deplist $(EXTRALIBRARYDEPS)		@@@@\
	$(RM) $@@~							@@@@\
	Link64WithExports(libname,rev,solist,down,up)			@@@@\
	$(RM) $@@							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(down/lib,libname.so); \				@@@@\
	  $(LN) Concat(lib,libname.so.rev) Concat(down/lib,libname.so)); fi @@@@\
	LinkBuildLibrarySubdir($@@,down,up)				@@@@\
	LinkBuildLibrarySubdirMaybe(Concat(down/lib,libname.so),down,up,$(SOSYMLINK)) @@@@\
									@@@@\
clean::									@@@@\
	        $(RM) Concat(down/lib,libname.so.rev)			@@@@\
		$(RM) Concat(down/lib,libname.so)
#endif /* Shared64DepLibraryTarget */

#define Shared64CDebugFlags $(CDEBUGFLAGS) $(CLIBDEBUGFLAGS)
#define Shared64CplusplusDebugFlags $(CXXDEBUGFLAGS) $(CXXLIBDEBUGFLAGS)
#if HasGcc
#define Shared64CArchFlags -m64
#define Shared64CplusplusArchFlags -m64
#define Shared64AsmOptions -m64
#else
#define Shared64CArchFlags -xarch=v9
#define Shared64CplusplusArchFlags xarch=v9
#define Shared64AsmOptions -xarch=v9
#endif


#define Shared64LibObjCompile(options) LibObjCompile(Shared64Dir,Shared64CArchFlags Shared64CDebugFlags Shared64LibraryDef Shared64PositionIndependentCFlags options)
#define Shared64LibObjAsm(options) LibObjAsm(Shared64Dir,options,Shared64AsmOptions)
#define Shared64LibObjCplusplusCompile(options) LibObjCompile(Shared64Dir,Shared64CplusplusArchFlags Shared64CplusplusDebugFlags Shared64LibraryDef Shared64PositionIndependentCFlags options)

#define ExtraSubdir Shared64Dir
EXTRASUBDIR = ExtraSubdir
#define ObjectPrefix ExtraSubdir/
#define ExtraLibMkdir() _LibMkdir(Shared64Dir)
#define ExtraObjCompile(options) Shared64LibObjCompile(options)
#define ExtraObjAsm(options) Shared64LibObjAsm(options)
#define ExtraObjCplusplusCompile(options) Shared64LibObjCplusplusCompile(options)
#define ExtraCleanDir() LibCleanDir(Shared64Dir)

#define ExtraLibraryTarget(libname,so,objs) Shared64LibraryTarget(libname,so,objs,Shared64Dir,..)
#define ExtraDepLibraryTarget(libname,so,deplist,objs) Shared64DepLibraryTarget(libname,so,deplist,objs,Shared64Dir,..)
#define ExtraInstallLibrary(libname,so) InstallShared64Library(libname,so,$(SHLIBDIR)/Shared64Dir)

#if !defined(UseInstalled) && !defined(LdPreLib)
#define LdPreLib -L$(BUILDLIBDIR)/Shared64Dir -L$(BUILDLIBDIR)
#endif

#endif
@


