head	1.2;
access;
symbols
	netbsd-5-2-3-RELEASE:1.2
	netbsd-5-1-5-RELEASE:1.2
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.2
	riastradh-drm2-base:1.2
	netbsd-5-2-2-RELEASE:1.2
	netbsd-5-1-4-RELEASE:1.2
	netbsd-5-2-1-RELEASE:1.2
	netbsd-5-1-3-RELEASE:1.2
	netbsd-5-2:1.2.0.8
	netbsd-5-2-RELEASE:1.2
	netbsd-5-2-RC1:1.2
	netbsd-5-1-2-RELEASE:1.2
	netbsd-5-1-1-RELEASE:1.2
	netbsd-5-1:1.2.0.6
	netbsd-5-1-RELEASE:1.2
	netbsd-5-1-RC4:1.2
	netbsd-5-1-RC3:1.2
	netbsd-5-1-RC2:1.2
	netbsd-5-1-RC1:1.2
	netbsd-5-0-2-RELEASE:1.2
	netbsd-5-0-1-RELEASE:1.2
	netbsd-5-0:1.2.0.4
	netbsd-5-0-RELEASE:1.2
	netbsd-5-0-RC4:1.2
	netbsd-5-0-RC3:1.2
	netbsd-5-0-RC2:1.2
	netbsd-5-0-RC1:1.2
	netbsd-5:1.2.0.2
	netbsd-5-base:1.2
	netbsd-2-0-3-RELEASE:1.1.1.3
	netbsd-2-1:1.1.1.3.0.8
	netbsd-2-1-RELEASE:1.1.1.3
	netbsd-2-1-RC6:1.1.1.3
	netbsd-2-1-RC5:1.1.1.3
	netbsd-2-1-RC4:1.1.1.3
	netbsd-2-1-RC3:1.1.1.3
	netbsd-2-1-RC2:1.1.1.3
	netbsd-2-1-RC1:1.1.1.3
	netbsd-2-0-2-RELEASE:1.1.1.3
	netbsd-2-0-1-RELEASE:1.1.1.3
	netbsd-2:1.1.1.3.0.6
	netbsd-2-base:1.1.1.3
	netbsd-2-0-RELEASE:1.1.1.3
	netbsd-2-0-RC5:1.1.1.3
	netbsd-2-0-RC4:1.1.1.3
	netbsd-2-0-RC3:1.1.1.3
	netbsd-2-0-RC2:1.1.1.3
	netbsd-2-0-RC1:1.1.1.3
	netbsd-2-0:1.1.1.3.0.4
	netbsd-2-0-base:1.1.1.3
	netbsd-1-6-PATCH002-RELEASE:1.1.1.3
	netbsd-1-6-PATCH002:1.1.1.3
	netbsd-1-6-PATCH002-RC4:1.1.1.3
	netbsd-1-6-PATCH002-RC3:1.1.1.3
	netbsd-1-6-PATCH002-RC2:1.1.1.3
	netbsd-1-6-PATCH002-RC1:1.1.1.3
	netbsd-1-6:1.1.1.3.0.2
	netbsd-1-6-base:1.1.1.3
	netbsd-1-6-PATCH001:1.1.1.3
	netbsd-1-6-RELEASE:1.1.1.3
	netbsd-1-5-PATCH003:1.1.1.3
	netbsd-1-5-PATCH002:1.1.1.3
	netbsd-1-5-PATCH001:1.1.1.3
	xf-3_3-branch-2001-03-05:1.1.1.3
	netbsd-1-5-RELEASE:1.1.1.3
	netbsd-1-4-PATCH003:1.1.1.3
	netbsd-1-4-PATCH002:1.1.1.3
	v3-3-6:1.1.1.3
	comdex-fall-1999:1.1.1.3
	v3-3-5:1.1.1.3
	v3-3-4:1.1.1.3
	netbsd-1-4-PATCH001:1.1.1.3
	netbsd-1-4-RELEASE:1.1.1.3
	v3-3-3-1:1.1.1.3
	netbsd-1-3-PATCH003:1.1.1.3
	v3-3-3:1.1.1.3
	pre-xf86-3-3-3-import:1.1.1.3
	netbsd-1-3-PATCH002:1.1.1.3
	v3-3-2:1.1.1.3
	netbsd-1-3-RELEASE:1.1.1.3
	v3-3-1:1.1.1.3
	v3-3:1.1.1.2
	v3-2:1.1.1.1
	XF86:1.1.1;
locks; strict;
comment	@# @;


1.2
date	2005.01.07.18.51.36;	author tron;	state dead;
branches;
next	1.1;

1.1
date	97.03.15.06.08.23;	author scottr;	state Exp;
branches
	1.1.1.1;
next	;

1.1.1.1
date	97.03.15.06.08.23;	author scottr;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	97.06.30.12.32.27;	author mrg;	state Exp;
branches;
next	1.1.1.3;

1.1.1.3
date	97.08.20.05.45.12;	author mrg;	state Exp;
branches;
next	;


desc
@@


1.2
log
@EOL of XFree86 3.3.6, approved by core@@NetBSD.org
@
text
@XCOMM $XConsortium: hpLib.rules /main/10 1995/10/19 11:27:02 swick $

/*
 * HP shared library rules
 */

#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 <hpLib.tmpl>
#endif
#ifndef SharedLibraryLoadFlags
#define SharedLibraryLoadFlags -b
#endif
#ifndef PositionIndependentCFlags
#define PositionIndependentCFlags +z
#endif
#ifndef InstLibFlags
#define InstLibFlags -m 0555
#endif
#ifndef UseInstalled
#ifndef HasGcc2
/* assert: LdPostLib pulls in -L$(USRLIBDIR), so it doesn't need to be here */
#define ExtraLoadFlags -Wl,+s,+b,$(USRLIBDIR)
#endif
#endif

/*
 * InstallSharedLibrary - generate rules to install the shared library.
 */
#ifndef InstallSharedLibrary
#define	InstallSharedLibrary(libname,rev,dest)				@@@@\
install:: Concat(lib,libname.sl.rev) 					@@@@\
	MakeDir($(DESTDIR)dest)						@@@@\
	RMoveToBakFile(Concat($(DESTDIR)dest/lib,libname.sl.rev))	@@@@\
	$(INSTALL) $(INSTALLFLAGS) $(INSTLIBFLAGS) Concat(lib,libname.sl.rev) $(DESTDIR)dest @@@@\
	$(RM) Concat($(DESTDIR)dest/lib,libname.sl)			@@@@\
	cd $(DESTDIR)dest; $(LN) Concat(lib,libname.sl.rev) Concat(lib,libname.sl) @@@@\
	-RemoveFile(Concat(lib,libname.sl.rev.bak))

#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
#define SharedLibraryTarget(libname,rev,solist,down,up)			@@@@\
AllTarget(Concat(lib,libname.sl.rev))					@@@@\
									@@@@\
Concat(lib,libname.sl.rev):  solist					@@@@\
	$(RM) $@@~							@@@@\
	(cd down; $(LD) -o up/$@@~ $(SHLIBLDFLAGS) solist)		@@@@\
	$(RM) $@@ 							@@@@\
	$(MV) $@@~ $@@							@@@@\
	$(RM) Concat(lib,libname.sl)					@@@@\
	$(LN) $@@ Concat(lib,libname.sl)					@@@@\
	LinkBuildLibrary($@@)						@@@@\
	LinkBuildLibrary(Concat(lib,libname.sl))			@@@@\
									@@@@\
clean::									@@@@\
	$(RM) Concat(lib,libname.sl.rev) Concat(lib,libname.sl)

#endif /* SharedLibraryTarget */

/*
 * 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
@XFree86 3.2 sources
@
text
@@


1.1.1.2
log
@XFree86 3.3 sources.
@
text
@d1 1
a1 1
XCOMM $XConsortium: hpLib.rules /main/16 1996/12/04 11:44:35 swick $
d8 1
a8 1
# define HasSharedLibraries YES
d11 1
a11 1
# define SharedDataSeparation NO
d14 1
a14 1
# define SharedCodeDef /**/
d17 1
a17 1
# define SharedLibraryDef /**/
d20 1
a20 1
# define ShLibIncludeFile <hpLib.tmpl>
d23 1
a23 1
# define SharedLibraryLoadFlags -b
d26 1
a26 4
# define PositionIndependentCFlags +z
#endif
#ifndef LargePositionIndependentCFlags
# define LargePositionIndependentCFlags +Z
d29 1
a29 1
# define InstLibFlags -m 0555
d34 1
a34 4
# define ExtraLoadFlags -Wl,+s -Wl,+b$(USRLIBDIRPATH)
#endif
#ifndef UseExportLists
# define UseExportLists	YES
a35 23

/* Pre-linking shared libraries is supported in HP/UX 10. */
#if OSMajorVersion > 9
# define HPRequiredLibs	$(LDPRELIBS) $(REQUIREDLIBS) +s +b $(USRLIBDIRPATH)
#else
# define HPRequiredLibs	$(REQUIREDLIBS)
#endif

#ifndef LinkWithExports
# if UseExportLists
#  define LinkWithExports(libname,rev,solist,down,up) \
	(cd down; $(LD) -o up/$@@~ $(SHLIBLDFLAGS) +h $@@ solist HPRequiredLibs)	@@@@\
	if [ -f Concat(lib,libname.elist) ]; then \			@@@@\
	    RemoveFiles($@@.exports $@@.list); \				@@@@\
	    $(CPP) $(ALLINCLUDES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(THREADS_DEFINES) $(DEFINES) Concat(lib,libname.elist) | CppSedMagic >$@@.list; \	@@@@\
	    $(EXPORTLISTGEN) $@@~ $@@.list > $@@.exports; \		@@@@\
	    (cd down; $(LD) -c up/$@@.exports -o up/$@@~ $(SHLIBLDFLAGS) +h $@@ solist HPRequiredLibs); \ @@@@\
	    RemoveFiles($@@.exports $@@.list); \				@@@@\
	fi
# else
#  define LinkWithExports(libname,rev,solist,down,up) \
	(cd down; $(LD) -o up/$@@~ $(SHLIBLDFLAGS) +h $@@ solist HPRequiredLibs)
# endif
d42 1
a42 1
# define InstallSharedLibrary(libname,rev,dest)				@@@@\
d57 1
a57 1
# define InstallSharedLibraryData(libname,rev,dest)
d67 1
a67 1
# define SharedLibraryTarget(libname,rev,solist,down,up)		@@@@\
d70 1
a70 1
Concat(lib,libname.sl.rev):  solist $(EXTRALIBRARYDEPS)			@@@@\
d72 2
a73 3
	LinkWithExports(libname,rev,solist,down,up)			@@@@\
	-RemoveFiles($@@ $@@.bak)						@@@@\
	MoveToBakFile($@@)						@@@@\
d89 1
a89 1
# define SharedLibraryDataTarget(libname,rev,salist)
@


1.1.1.3
log
@xfree86 3.3.1 sources.
@
text
@d35 1
@
