head	1.8;
access;
symbols
	netbsd-11-0-RC7:1.8
	netbsd-11-0-RC6:1.8
	netbsd-11-0-RC5:1.8
	netbsd-11-0-RC4:1.8
	netbsd-11-0-RC3:1.8
	netbsd-11-0-RC2:1.8
	netbsd-11-0-RC1:1.8
	perseant-exfatfs-base-20250801:1.8
	netbsd-11:1.8.0.4
	netbsd-11-base:1.8
	netbsd-10-1-RELEASE:1.7
	perseant-exfatfs-base-20240630:1.8
	perseant-exfatfs:1.8.0.2
	perseant-exfatfs-base:1.8
	netbsd-8-3-RELEASE:1.5
	netbsd-9-4-RELEASE:1.5
	netbsd-10-0-RELEASE:1.7
	netbsd-10-0-RC6:1.7
	netbsd-10-0-RC5:1.7
	netbsd-10-0-RC4:1.7
	netbsd-10-0-RC3:1.7
	netbsd-10-0-RC2:1.7
	netbsd-10-0-RC1:1.7
	netbsd-10:1.7.0.2
	netbsd-10-base:1.7
	netbsd-9-3-RELEASE:1.5
	cjep_sun2x-base1:1.6
	cjep_sun2x:1.6.0.6
	cjep_sun2x-base:1.6
	cjep_staticlib_x-base1:1.6
	netbsd-9-2-RELEASE:1.5
	cjep_staticlib_x:1.6.0.4
	cjep_staticlib_x-base:1.6
	netbsd-9-1-RELEASE:1.5
	phil-wifi-20200421:1.6
	phil-wifi-20200411:1.6
	is-mlppp:1.6.0.2
	is-mlppp-base:1.6
	phil-wifi-20200406:1.6
	netbsd-8-2-RELEASE:1.5
	netbsd-9-0-RELEASE:1.5
	netbsd-9-0-RC2:1.5
	netbsd-9-0-RC1:1.5
	phil-wifi-20191119:1.6
	netbsd-9:1.5.0.28
	netbsd-9-base:1.5
	phil-wifi-20190609:1.5
	netbsd-8-1-RELEASE:1.5
	netbsd-8-1-RC1:1.5
	pgoyette-compat-merge-20190127:1.5
	pgoyette-compat-20190127:1.5
	pgoyette-compat-20190118:1.5
	pgoyette-compat-1226:1.5
	pgoyette-compat-1126:1.5
	pgoyette-compat-1020:1.5
	pgoyette-compat-0930:1.5
	pgoyette-compat-0906:1.5
	netbsd-7-2-RELEASE:1.5
	pgoyette-compat-0728:1.5
	netbsd-8-0-RELEASE:1.5
	phil-wifi:1.5.0.26
	phil-wifi-base:1.5
	pgoyette-compat-0625:1.5
	netbsd-8-0-RC2:1.5
	pgoyette-compat-0521:1.5
	pgoyette-compat-0502:1.5
	pgoyette-compat-0422:1.5
	netbsd-8-0-RC1:1.5
	pgoyette-compat-0415:1.5
	pgoyette-compat-0407:1.5
	pgoyette-compat-0330:1.5
	pgoyette-compat-0322:1.5
	pgoyette-compat-0315:1.5
	netbsd-7-1-2-RELEASE:1.5
	pgoyette-compat:1.5.0.24
	pgoyette-compat-base:1.5
	netbsd-7-1-1-RELEASE:1.5
	matt-nb8-mediatek:1.5.0.22
	matt-nb8-mediatek-base:1.5
	perseant-stdc-iso10646:1.5.0.20
	perseant-stdc-iso10646-base:1.5
	netbsd-8:1.5.0.18
	netbsd-8-base:1.5
	prg-localcount2-base3:1.5
	prg-localcount2-base2:1.5
	prg-localcount2-base1:1.5
	prg-localcount2:1.5.0.16
	prg-localcount2-base:1.5
	pgoyette-localcount-20170426:1.5
	bouyer-socketcan-base1:1.5
	pgoyette-localcount-20170320:1.5
	netbsd-7-1:1.5.0.14
	netbsd-7-1-RELEASE:1.5
	netbsd-7-1-RC2:1.5
	netbsd-7-nhusb-base-20170116:1.5
	bouyer-socketcan:1.5.0.12
	bouyer-socketcan-base:1.5
	pgoyette-localcount-20170107:1.5
	netbsd-7-1-RC1:1.5
	pgoyette-localcount-20161104:1.5
	netbsd-7-0-2-RELEASE:1.5
	localcount-20160914:1.5
	netbsd-7-nhusb:1.5.0.10
	netbsd-7-nhusb-base:1.5
	pgoyette-localcount-20160806:1.5
	pgoyette-localcount-20160726:1.5
	pgoyette-localcount:1.5.0.8
	pgoyette-localcount-base:1.5
	netbsd-7-0-1-RELEASE:1.5
	netbsd-7-0:1.5.0.6
	netbsd-7-0-RELEASE:1.5
	netbsd-7-0-RC3:1.5
	netbsd-7-0-RC2:1.5
	netbsd-7-0-RC1:1.5
	netbsd-6-0-6-RELEASE:1.3
	netbsd-6-1-5-RELEASE:1.3
	netbsd-7:1.5.0.4
	netbsd-7-base:1.5
	yamt-pagecache-base9:1.5
	yamt-pagecache-tag8:1.3.2.1
	netbsd-6-1-4-RELEASE:1.3
	netbsd-6-0-5-RELEASE:1.3
	tls-earlyentropy:1.5.0.2
	tls-earlyentropy-base:1.5
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.5
	riastradh-drm2-base3:1.5
	netbsd-6-1-3-RELEASE:1.3
	netbsd-6-0-4-RELEASE:1.3
	netbsd-6-1-2-RELEASE:1.3
	netbsd-6-0-3-RELEASE:1.3
	netbsd-6-1-1-RELEASE:1.3
	riastradh-drm2-base2:1.4
	riastradh-drm2-base1:1.4
	riastradh-drm2:1.4.0.4
	riastradh-drm2-base:1.4
	netbsd-6-1:1.3.0.10
	netbsd-6-0-2-RELEASE:1.3
	netbsd-6-1-RELEASE:1.3
	netbsd-6-1-RC4:1.3
	netbsd-6-1-RC3:1.3
	agc-symver:1.4.0.6
	agc-symver-base:1.4
	netbsd-6-1-RC2:1.3
	netbsd-6-1-RC1:1.3
	yamt-pagecache-base8:1.4
	netbsd-6-0-1-RELEASE:1.3
	yamt-pagecache-base7:1.4
	matt-nb6-plus-nbase:1.3
	yamt-pagecache-base6:1.4
	netbsd-6-0:1.3.0.8
	netbsd-6-0-RELEASE:1.3
	netbsd-6-0-RC2:1.3
	tls-maxphys:1.4.0.2
	tls-maxphys-base:1.5
	matt-nb6-plus:1.3.0.6
	matt-nb6-plus-base:1.3
	netbsd-6-0-RC1:1.3
	yamt-pagecache-base5:1.4
	yamt-pagecache-base4:1.4
	netbsd-6:1.3.0.4
	netbsd-6-base:1.3
	yamt-pagecache-base3:1.3
	yamt-pagecache-base2:1.3
	yamt-pagecache:1.3.0.2
	yamt-pagecache-base:1.3
	cherry-xenmp:1.1.1.1.0.4
	cherry-xenmp-base:1.1.1.1
	bouyer-quota2-nbase:1.1.1.1
	bouyer-quota2:1.1.1.1.0.2
	bouyer-quota2-base:1.1.1.1
	libisns-base:1.1.1.1
	WASABI:1.1.1;
locks; strict;
comment	@# @;


1.8
date	2023.06.03.09.09.10;	author lukem;	state Exp;
branches;
next	1.7;
commitid	aBaIRnuykonRStrE;

1.7
date	2022.07.31.12.40.35;	author mlelstv;	state Exp;
branches;
next	1.6;
commitid	nmiihwL3cGC3V2OD;

1.6
date	2019.10.13.07.28.10;	author mrg;	state Exp;
branches;
next	1.5;
commitid	vRNwN94v7NgB2GGB;

1.5
date	2013.09.11.23.04.10;	author joerg;	state Exp;
branches
	1.5.26.1;
next	1.4;
commitid	LfFxmAH008vTF45x;

1.4
date	2012.03.21.05.37.42;	author matt;	state Exp;
branches
	1.4.2.1;
next	1.3;

1.3
date	2011.08.17.10.08.43;	author christos;	state Exp;
branches
	1.3.2.1;
next	1.2;

1.2
date	2011.06.21.02.32.55;	author mrg;	state Exp;
branches;
next	1.1;

1.1
date	2011.01.16.01.22.50;	author agc;	state Exp;
branches
	1.1.1.1;
next	;

1.5.26.1
date	2020.04.13.08.03.13;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.4.2.1
date	2014.08.20.00.02.17;	author tls;	state Exp;
branches;
next	;
commitid	jTnpym9Qu0o4R1Nx;

1.3.2.1
date	2012.04.17.00.05.28;	author yamt;	state Exp;
branches;
next	1.3.2.2;

1.3.2.2
date	2014.05.22.11.36.56;	author yamt;	state Exp;
branches;
next	;
commitid	HJV5p3BoaVY5KwBx;

1.1.1.1
date	2011.01.16.01.22.50;	author agc;	state Exp;
branches
	1.1.1.1.4.1;
next	;

1.1.1.1.4.1
date	2011.06.23.14.18.38;	author cherry;	state Exp;
branches;
next	;


desc
@@


1.8
log
@bsd.own.mk: rename GCC_NO_* to CC_WNO_*

Rename compiler-warning-disable variables from
	GCC_NO_warning
to
	CC_WNO_warning
where warning is the full warning name as used by the compiler.

GCC_NO_IMPLICIT_FALLTHRU is CC_WNO_IMPLICIT_FALLTHROUGH

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.
@
text
@#	$NetBSD: Makefile,v 1.7 2022/07/31 12:40:35 mlelstv Exp $

.include <bsd.own.mk>

USE_SHLIBDIR=   yes

LIB=	isns
SRCS=	isns.c isns_pdu.c isns_socketio.c isns_task.c isns_thread.c
SRCS+=	isns_util.c isns_fileio.c

MAN=	isns.3

INCS=	isns.h isns_defs.h
INCSDIR=/usr/include

WARNS?=	5

LIBDPLIBS+=	pthread	${.CURDIR}/../libpthread

COPTS.isns.c+=	${CC_WNO_STRINGOP_TRUNCATION}

.include <bsd.lib.mk>
@


1.7
log
@Move libisns to /lib to allow /sbin/iscsid to work without /usr being
mounted.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2019/10/13 07:28:10 mrg Exp $
d20 1
a20 1
COPTS.isns.c+=	${GCC_NO_STRINGOP_TRUNCATION}
@


1.6
log
@introduce some common variables for use in GCC warning disables:

GCC_NO_FORMAT_TRUNCATION    -Wno-format-truncation (GCC 7/8)
GCC_NO_STRINGOP_TRUNCATION  -Wno-stringop-truncation (GCC 8)
GCC_NO_STRINGOP_OVERFLOW    -Wno-stringop-overflow (GCC 8)
GCC_NO_CAST_FUNCTION_TYPE   -Wno-cast-function-type (GCC 8)

use these to turn off warnings for most GCC-8 complaints.  many
of these are false positives, most of the real bugs are already
commited, or are yet to come.


we plan to introduce versions of (some?) of these that use the
"-Wno-error=" form, which still displays the warnings but does
not make it an error, and all of the above will be re-considered
as either being "fix me" (warning still displayed) or "warning
is wrong."
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2013/09/11 23:04:10 joerg Exp $
d5 2
@


1.5
log
@If a library needs a symbol from another library, pull that library in
explicitly, even if the DT_NEEDED closure would normally already ensure
the presence.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2012/03/21 05:37:42 matt Exp $
d18 2
@


1.5.26.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
a17 2
COPTS.isns.c+=	${GCC_NO_STRINGOP_TRUNCATION}

@


1.4
log
@These directories default to WARNS?=5
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/08/17 10:08:43 christos Exp $
d16 2
@


1.4.2.1
log
@Rebase to HEAD as of a few days ago.
@
text
@d1 1
a1 1
#	$NetBSD$
a15 2
LIBDPLIBS+=	pthread	${.CURDIR}/../libpthread

@


1.3
log
@fix gcc aliasing issues.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2011/06/21 02:32:55 mrg Exp $
d14 1
a14 1
WARNS=	4
@


1.3.2.1
log
@sync with head
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2011/08/17 10:08:43 christos Exp $
d14 1
a14 1
WARNS?=	5
@


1.3.2.2
log
@sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.2.1 2012/04/17 00:05:28 yamt Exp $
a15 2
LIBDPLIBS+=	pthread	${.CURDIR}/../libpthread

@


1.2
log
@add some XXX'd -Wno-foo if HAVE_GCC >= 45.

XXX: someone should look at these.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2011/01/16 01:22:50 agc Exp $
a16 4

.if ${HAVE_GCC} >= 45
COPTS.isns_pdu.c+=	-fno-strict-aliasing
.endif
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD$
d17 4
@


1.1.1.1
log
@Initial import of libisns, contributed to the NetBSD Foundation by
Wasabi Systems, Inc.

libisns(3) is an implementation of the iSNS protocol as defined in
IETF RFC 4171, exporting an API that simplifies Internet Storage Name
Service (iSNS) client implementations.
@
text
@@


1.1.1.1.4.1
log
@Catchup with rmind-uvmplock merge.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2011/01/16 01:22:50 agc Exp $
a16 4

.if ${HAVE_GCC} >= 45
COPTS.isns_pdu.c+=	-fno-strict-aliasing
.endif
@

