head 1.10; access; symbols netbsd-11-0-RC7:1.10 netbsd-11-0-RC6:1.10 netbsd-11-0-RC5:1.10 netbsd-11-0-RC4:1.10 netbsd-11-0-RC3:1.10 netbsd-11-0-RC2:1.10 netbsd-11-0-RC1:1.10 perseant-exfatfs-base-20250801:1.10 netbsd-11:1.10.0.4 netbsd-11-base:1.10 netbsd-10-1-RELEASE:1.9 perseant-exfatfs-base-20240630:1.10 perseant-exfatfs:1.10.0.2 perseant-exfatfs-base:1.10 netbsd-8-3-RELEASE:1.8 netbsd-9-4-RELEASE:1.8 netbsd-10-0-RELEASE:1.9 netbsd-10-0-RC6:1.9 netbsd-10-0-RC5:1.9 netbsd-10-0-RC4:1.9 netbsd-10-0-RC3:1.9 netbsd-10-0-RC2:1.9 netbsd-10-0-RC1:1.9 netbsd-10:1.9.0.6 netbsd-10-base:1.9 netbsd-9-3-RELEASE:1.8 cjep_sun2x-base1:1.9 cjep_sun2x:1.9.0.4 cjep_sun2x-base:1.9 cjep_staticlib_x-base1:1.9 netbsd-9-2-RELEASE:1.8 cjep_staticlib_x:1.9.0.2 cjep_staticlib_x-base:1.9 netbsd-9-1-RELEASE:1.8 phil-wifi-20200421:1.8 phil-wifi-20200411:1.8 is-mlppp:1.8.0.20 is-mlppp-base:1.8 phil-wifi-20200406:1.8 netbsd-8-2-RELEASE:1.8 netbsd-9-0-RELEASE:1.8 netbsd-9-0-RC2:1.8 netbsd-9-0-RC1:1.8 phil-wifi-20191119:1.8 netbsd-9:1.8.0.18 netbsd-9-base:1.8 phil-wifi-20190609:1.8 netbsd-8-1-RELEASE:1.8 netbsd-8-1-RC1: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 netbsd-7-2-RELEASE:1.7 pgoyette-compat-0728:1.8 netbsd-8-0-RELEASE:1.8 phil-wifi:1.8.0.16 phil-wifi-base:1.8 pgoyette-compat-0625:1.8 netbsd-8-0-RC2:1.8 pgoyette-compat-0521:1.8 pgoyette-compat-0502:1.8 pgoyette-compat-0422:1.8 netbsd-8-0-RC1: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 netbsd-7-1-2-RELEASE:1.7 pgoyette-compat:1.8.0.14 pgoyette-compat-base:1.8 netbsd-7-1-1-RELEASE:1.7 matt-nb8-mediatek:1.8.0.12 matt-nb8-mediatek-base:1.8 perseant-stdc-iso10646:1.8.0.10 perseant-stdc-iso10646-base:1.8 netbsd-8:1.8.0.8 netbsd-8-base:1.8 prg-localcount2-base3:1.8 prg-localcount2-base2:1.8 prg-localcount2-base1:1.8 prg-localcount2:1.8.0.6 prg-localcount2-base:1.8 pgoyette-localcount-20170426:1.8 bouyer-socketcan-base1:1.8 pgoyette-localcount-20170320:1.8 netbsd-7-1:1.7.0.10 netbsd-7-1-RELEASE:1.7 netbsd-7-1-RC2:1.7 netbsd-7-nhusb-base-20170116:1.7 bouyer-socketcan:1.8.0.4 bouyer-socketcan-base:1.8 pgoyette-localcount-20170107:1.8 netbsd-7-1-RC1:1.7 pgoyette-localcount-20161104:1.8 netbsd-7-0-2-RELEASE:1.7 localcount-20160914:1.8 netbsd-7-nhusb:1.7.0.8 netbsd-7-nhusb-base:1.7 pgoyette-localcount-20160806:1.8 pgoyette-localcount-20160726:1.8 pgoyette-localcount:1.8.0.2 pgoyette-localcount-base:1.8 netbsd-7-0-1-RELEASE:1.7 netbsd-7-0:1.7.0.6 netbsd-7-0-RELEASE:1.7 netbsd-7-0-RC3:1.7 netbsd-7-0-RC2:1.7 netbsd-7-0-RC1:1.7 netbsd-6-0-6-RELEASE:1.5.6.1 netbsd-6-1-5-RELEASE:1.5.6.1 netbsd-7:1.7.0.4 netbsd-7-base:1.7 yamt-pagecache-base9:1.7 yamt-pagecache-tag8:1.5.4.1 netbsd-6-1-4-RELEASE:1.5.6.1 netbsd-6-0-5-RELEASE:1.5.6.1 tls-earlyentropy:1.7.0.2 tls-earlyentropy-base:1.7 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.7 riastradh-drm2-base3:1.7 netbsd-6-1-3-RELEASE:1.5.6.1 netbsd-6-0-4-RELEASE:1.5.6.1 netbsd-6-1-2-RELEASE:1.5.6.1 netbsd-6-0-3-RELEASE:1.5.6.1 netbsd-6-1-1-RELEASE:1.5.6.1 riastradh-drm2-base2:1.6 riastradh-drm2-base1:1.6 riastradh-drm2:1.6.0.4 riastradh-drm2-base:1.6 netbsd-6-1:1.5.6.1.0.6 netbsd-6-0-2-RELEASE:1.5.6.1 netbsd-6-1-RELEASE:1.5.6.1 netbsd-6-1-RC4:1.5.6.1 netbsd-6-1-RC3:1.5.6.1 agc-symver:1.6.0.6 agc-symver-base:1.6 netbsd-6-1-RC2:1.5.6.1 netbsd-6-1-RC1:1.5.6.1 yamt-pagecache-base8:1.6 netbsd-6-0-1-RELEASE:1.5.6.1 yamt-pagecache-base7:1.6 matt-nb6-plus-nbase:1.5.6.1 yamt-pagecache-base6:1.6 netbsd-6-0:1.5.6.1.0.4 netbsd-6-0-RELEASE:1.5.6.1 netbsd-6-0-RC2:1.5.6.1 tls-maxphys:1.6.0.2 tls-maxphys-base:1.7 matt-nb6-plus:1.5.6.1.0.2 matt-nb6-plus-base:1.5.6.1 netbsd-6-0-RC1:1.5.6.1 yamt-pagecache-base5:1.6 yamt-pagecache-base4:1.5 netbsd-6:1.5.0.6 netbsd-6-base:1.5 yamt-pagecache-base3:1.5 yamt-pagecache-base2:1.5 yamt-pagecache:1.5.0.4 yamt-pagecache-base:1.5 cherry-xenmp:1.5.0.2 cherry-xenmp-base:1.5 bouyer-quota2-nbase:1.4 bouyer-quota2:1.4.0.2 bouyer-quota2-base:1.4 matt-mips64-premerge-20101231:1.4 matt-premerge-20091211:1.4 jym-xensuspend-nbase:1.3 jym-xensuspend:1.3.0.2 jym-xensuspend-base:1.3; locks; strict; comment @# @; 1.10 date 2023.06.03.09.09.06; author lukem; state Exp; branches; next 1.9; commitid aBaIRnuykonRStrE; 1.9 date 2021.04.12.02.54.08; author mrg; state Exp; branches; next 1.8; commitid BwuEQxep98zmWWOC; 1.8 date 2016.01.05.13.07.46; author christos; state Exp; branches; next 1.7; commitid Vm5Z50yPA0D3bKPy; 1.7 date 2014.01.14.19.58.19; author christos; state Exp; branches; next 1.6; commitid i0PiANEVvC1gD7lx; 1.6 date 2012.05.02.13.35.03; author cheusov; state Exp; branches 1.6.2.1; next 1.5; 1.5 date 2011.05.26.12.56.26; author joerg; state Exp; branches 1.5.4.1 1.5.6.1; next 1.4; 1.4 date 2009.12.02.01.54.20; author haad; state Exp; branches; next 1.3; 1.3 date 2009.01.13.22.33.05; author ahoka; state Exp; branches; next 1.2; 1.2 date 2008.12.22.01.48.58; author haad; state Exp; branches; next 1.1; 1.1 date 2008.12.22.00.57.58; author haad; state Exp; branches; next ; 1.6.2.1 date 2014.08.19.23.52.23; author tls; state Exp; branches; next ; commitid jTnpym9Qu0o4R1Nx; 1.5.4.1 date 2012.05.23.10.07.27; author yamt; state Exp; branches; next 1.5.4.2; 1.5.4.2 date 2014.05.22.14.01.29; author yamt; state Exp; branches; next ; commitid UTzBjHeN8iHMxxBx; 1.5.6.1 date 2012.05.18.16.56.26; author riz; state Exp; branches; next ; desc @@ 1.10 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.9 2021/04/12 02:54:08 mrg Exp $ LIBISPRIVATE= yes USE_FORT?= no NOLINT= #defined .include "../../lvm2tools.mk" LIB= lvm .include CWARNFLAGS+= -Wno-parentheses CPPFLAGS+= -I${LVM2_DISTDIR}/lib -I${LVM2_DISTDIR}/include \ -I. # Some parts of liblvm can't be protected because if its # alloca() usage. # .if defined(USE_SSP) && (${USE_SSP} != "no") CPPFLAGS+= -Wno-stack-protector .endif CPPFLAGS.imLcLkup.c=-Wno-error COPTS.fs.c+= ${CC_WNO_STRINGOP_OVERFLOW} SRCS+= activate.c lvmcache.c toolcontext.c config.c btree.c \ str_list.c dev-cache.c dev-io.c dev-md.c device.c dev-swap.c \ display.c errseg.c filter-composite.c \ filter-persistent.c \ filter-regex.c filter-sysfs.c filter-md.c archive.c \ archiver.c export.c flags.c format-text.c import.c \ import_vsn1.c tags.c text_label.c freeseg.c label.c \ file_locking.c locking.c no_locking.c log.c lv_manip.c \ merge.c metadata.c mirror.c pv_manip.c pv_map.c segtype.c \ snapshot_manip.c crc.c lvm-exec.c lvm-file.c lvm-string.c \ lvm-wrappers.c timestamp.c util.c memlock.c report.c \ striped.c unknown.c uuid.c zero.c disk-rep.c format1.c \ import-export.c \ import-extents.c layout.c lvm1-label.c vg_number.c \ disk_rep.c format_pool.c import_export.c pool_label.c \ filter_netbsd.c snapshot.c mirrored.c dev_manager.c fs.c dev.c \ lvm-globals.c .PATH: ${LVM2_DISTDIR}/lib/ .PATH: ${LVM2_DISTDIR}/lib/activate .PATH: ${LVM2_DISTDIR}/lib/cache .PATH: ${LVM2_DISTDIR}/lib/commands .PATH: ${LVM2_DISTDIR}/lib/config .PATH: ${LVM2_DISTDIR}/lib/datastruct .PATH: ${LVM2_DISTDIR}/lib/device .PATH: ${LVM2_DISTDIR}/lib/display .PATH: ${LVM2_DISTDIR}/lib/error .PATH: ${LVM2_DISTDIR}/lib/filters .PATH: ${LVM2_DISTDIR}/lib/format1 .PATH: ${LVM2_DISTDIR}/lib/format_pool .PATH: ${LVM2_DISTDIR}/lib/format_text .PATH: ${LVM2_DISTDIR}/lib/freeseg .PATH: ${LVM2_DISTDIR}/lib/label .PATH: ${LVM2_DISTDIR}/lib/locking .PATH: ${LVM2_DISTDIR}/lib/log .PATH: ${LVM2_DISTDIR}/lib/metadata .PATH: ${LVM2_DISTDIR}/lib/mirror .PATH: ${LVM2_DISTDIR}/lib/misc .PATH: ${LVM2_DISTDIR}/lib/mm .PATH: ${LVM2_DISTDIR}/lib/report .PATH: ${LVM2_DISTDIR}/lib/snapshot .PATH: ${LVM2_DISTDIR}/lib/striped .PATH: ${LVM2_DISTDIR}/lib/unknown .PATH: ${LVM2_DISTDIR}/lib/uuid .PATH: ${LVM2_DISTDIR}/lib/zero .PATH: ${LVM2_DISTDIR}/lib/netbsd .include .include @ 1.9 log @add some new uses of existing GCC_NO_* variables for warning issues. remove an no longer relevant for gcc7 workaround (works fine in both gcc9 and gcc 10.) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 2016/01/05 13:07:46 christos Exp $ d27 1 a27 1 COPTS.fs.c+= ${GCC_NO_STRINGOP_OVERFLOW} @ 1.8 log @- Change LDADD/DPADD in library dependencies to LIBDPLIBS - Fix some LDADD abuse and remove useless dependencies - include in the right place where appropriate From Rin Okuyama @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2014/01/14 19:58:19 christos Exp $ d12 2 a18 2 .include d27 1 @ 1.7 log @USE_SSP is defined in bsd.own.mk @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2012/05/02 13:35:03 cheusov Exp $ a45 2 LDADD+= -lprop @ 1.6 log @ Add .include for initializing USE_SSP. This fixes build failure if USE_FORT=YES Approved by christos@@ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2011/05/26 12:56:26 joerg Exp $ a17 1 .include # for USE_SSP @ 1.6.2.1 log @Rebase to HEAD as of a few days ago. @ text @d1 1 a1 1 # $NetBSD$ d18 1 @ 1.5 log @Default to -Wno-sign-compare -Wno-pointer-sign for clang. Push -Wno-array-bounds down to the cases that depend on it. Selectively disable warnings for 3rd party software or non-trivial issues to be reviewed later to get clang -Werror to build most of the tree. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2009/12/02 01:54:20 haad Exp $ d17 3 @ 1.5.4.1 log @sync with head. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2011/05/26 12:56:26 joerg Exp $ a16 3 .include .include # for USE_SSP @ 1.5.4.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.5.4.1 2012/05/23 10:07:27 yamt Exp $ d18 1 @ 1.5.6.1 log @Pull up following revision(s) (requested by cheusov in ticket #256): external/gpl2/lvm2/lib/liblvm/Makefile: revision 1.6 external/gpl2/lvm2/sbin/lvm/Makefile: revision 1.11 Add .include for initializing USE_SSP. This fixes build failure if USE_FORT=YES Approved by christos@@ @ text @d1 1 a1 1 # $NetBSD$ a16 3 .include .include # for USE_SSP @ 1.4 log @Add two more needed files dev-swap.c and unknown.c. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2009/01/13 22:33:05 ahoka Exp $ d12 2 @ 1.3 log @Disable stack protector warning when USE_SSP=yes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2008/12/22 01:48:58 haad Exp $ d25 1 a25 1 str_list.c dev-cache.c dev-io.c dev-md.c device.c \ d35 2 a36 1 striped.c uuid.c zero.c disk-rep.c format1.c import-export.c \ d68 1 @ 1.2 log @Fix build of liblvm LVM2TOOLS_* was changed LVM2_*. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1 2008/12/22 00:57:58 haad Exp $ d15 9 @ 1.1 log @Add reachover Makefiles to build LVM2 tools on NetBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.2.4 2008/12/16 01:17:12 haad Exp $ d12 1 a12 1 CPPFLAGS+= -I${LVM2TOOLS_DISTDIR}/lib -I${LVM2TOOLS_DISTDIR}/include \ d34 27 a60 27 .PATH: ${LVM2TOOLS_DISTDIR}/lib/ .PATH: ${LVM2TOOLS_DISTDIR}/lib/activate .PATH: ${LVM2TOOLS_DISTDIR}/lib/cache .PATH: ${LVM2TOOLS_DISTDIR}/lib/commands .PATH: ${LVM2TOOLS_DISTDIR}/lib/config .PATH: ${LVM2TOOLS_DISTDIR}/lib/datastruct .PATH: ${LVM2TOOLS_DISTDIR}/lib/device .PATH: ${LVM2TOOLS_DISTDIR}/lib/display .PATH: ${LVM2TOOLS_DISTDIR}/lib/error .PATH: ${LVM2TOOLS_DISTDIR}/lib/filters .PATH: ${LVM2TOOLS_DISTDIR}/lib/format1 .PATH: ${LVM2TOOLS_DISTDIR}/lib/format_pool .PATH: ${LVM2TOOLS_DISTDIR}/lib/format_text .PATH: ${LVM2TOOLS_DISTDIR}/lib/freeseg .PATH: ${LVM2TOOLS_DISTDIR}/lib/label .PATH: ${LVM2TOOLS_DISTDIR}/lib/locking .PATH: ${LVM2TOOLS_DISTDIR}/lib/log .PATH: ${LVM2TOOLS_DISTDIR}/lib/metadata .PATH: ${LVM2TOOLS_DISTDIR}/lib/mirror .PATH: ${LVM2TOOLS_DISTDIR}/lib/misc .PATH: ${LVM2TOOLS_DISTDIR}/lib/mm .PATH: ${LVM2TOOLS_DISTDIR}/lib/report .PATH: ${LVM2TOOLS_DISTDIR}/lib/snapshot .PATH: ${LVM2TOOLS_DISTDIR}/lib/striped .PATH: ${LVM2TOOLS_DISTDIR}/lib/uuid .PATH: ${LVM2TOOLS_DISTDIR}/lib/zero .PATH: ${LVM2TOOLS_DISTDIR}/lib/netbsd @