head	1.8;
access;
symbols
	perseant-exfatfs-base-20250801:1.8
	perseant-exfatfs-base-20240630:1.8
	perseant-exfatfs:1.8.0.18
	perseant-exfatfs-base:1.8
	cjep_sun2x:1.8.0.16
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	cjep_staticlib_x:1.8.0.14
	cjep_staticlib_x-base:1.8
	phil-wifi-20200421:1.8
	phil-wifi-20200411:1.8
	phil-wifi-20200406:1.8
	pgoyette-compat-merge-20190127:1.8
	pgoyette-compat-20190127:1.8
	pgoyette-compat-20190118:1.8
	pgoyette-compat-1226:1.8
	pgoyette-compat-1126:1.8
	pgoyette-compat-1020:1.8
	pgoyette-compat-0930:1.8
	pgoyette-compat-0906:1.8
	pgoyette-compat-0728:1.8
	pgoyette-compat-0625:1.8
	pgoyette-compat-0521:1.8
	pgoyette-compat-0502:1.8
	pgoyette-compat-0422:1.8
	pgoyette-compat-0415:1.8
	pgoyette-compat-0407:1.8
	pgoyette-compat-0330:1.8
	pgoyette-compat-0322:1.8
	pgoyette-compat-0315:1.8
	pgoyette-compat:1.8.0.12
	pgoyette-compat-base:1.8
	prg-localcount2-base3:1.8
	prg-localcount2-base2:1.8
	prg-localcount2-base1:1.8
	prg-localcount2:1.8.0.10
	prg-localcount2-base:1.8
	pgoyette-localcount-20170426:1.8
	bouyer-socketcan-base1:1.8
	pgoyette-localcount-20170320:1.8
	bouyer-socketcan:1.8.0.8
	bouyer-socketcan-base:1.8
	pgoyette-localcount-20170107:1.8
	pgoyette-localcount-20161104:1.8
	localcount-20160914:1.8
	pgoyette-localcount-20160806:1.8
	pgoyette-localcount-20160726:1.8
	pgoyette-localcount:1.8.0.6
	pgoyette-localcount-base:1.8
	netbsd-5-2-3-RELEASE:1.6
	netbsd-5-1-5-RELEASE:1.6
	netbsd-6-0-6-RELEASE:1.7
	netbsd-6-1-5-RELEASE:1.7
	yamt-pagecache-base9:1.8
	yamt-pagecache-tag8:1.7.6.1
	netbsd-6-1-4-RELEASE:1.7
	netbsd-6-0-5-RELEASE:1.7
	tls-earlyentropy:1.8.0.2
	tls-earlyentropy-base:1.8
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.8
	riastradh-drm2-base3:1.8
	netbsd-6-1-3-RELEASE:1.7
	netbsd-6-0-4-RELEASE:1.7
	netbsd-5-2-2-RELEASE:1.6
	netbsd-5-1-4-RELEASE:1.6
	netbsd-6-1-2-RELEASE:1.7
	netbsd-6-0-3-RELEASE:1.7
	netbsd-5-2-1-RELEASE:1.6
	netbsd-5-1-3-RELEASE:1.6
	netbsd-6-1-1-RELEASE:1.7
	netbsd-6-1:1.7.0.14
	netbsd-6-0-2-RELEASE:1.7
	netbsd-6-1-RELEASE:1.7
	netbsd-6-1-RC4:1.7
	netbsd-6-1-RC3:1.7
	agc-symver:1.8.0.4
	agc-symver-base:1.8
	netbsd-6-1-RC2:1.7
	tls-maxphys-base:1.8
	netbsd-6-1-RC1:1.7
	yamt-pagecache-base8:1.8
	netbsd-5-2:1.6.0.50
	netbsd-6-0-1-RELEASE:1.7
	yamt-pagecache-base7:1.8
	netbsd-5-2-RELEASE:1.6
	netbsd-5-2-RC1:1.6
	matt-nb6-plus-nbase:1.7
	yamt-pagecache-base6:1.8
	netbsd-6-0:1.7.0.12
	netbsd-6-0-RELEASE:1.7
	netbsd-6-0-RC2:1.7
	matt-nb6-plus:1.7.0.10
	matt-nb6-plus-base:1.7
	netbsd-6-0-RC1:1.7
	yamt-pagecache-base5:1.7
	yamt-pagecache-base4:1.7
	netbsd-6:1.7.0.8
	netbsd-6-base:1.7
	netbsd-5-1-2-RELEASE:1.6
	netbsd-5-1-1-RELEASE:1.6
	yamt-pagecache-base3:1.7
	yamt-pagecache-base2:1.7
	yamt-pagecache:1.7.0.6
	yamt-pagecache-base:1.7
	cherry-xenmp:1.7.0.4
	cherry-xenmp-base:1.7
	bouyer-quota2-nbase:1.7
	bouyer-quota2:1.7.0.2
	bouyer-quota2-base:1.7
	matt-mips64-premerge-20101231:1.7
	matt-nb5-mips64-premerge-20101231:1.6
	matt-nb5-pq3:1.6.0.48
	matt-nb5-pq3-base:1.6
	netbsd-5-1:1.6.0.46
	netbsd-5-1-RELEASE:1.6
	netbsd-5-1-RC4:1.6
	matt-nb5-mips64-k15:1.6
	netbsd-5-1-RC3:1.6
	netbsd-5-1-RC2:1.6
	netbsd-5-1-RC1:1.6
	netbsd-5-0-2-RELEASE:1.6
	matt-nb5-mips64-premerge-20091211:1.6
	matt-premerge-20091211:1.6
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.6
	matt-nb4-mips64-k7-u2a-k9b:1.6
	matt-nb5-mips64-u1-k1-k5:1.6
	matt-nb5-mips64:1.6.0.44
	netbsd-5-0-1-RELEASE:1.6
	jym-xensuspend-nbase:1.6
	netbsd-5-0:1.6.0.42
	netbsd-5-0-RELEASE:1.6
	netbsd-5-0-RC4:1.6
	netbsd-5-0-RC3:1.6
	netbsd-5-0-RC2:1.6
	jym-xensuspend:1.6.0.40
	jym-xensuspend-base:1.6
	netbsd-5-0-RC1:1.6
	netbsd-5:1.6.0.38
	netbsd-5-base:1.6
	matt-mips64-base2:1.6
	matt-mips64:1.6.0.36
	mjf-devfs2:1.6.0.34
	mjf-devfs2-base:1.6
	netbsd-4-0-1-RELEASE:1.6
	wrstuden-revivesa-base-3:1.6
	wrstuden-revivesa-base-2:1.6
	wrstuden-fixsa-newbase:1.6
	wrstuden-revivesa-base-1:1.6
	yamt-pf42-base4:1.6
	yamt-pf42-base3:1.6
	hpcarm-cleanup-nbase:1.6
	yamt-pf42-baseX:1.6
	yamt-pf42-base2:1.6
	wrstuden-revivesa:1.6.0.32
	wrstuden-revivesa-base:1.6
	yamt-pf42:1.6.0.30
	yamt-pf42-base:1.6
	keiichi-mipv6:1.6.0.28
	keiichi-mipv6-base:1.6
	matt-armv6-nbase:1.6
	matt-armv6-prevmlocking:1.6
	wrstuden-fixsa-base-1:1.6
	netbsd-4-0:1.6.0.26
	netbsd-4-0-RELEASE:1.6
	cube-autoconf:1.6.0.24
	cube-autoconf-base:1.6
	netbsd-4-0-RC5:1.6
	netbsd-4-0-RC4:1.6
	netbsd-4-0-RC3:1.6
	netbsd-4-0-RC2:1.6
	netbsd-4-0-RC1:1.6
	matt-armv6:1.6.0.22
	matt-armv6-base:1.6
	matt-mips64-base:1.6
	hpcarm-cleanup:1.6.0.20
	hpcarm-cleanup-base:1.6
	netbsd-3-1-1-RELEASE:1.6
	netbsd-3-0-3-RELEASE:1.6
	wrstuden-fixsa:1.6.0.18
	wrstuden-fixsa-base:1.6
	abandoned-netbsd-4-base:1.6
	abandoned-netbsd-4:1.6.0.12
	netbsd-3-1:1.6.0.14
	netbsd-3-1-RELEASE:1.6
	netbsd-3-0-2-RELEASE:1.6
	netbsd-3-1-RC4:1.6
	netbsd-3-1-RC3:1.6
	netbsd-3-1-RC2:1.6
	netbsd-3-1-RC1:1.6
	netbsd-4:1.6.0.16
	netbsd-4-base:1.6
	netbsd-3-0-1-RELEASE:1.6
	netbsd-3-0:1.6.0.10
	netbsd-3-0-RELEASE:1.6
	netbsd-3-0-RC6:1.6
	netbsd-3-0-RC5:1.6
	netbsd-3-0-RC4:1.6
	netbsd-3-0-RC3:1.6
	netbsd-3-0-RC2:1.6
	netbsd-3-0-RC1:1.6
	netbsd-2-0-3-RELEASE:1.6
	netbsd-2-1:1.6.0.8
	netbsd-2-1-RELEASE:1.6
	netbsd-2-1-RC6:1.6
	netbsd-2-1-RC5:1.6
	netbsd-2-1-RC4:1.6
	netbsd-2-1-RC3:1.6
	netbsd-2-1-RC2:1.6
	netbsd-2-1-RC1:1.6
	netbsd-2-0-2-RELEASE:1.6
	netbsd-3:1.6.0.6
	netbsd-3-base:1.6
	netbsd-2-0-1-RELEASE:1.6
	netbsd-2:1.6.0.4
	netbsd-2-base:1.6
	netbsd-2-0-RELEASE:1.6
	netbsd-2-0-RC5:1.6
	netbsd-2-0-RC4:1.6
	netbsd-2-0-RC3:1.6
	netbsd-2-0-RC2:1.6
	netbsd-2-0-RC1:1.6
	netbsd-2-0:1.6.0.2
	netbsd-2-0-base:1.6
	netbsd-1-6-PATCH002-RELEASE:1.4
	netbsd-1-6-PATCH002:1.4
	netbsd-1-6-PATCH002-RC4:1.4
	netbsd-1-6-PATCH002-RC3:1.4
	netbsd-1-6-PATCH002-RC2:1.4
	netbsd-1-6-PATCH002-RC1:1.4
	netbsd-1-6-PATCH001:1.4
	netbsd-1-6-PATCH001-RELEASE:1.4
	netbsd-1-6-PATCH001-RC3:1.4
	netbsd-1-6-PATCH001-RC2:1.4
	netbsd-1-6-PATCH001-RC1:1.4
	fvdl_fs64_base:1.6
	netbsd-1-6-RELEASE:1.4
	netbsd-1-6-RC3:1.4
	netbsd-1-6-RC2:1.4
	netbsd-1-6-RC1:1.4
	netbsd-1-6:1.4.0.2
	netbsd-1-6-base:1.4
	netbsd-1-5-PATCH003:1.1.2.2
	netbsd-1-5-PATCH002:1.1.2.2
	netbsd-1-5-PATCH001:1.1.2.2
	netbsd-1-5-RELEASE:1.1
	netbsd-1-5-BETA2:1.1
	netbsd-1-5-BETA:1.1
	netbsd-1-5:1.1.0.2;
locks; strict;
comment	@# @;


1.8
date	2012.07.11.19.02.18;	author christos;	state dead;
branches;
next	1.7;

1.7
date	2010.07.06.05.59.52;	author mrg;	state Exp;
branches
	1.7.6.1;
next	1.6;

1.6
date	2002.09.01.06.01.13;	author onoe;	state Exp;
branches;
next	1.5;

1.5
date	2002.08.19.09.41.30;	author lukem;	state Exp;
branches;
next	1.4;

1.4
date	2001.12.12.00.51.01;	author tv;	state Exp;
branches;
next	1.3;

1.3
date	2001.08.08.14.04.42;	author itojun;	state Exp;
branches;
next	1.2;

1.2
date	2001.01.08.14.59.32;	author itojun;	state Exp;
branches;
next	1.1;

1.1
date	2000.09.30.00.24.52;	author itojun;	state Exp;
branches
	1.1.2.1;
next	;

1.7.6.1
date	2012.10.30.18.59.07;	author yamt;	state dead;
branches;
next	;

1.1.2.1
date	2000.09.30.00.24.52;	author jhawk;	state dead;
branches;
next	1.1.2.2;

1.1.2.2
date	2001.01.26.02.55.50;	author jhawk;	state Exp;
branches;
next	;


desc
@@


1.8
log
@leave the roach motel
@
text
@#	$NetBSD: Makefile,v 1.7 2010/07/06 05:59:52 mrg Exp $

# RCSid:
#	Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
#
#	@@(#) Copyright (c) 1994 Simon J. Gerraty
#
#	This file is provided in the hope that it will
#	be of use.  There is absolutely NO WARRANTY.
#	Permission to copy, redistribute or otherwise
#	use this file is hereby granted provided that 
#	the above copyright notice and this notice are
#	left intact. 
#      
#	Please send copies of changes and bug-fixes to:
#	sjg@@quick.com.au
#

NOPIC=		# defined
#NOPROFILE=	# defined
#NOLINT=	# defined

.include <bsd.own.mk>

# XXX There's a bit of work to do before we can enable warnings.
WARNS=		0

LIB=		crypto_idea
CPPFLAGS+=	-Dlib${LIB} -I. -I${OPENSSLSRC}/crypto -I${OPENSSLSRC}

CRYPTODIST=	${NETBSDSRCDIR}/crypto/dist

.include "${NETBSDSRCDIR}/crypto/Makefile.openssl"

.PATH: ${OPENSSLSRC} ${OPENSSLSRC}/crypto/idea ${OPENSSLSRC}/crypto/evp

CPPFLAGS+=	-I${OPENSSLSRC}/crypto/idea
SRCS+=		i_cbc.c i_skey.c e_idea.c c_allc.c

AFLAGS+=	-DELF

.include <bsd.lib.mk>
@


1.7
log
@remove almost all the ability to build netbsd with an a.out target.
we're ELF now, and there are many missing checks against OBJECT_FMT.
if we ever consider switching, the we can figure out what new ones
we need but for now it's just clutter.

this doesn't remove any of the support for exec_aout or any actually
required-for-boot a.out support, only the ability to build a netbsd
release in a.out format.  ie, most of this code has been dead for
over a decade.

i've tested builds on vax, amd64, i386, mac68k, macppc, sparc, atari,
amiga, shark, cats, dreamcast, landisk, mmeye and x68k.  this covers
the 5 MACHINE_ARCH's affected, and all the other arch code touched.
it also includes some actual run-time testing of sparc, i386 and
shark, and i performed binary comparison upon amiga and x68k as well.


some minor details relevant:
- move shlib.[ch] from ld.aout_so into ldconfig proper, and cut them
  down to only the parts ldconfig needs
- remove various unused source files
- switch amiga bootblocks to using elf2bb.h instead of aout2bb.h
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2002/09/01 06:01:13 onoe Exp $
@


1.7.6.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.7 2010/07/06 05:59:52 mrg Exp $
@


1.6
log
@adopted changes made to libcrypto/Makefile:
e_os.h is not part of exported openssl interface, so don't install it into
/usr/include/openssl (e_os.h has an explicit comment about it).  it obviously
is a bug in openssl 0.9.6 Makefile.
based on openssl 0.9.7 snapshot.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2002/08/19 09:41:30 lukem Exp $
a39 2
# XXX
.if ${OBJECT_FMT} == "ELF"
a40 3
.else
AFLAGS+=	-DOUT
.endif
@


1.5
log
@Use ${NETBSDSRCDIR}/some/path instead of ${.CURDIR}/../../some/path (etc).
(Reduces make output by ~ 20%)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2001/12/12 00:51:01 tv Exp $
d29 1
a29 1
CPPFLAGS+=	-Dlib${LIB} -I. -I${OPENSSLSRC}/crypto
@


1.4
log
@Readability cleanups; MKfoo=no -> NOfoo.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2001/08/08 14:04:42 itojun Exp $
d31 1
a31 1
CRYPTODIST=	${.CURDIR}/../../crypto/dist
d33 1
a33 1
.include "../../crypto/Makefile.openssl"
@


1.3
log
@include all idea/rc5-related libraries into libcrypto_idea/rc5, for
better support for PR 12964.  not sure if it is a complete fix.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2001/01/08 14:59:32 itojun Exp $
d19 4
d26 1
a26 1
WARNS=0
d28 2
a29 2
LIB=	crypto_idea
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto
a33 1
.PATH: ${OPENSSLSRC}
d35 2
a36 1
.PATH:	${OPENSSLSRC}/crypto/idea ${OPENSSLSRC}/crypto/evp
d38 1
a38 1
SRCS+=i_cbc.c i_skey.c e_idea.c c_allc.c
d42 1
a42 1
AFLAGS+=-DELF
d44 1
a44 1
AFLAGS+=-DOUT
a45 4

MKPIC=no
#MKPROFILE=no
#MKLINT=no
@


1.2
log
@do not build shared version of libcrypto_{idea,rc5}.
to override functions in libcryto_*, it is easier to supply non-shared
libcrypto_*.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1 2000/09/30 00:24:52 itojun Exp $
d32 1
a32 1
.PATH:	${OPENSSLSRC}/crypto/idea
d34 1
a34 1
SRCS+=i_cbc.c i_skey.c
@


1.1
log
@additional build tree for overriding libcrypto's dummy IDEA/RC5 functions.
will not be built in default.  PR10883.
@
text
@d1 1
a1 1
#	$NetBSD$
d42 4
@


1.1.2.1
log
@file Makefile was added on branch netbsd-1-5 on 2001-01-26 02:55:50 +0000
@
text
@d1 43
@


1.1.2.2
log
@Pull up revision 1.2 (requested by itojun):
  Don't build these libraries shared.
@
text
@a0 47
#	$NetBSD: Makefile,v 1.1.2.1 2001/01/26 02:55:50 jhawk Exp $

# RCSid:
#	Id: Makefile,v 1.33 1998/11/11 11:53:53 sjg Exp
#
#	@@(#) Copyright (c) 1994 Simon J. Gerraty
#
#	This file is provided in the hope that it will
#	be of use.  There is absolutely NO WARRANTY.
#	Permission to copy, redistribute or otherwise
#	use this file is hereby granted provided that 
#	the above copyright notice and this notice are
#	left intact. 
#      
#	Please send copies of changes and bug-fixes to:
#	sjg@@quick.com.au
#

.include <bsd.own.mk>

# XXX There's a bit of work to do before we can enable warnings.
WARNS=0

LIB=	crypto_idea
CPPFLAGS+= -Dlib${LIB} -I. -I${OPENSSLSRC}/crypto

CRYPTODIST=	${.CURDIR}/../../crypto/dist

.include "../../crypto/Makefile.openssl"
.PATH: ${OPENSSLSRC}

.PATH:	${OPENSSLSRC}/crypto/idea
CPPFLAGS+=	-I${OPENSSLSRC}/crypto/idea
SRCS+=i_cbc.c i_skey.c

# XXX
.if ${OBJECT_FMT} == "ELF"
AFLAGS+=-DELF
.else
AFLAGS+=-DOUT
.endif

MKPIC=no
#MKPROFILE=no
#MKLINT=no

.include <bsd.lib.mk>
@
