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.6.1
	netbsd-3-0-3-RELEASE:1.1.1.5.6.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.6.1.0.4
	netbsd-3-1-RELEASE:1.1.1.5.6.1
	netbsd-3-0-2-RELEASE:1.1.1.5.6.1
	netbsd-3-1-RC4:1.1.1.5.6.1
	netbsd-3-1-RC3:1.1.1.5.6.1
	netbsd-3-1-RC2:1.1.1.5.6.1
	netbsd-3-1-RC1:1.1.1.5.6.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.6.1
	netbsd-3-0:1.1.1.5.6.1.0.2
	netbsd-3-0-RELEASE:1.1.1.5.6.1
	netbsd-3-0-RC6:1.1.1.5.6.1
	netbsd-3-0-RC5:1.1.1.5.6.1
	netbsd-3-0-RC4:1.1.1.5.6.1
	netbsd-3-0-RC3:1.1.1.5.6.1
	netbsd-3-0-RC2:1.1.1.5.6.1
	netbsd-3-0-RC1:1.1.1.5.6.1
	netbsd-2-0-3-RELEASE:1.1.1.5
	netbsd-2-1:1.1.1.5.0.8
	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.6
	netbsd-3-base:1.1.1.5
	netbsd-2-0-1-RELEASE:1.1.1.5
	netbsd-2:1.1.1.5.0.4
	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.2
	netbsd-2-0-base:1.1.1.5
	v4-4-0:1.1.1.5
	v4-4-0_beforeimport:1.1.1.4
	netbsd-1-6-PATCH002-RELEASE:1.1.1.4
	netbsd-1-6-PATCH002:1.1.1.4
	netbsd-1-6-PATCH002-RC4:1.1.1.4
	v4-3-0-2003-12-19:1.1.1.4
	netbsd-1-6-PATCH002-RC3:1.1.1.4
	netbsd-1-6-PATCH002-RC2:1.1.1.4
	netbsd-1-6-PATCH002-RC1:1.1.1.4
	netbsd-1-6:1.1.1.4.0.2
	netbsd-1-6-base:1.1.1.4
	v4-3-0:1.1.1.4
	v4-3-0_beforeimport:1.1.1.3
	netbsd-1-6-PATCH001:1.1.1.3
	netbsd-1-6-RELEASE:1.1.1.2
	v4-2-1:1.1.1.3
	v4-2-1_beforeimport:1.1.1.2
	netbsd-1-5-PATCH003:1.1.1.2
	v4-2-0:1.1.1.2
	netbsd-1-5-PATCH002:1.1.1.1
	v4-1-0: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.06.09.14.52.55;	author tron;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	2001.06.09.14.52.55;	author tron;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	2002.01.19.14.53.41;	author tron;	state Exp;
branches;
next	1.1.1.3;

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

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

1.1.1.5
date	2004.03.05.14.23.51;	author tron;	state Exp;
branches
	1.1.1.5.6.1;
next	1.1.1.6;

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

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


desc
@@


1.2
log
@remove obsolete XFree86 sources.
@
text
@XCOMM $XFree86: xc/config/cf/darwinLib.rules,v 1.1 2001/03/13 02:36:12 torrey Exp $
/*
 * Darwin/Mac OS X shared library rules
 */

#ifndef UseElfFormat
#define UseElfFormat NO
#endif
#ifndef HasSharedLibraries
#define HasSharedLibraries YES
#endif
#ifndef ForceNormalLib
#define ForceNormalLib YES
#endif

#ifndef SharedDataSeparation
#define SharedDataSeparation NO
#endif
#ifndef SharedCodeDef
#define SharedCodeDef /**/
#endif
#ifndef SharedLibraryDef
#define SharedLibraryDef /**/
#endif
#ifndef ShLibIncludeFile
#define ShLibIncludeFile <darwinLib.tmpl>
#endif
#ifndef SharedLibraryLoadFlags
#define SharedLibraryLoadFlags -dynamiclib -undefined suppress
#endif
#ifndef PositionIndependentCFlags
#define PositionIndependentCFlags -dynamic
#endif
#ifndef ExtraLoadFlags
#define ExtraLoadFlags /**/
#endif

/*
 * InstallSharedLibrary - generate rules to install the shared library.
 */
#ifndef InstallSharedLibrary
#define InstallSharedLibrary(libname,rev,dest)				@@@@\
install:: Concat(lib,libname.rev.dylib)					@@@@\
	MakeDir($(DESTDIR)dest)						@@@@\
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.rev.dylib) $(DESTDIR)dest @@@@\
	@@MAJREV=`expr rev : '\(.*\)\.'`; \				@@@@\
	  set -x; $(RM) Concat($(DESTDIR)dest/lib,libname.$$MAJREV.dylib) && \ @@@@\
	  $(LN) Concat(lib,libname.rev.dylib) Concat($(DESTDIR)dest/lib,libname.$$MAJREV.dylib) @@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat($(DESTDIR)dest/lib,libname.dylib); \		@@@@\
	  $(LN) Concat(lib,libname.rev.dylib) Concat($(DESTDIR)dest/lib,libname.dylib)); fi
#endif /* InstallSharedLibrary */

/*
 * 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.rev.dylib))				@@@@\
									@@@@\
Concat(lib,libname.rev.dylib):  solist $(EXTRALIBRARYDEPS)		@@@@\
	$(RM) $@@~							@@@@\
	@@MAJREV=`expr rev : '\(.*\)\.'`; \				@@@@\
	  INSTALLNAME=Concat(lib,libname.$$MAJREV.dylib); \		@@@@\
	  set -x; (cd down; $(CC) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME; \		@@@@\
	  LinkBuildSonameLibrary($$INSTALLNAME)				@@@@\
	$(RM) $@@							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(lib,libname.dylib); \				@@@@\
	  $(LN) $@@ Concat(lib,libname.dylib)); fi			@@@@\
	LinkBuildLibrary($@@)						@@@@\
	LinkBuildLibraryMaybe(Concat(lib,libname.dylib),$(SOSYMLINK))	@@@@\
									@@@@\
clean::									@@@@\
	@@MAJREV=`expr rev : '\(.*\)\.'`; \				@@@@\
	set -x; $(RM) Concat(lib,libname.$$MAJREV.dylib)		@@@@\
	$(RM) Concat(lib,libname.rev.dylib) Concat(lib,libname.dylib)

#endif /* SharedLibraryTarget */

/*
 * SharedDepLibraryTarget - generate rules to create a shared library.
 */
#ifndef SharedDepLibraryTarget
#ifdef UseInstalled
#ifndef LinkBuildSonameLibrary
#define LinkBuildSonameLibrary(lib) true
#endif
#else
#ifndef LinkBuildSonameLibrary
#define LinkBuildSonameLibrary(lib) (RemoveFile($(BUILDLIBDIR)/lib); \
	cd $(BUILDLIBDIR); $(LN) $(BUILDINCTOP)/$(CURRENT_DIR)/lib .)
#endif
#endif

#define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up)	@@@@\
AllTarget(Concat(lib,libname.rev.dylib))				@@@@\
									@@@@\
Concat(lib,libname.rev.dylib):  deplist $(EXTRALIBRARYDEPS)		@@@@\
	$(RM) $@@~							@@@@\
	@@MAJREV=`expr rev : '\(.*\)\.'`; \				@@@@\
	  INSTALLNAME=Concat(lib,libname.$$MAJREV.dylib); \		@@@@\
	  set -x; (cd down; $(CC) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME; \		@@@@\
	  LinkBuildSonameLibrary($$INSTALLNAME)				@@@@\
	$(RM) $@@							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(lib,libname.dylib); \				@@@@\
	  $(LN) $@@ Concat(lib,libname.dylib)); fi			@@@@\
	LinkBuildLibrary($@@)						@@@@\
	LinkBuildLibraryMaybe(Concat(lib,libname.dylib),$(SOSYMLINK))	@@@@\
									@@@@\
clean::									@@@@\
	@@MAJREV=`expr rev : '\(.*\)\.'`; \				@@@@\
	set -x; $(RM) Concat(lib,libname.$$MAJREV.dylib)		@@@@\
	$(RM) Concat(lib,libname.rev.dylib) Concat(lib,libname.dylib)

#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 /* SharedLibraryDataTarget */

#ifndef InstallSharedLibraryData
#define InstallSharedLibraryData(libname,rev,dest)
#endif /* InstallSharedLibraryData */
@


1.1
log
@Initial revision
@
text
@@


1.1.1.1
log
@Import of XFree86 4.1.0.
@
text
@@


1.1.1.2
log
@Import of XFree86 4.2.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/config/cf/darwinLib.rules,v 1.4 2002/01/16 00:39:59 keithp Exp $
d29 1
a29 1
#define SharedLibraryLoadFlags -dynamiclib
d46 1
a46 1
	@@MAJREV=`expr rev : '\([^.]*\)'`; \				@@@@\
d72 1
a72 1
	@@MAJREV=`expr rev : '\([^.]*\)'`; \				@@@@\
d86 1
a86 1
	@@MAJREV=`expr rev : '\([^.]*\)'`; \				@@@@\
d112 1
a112 1
	@@MAJREV=`expr rev : '\([^.]*\)'`; \				@@@@\
d126 1
a126 1
	@@MAJREV=`expr rev : '\([^.]*\)'`; \				@@@@\
@


1.1.1.3
log
@Import of XFree86 4.2.1.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/config/cf/darwinLib.rules,v 1.4.2.1 2002/07/16 22:03:05 torrey Exp $
d60 4
a63 4
# ifdef UseInstalled
#  define LinkBuildSonameLibrary(lib) true
# else
#  define LinkBuildSonameLibrary(lib) (RemoveFile($(BUILDLIBDIR)/lib); \
d65 1
a65 1
# endif
d67 1
a67 1
# define SharedLibraryTarget(libname,rev,solist,down,up)		@@@@\
d96 7
a102 7
# ifdef UseInstalled
#  ifndef LinkBuildSonameLibrary
#   define LinkBuildSonameLibrary(lib) true
#  endif
# else
#  ifndef LinkBuildSonameLibrary
#   define LinkBuildSonameLibrary(lib) (RemoveFile($(BUILDLIBDIR)/lib); \
d104 2
a105 2
#  endif
# endif
d107 1
a107 1
# define SharedDepLibraryTarget(libname,rev,deplist,solist,down,up)	@@@@\
a130 40

/*
 * SharedDepCplusplusLibraryTarget - generate rules to create a shared library.
 */
#ifndef SharedDepCplusplusLibraryTarget
# ifdef UseInstalled
#  ifndef LinkBuildSonameLibrary
#   define LinkBuildSonameLibrary(lib) true
#  endif
# else
#  ifndef LinkBuildSonameLibrary
#   define LinkBuildSonameLibrary(lib) (RemoveFile($(BUILDLIBDIR)/lib); \
	cd $(BUILDLIBDIR); $(LN) $(BUILDINCTOP)/$(CURRENT_DIR)/lib .)
#  endif
# endif

# define SharedDepCplusplusLibraryTarget(libname,rev,deplist,solist,down,up)	@@@@\
AllTarget(Concat(lib,libname.rev.dylib))				@@@@\
									@@@@\
Concat(lib,libname.rev.dylib):  deplist $(EXTRALIBRARYDEPS)		@@@@\
	$(RM) $@@~							@@@@\
	@@MAJREV=`expr rev : '\([^.]*\)'`; \				@@@@\
	  INSTALLNAME=Concat(lib,libname.$$MAJREV.dylib); \		@@@@\
	  set -x; (cd down; $(CXX) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME; \		@@@@\
	  LinkBuildSonameLibrary($$INSTALLNAME)				@@@@\
	$(RM) $@@							@@@@\
	$(MV) $@@~ $@@							@@@@\
	@@if $(SOSYMLINK); then (set -x; \				@@@@\
	  $(RM) Concat(lib,libname.dylib); \				@@@@\
	  $(LN) $@@ Concat(lib,libname.dylib)); fi			@@@@\
	LinkBuildLibrary($@@)						@@@@\
	LinkBuildLibraryMaybe(Concat(lib,libname.dylib),$(SOSYMLINK))	@@@@\
									@@@@\
clean::									@@@@\
	@@MAJREV=`expr rev : '\([^.]*\)'`; \				@@@@\
	set -x; $(RM) Concat(lib,libname.$$MAJREV.dylib)		@@@@\
	$(RM) Concat(lib,libname.rev.dylib) Concat(lib,libname.dylib)

#endif /* SharedDepCplusplusLibraryTarget */
@


1.1.1.4
log
@Import of XFree86 4.3.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/config/cf/darwinLib.rules,v 1.5 2002/07/17 01:06:04 torrey Exp $
@


1.1.1.5
log
@Import of XFree86 4.4.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/config/cf/darwinLib.rules,v 1.9 2003/10/11 09:40:12 herrb Exp $
d46 1
a46 1
	@@MAJREV=`echo rev | sed 's/\.[^\.]*$$//'`; \			@@@@\
d60 7
d72 1
a72 1
	@@MAJREV=`echo rev | sed 's/\.[^\.]*$$//'`; \			@@@@\
d86 1
a86 1
	@@MAJREV=`echo rev | sed 's/\.[^\.]*$$//'`; \			@@@@\
d96 11
d112 1
a112 1
	@@MAJREV=`echo rev | sed 's/\.[^\.]*$$//'`; \			@@@@\
d126 1
a126 1
	@@MAJREV=`echo rev | sed 's/\.[^\.]*$$//'`; \			@@@@\
d136 11
d152 1
a152 1
	@@MAJREV=`echo rev | sed 's/\.[^\.]*$$//'`; \			@@@@\
d166 1
a166 1
	@@MAJREV=`echo rev | sed 's/\.[^\.]*$$//'`; \			@@@@\
@


1.1.1.5.6.1
log
@Apply patch (requested by jmc in ticket #114):
Update XFree86 to version 4.5.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/config/cf/darwinLib.rules,v 1.13 2004/04/23 17:56:04 torrey Exp $
a37 4
#ifndef SetMajorRev
#define SetMajorRev(rev) set +e; MAJREV=`expr rev : '\([0-9]*\)'`; set -e
#endif

d43 1
a43 1
install::								@@@@\
d45 4
a48 5
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat($(LIBPREFIX),libname.rev.dylib) $(DESTDIR)dest @@@@\
	@@SetMajorRev(rev); \						@@@@\
	  if [ rev != $$MAJREV ]; then (set -x; \			@@@@\
	    $(RM) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.$$MAJREV.dylib) && \ @@@@\
	    $(LN) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.$$MAJREV.dylib)); fi @@@@\
d50 2
a51 2
	  $(RM) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.dylib); \	@@@@\
	  $(LN) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.dylib)); fi
d61 1
a61 1
AllTarget(Concat($(LIBPREFIX),libname.rev.dylib))			@@@@\
d63 1
a63 1
Concat($(LIBPREFIX),libname.rev.dylib):  solist $(EXTRALIBRARYDEPS)	@@@@\
d65 4
a68 5
	@@SetMajorRev(rev); \						@@@@\
	  INSTALLNAME=Concat($(LIBPREFIX),libname.$$MAJREV.dylib); \	@@@@\
	  (set -x; cd down; $(CC) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  if [ $$INSTALLNAME != $@@ ]; then (set -x; \			@@@@\
	    $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME); fi; \		@@@@\
d73 2
a74 2
	  $(RM) Concat($(LIBPREFIX),libname.dylib); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.dylib)); fi		@@@@\
d76 1
a76 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.dylib),$(SOSYMLINK)) @@@@\
d79 3
a81 3
	@@SetMajorRev(rev); \						@@@@\
	set -x; $(RM) Concat($(LIBPREFIX),libname.$$MAJREV.dylib)	@@@@\
	$(RM) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(LIBPREFIX),libname.dylib)
d90 1
a90 1
AllTarget(Concat($(LIBPREFIX),libname.rev.dylib))			@@@@\
d92 1
a92 1
Concat($(LIBPREFIX),libname.rev.dylib):  deplist $(EXTRALIBRARYDEPS)	@@@@\
d94 4
a97 5
	@@SetMajorRev(rev); \						@@@@\
	  INSTALLNAME=Concat($(LIBPREFIX),libname.$$MAJREV.dylib); \	@@@@\
	  (set -x; cd down; $(CC) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  if [ $$INSTALLNAME != $@@ ]; then (set -x; \			@@@@\
	    $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME); fi; \		@@@@\
d102 2
a103 2
	  $(RM) Concat($(LIBPREFIX),libname.dylib); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.dylib)); fi		@@@@\
d105 1
a105 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.dylib),$(SOSYMLINK)) @@@@\
d108 3
a110 3
	@@SetMajorRev(rev); \						@@@@\
	set -x; $(RM) Concat($(LIBPREFIX),libname.$$MAJREV.dylib)	@@@@\
	$(RM) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(LIBPREFIX),libname.dylib)
d119 1
a119 1
AllTarget(Concat($(LIBPREFIX),libname.rev.dylib))			@@@@\
d121 1
a121 1
Concat($(LIBPREFIX),libname.rev.dylib):  deplist $(EXTRALIBRARYDEPS)	@@@@\
d123 4
a126 5
	@@SetMajorRev(rev); \						@@@@\
	  INSTALLNAME=Concat($(LIBPREFIX),libname.$$MAJREV.dylib); \	@@@@\
	  (set -x; cd down; $(CXX) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  if [ $$INSTALLNAME != $@@ ]; then (set -x; \			@@@@\
	    $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME); fi; \		@@@@\
d131 2
a132 2
	  $(RM) Concat($(LIBPREFIX),libname.dylib); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.dylib)); fi		@@@@\
d134 1
a134 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.dylib),$(SOSYMLINK)) @@@@\
d137 3
a139 3
	@@SetMajorRev(rev); \						@@@@\
	set -x; $(RM) Concat($(LIBPREFIX),libname.$$MAJREV.dylib)	@@@@\
	$(RM) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(LIBPREFIX),libname.dylib)
@


1.1.1.6
log
@Import of XFree86 4.5.0.
@
text
@d1 1
a1 1
XCOMM $XFree86: xc/config/cf/darwinLib.rules,v 1.13 2004/04/23 17:56:04 torrey Exp $
a37 4
#ifndef SetMajorRev
#define SetMajorRev(rev) set +e; MAJREV=`expr rev : '\([0-9]*\)'`; set -e
#endif

d43 1
a43 1
install::								@@@@\
d45 4
a48 5
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat($(LIBPREFIX),libname.rev.dylib) $(DESTDIR)dest @@@@\
	@@SetMajorRev(rev); \						@@@@\
	  if [ rev != $$MAJREV ]; then (set -x; \			@@@@\
	    $(RM) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.$$MAJREV.dylib) && \ @@@@\
	    $(LN) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.$$MAJREV.dylib)); fi @@@@\
d50 2
a51 2
	  $(RM) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.dylib); \	@@@@\
	  $(LN) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(DESTDIR)dest/$(LIBPREFIX),libname.dylib)); fi
d61 1
a61 1
AllTarget(Concat($(LIBPREFIX),libname.rev.dylib))			@@@@\
d63 1
a63 1
Concat($(LIBPREFIX),libname.rev.dylib):  solist $(EXTRALIBRARYDEPS)	@@@@\
d65 4
a68 5
	@@SetMajorRev(rev); \						@@@@\
	  INSTALLNAME=Concat($(LIBPREFIX),libname.$$MAJREV.dylib); \	@@@@\
	  (set -x; cd down; $(CC) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  if [ $$INSTALLNAME != $@@ ]; then (set -x; \			@@@@\
	    $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME); fi; \		@@@@\
d73 2
a74 2
	  $(RM) Concat($(LIBPREFIX),libname.dylib); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.dylib)); fi		@@@@\
d76 1
a76 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.dylib),$(SOSYMLINK)) @@@@\
d79 3
a81 3
	@@SetMajorRev(rev); \						@@@@\
	set -x; $(RM) Concat($(LIBPREFIX),libname.$$MAJREV.dylib)	@@@@\
	$(RM) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(LIBPREFIX),libname.dylib)
d90 1
a90 1
AllTarget(Concat($(LIBPREFIX),libname.rev.dylib))			@@@@\
d92 1
a92 1
Concat($(LIBPREFIX),libname.rev.dylib):  deplist $(EXTRALIBRARYDEPS)	@@@@\
d94 4
a97 5
	@@SetMajorRev(rev); \						@@@@\
	  INSTALLNAME=Concat($(LIBPREFIX),libname.$$MAJREV.dylib); \	@@@@\
	  (set -x; cd down; $(CC) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  if [ $$INSTALLNAME != $@@ ]; then (set -x; \			@@@@\
	    $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME); fi; \		@@@@\
d102 2
a103 2
	  $(RM) Concat($(LIBPREFIX),libname.dylib); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.dylib)); fi		@@@@\
d105 1
a105 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.dylib),$(SOSYMLINK)) @@@@\
d108 3
a110 3
	@@SetMajorRev(rev); \						@@@@\
	set -x; $(RM) Concat($(LIBPREFIX),libname.$$MAJREV.dylib)	@@@@\
	$(RM) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(LIBPREFIX),libname.dylib)
d119 1
a119 1
AllTarget(Concat($(LIBPREFIX),libname.rev.dylib))			@@@@\
d121 1
a121 1
Concat($(LIBPREFIX),libname.rev.dylib):  deplist $(EXTRALIBRARYDEPS)	@@@@\
d123 4
a126 5
	@@SetMajorRev(rev); \						@@@@\
	  INSTALLNAME=Concat($(LIBPREFIX),libname.$$MAJREV.dylib); \	@@@@\
	  (set -x; cd down; $(CXX) -o up/$@@~ $(SHLIBLDFLAGS) -install_name $(USRLIBDIR)/$$INSTALLNAME -current_version rev -compatibility_version rev solist $(REQUIREDLIBS)); \ @@@@\
	  if [ $$INSTALLNAME != $@@ ]; then (set -x; \			@@@@\
	    $(RM) $$INSTALLNAME; $(LN) $@@ $$INSTALLNAME); fi; \		@@@@\
d131 2
a132 2
	  $(RM) Concat($(LIBPREFIX),libname.dylib); \			@@@@\
	  $(LN) $@@ Concat($(LIBPREFIX),libname.dylib)); fi		@@@@\
d134 1
a134 1
	LinkBuildLibraryMaybe(Concat($(LIBPREFIX),libname.dylib),$(SOSYMLINK)) @@@@\
d137 3
a139 3
	@@SetMajorRev(rev); \						@@@@\
	set -x; $(RM) Concat($(LIBPREFIX),libname.$$MAJREV.dylib)	@@@@\
	$(RM) Concat($(LIBPREFIX),libname.rev.dylib) Concat($(LIBPREFIX),libname.dylib)
@


