head	1.9;
access;
symbols
	netbsd-11-0-RC4:1.9
	netbsd-11-0-RC3:1.9
	netbsd-11-0-RC2:1.9
	netbsd-11-0-RC1:1.9
	perseant-exfatfs-base-20250801:1.9
	netbsd-11:1.9.0.4
	netbsd-11-base:1.9
	netbsd-10-1-RELEASE:1.8
	perseant-exfatfs-base-20240630:1.9
	perseant-exfatfs:1.9.0.2
	perseant-exfatfs-base:1.9
	netbsd-8-3-RELEASE:1.7
	netbsd-9-4-RELEASE:1.7
	netbsd-10-0-RELEASE:1.8
	netbsd-10-0-RC6:1.8
	netbsd-10-0-RC5:1.8
	netbsd-10-0-RC4:1.8
	netbsd-10-0-RC3:1.8
	netbsd-10-0-RC2:1.8
	netbsd-10-0-RC1:1.8
	netbsd-10:1.8.0.8
	netbsd-10-base:1.8
	netbsd-9-3-RELEASE:1.7
	cjep_sun2x-base1:1.8
	cjep_sun2x:1.8.0.6
	cjep_sun2x-base:1.8
	cjep_staticlib_x-base1:1.8
	netbsd-9-2-RELEASE:1.7
	cjep_staticlib_x:1.8.0.4
	cjep_staticlib_x-base:1.8
	netbsd-9-1-RELEASE:1.7
	phil-wifi-20200421:1.8
	phil-wifi-20200411:1.8
	is-mlppp:1.8.0.2
	is-mlppp-base:1.8
	phil-wifi-20200406:1.8
	netbsd-8-2-RELEASE:1.7
	netbsd-9-0-RELEASE:1.7
	netbsd-9-0-RC2:1.7
	netbsd-9-0-RC1:1.7
	phil-wifi-20191119:1.8
	netbsd-9:1.7.0.18
	netbsd-9-base:1.7
	phil-wifi-20190609:1.7
	netbsd-8-1-RELEASE:1.7
	netbsd-8-1-RC1:1.7
	pgoyette-compat-merge-20190127:1.7
	pgoyette-compat-20190127:1.7
	pgoyette-compat-20190118:1.7
	pgoyette-compat-1226:1.7
	pgoyette-compat-1126:1.7
	pgoyette-compat-1020:1.7
	pgoyette-compat-0930:1.7
	pgoyette-compat-0906:1.7
	netbsd-7-2-RELEASE:1.6
	pgoyette-compat-0728:1.7
	netbsd-8-0-RELEASE:1.7
	phil-wifi:1.7.0.16
	phil-wifi-base:1.7
	pgoyette-compat-0625:1.7
	netbsd-8-0-RC2:1.7
	pgoyette-compat-0521:1.7
	pgoyette-compat-0502:1.7
	pgoyette-compat-0422:1.7
	netbsd-8-0-RC1:1.7
	pgoyette-compat-0415:1.7
	pgoyette-compat-0407:1.7
	pgoyette-compat-0330:1.7
	pgoyette-compat-0322:1.7
	pgoyette-compat-0315:1.7
	netbsd-7-1-2-RELEASE:1.6
	pgoyette-compat:1.7.0.14
	pgoyette-compat-base:1.7
	netbsd-7-1-1-RELEASE:1.6
	matt-nb8-mediatek:1.7.0.12
	matt-nb8-mediatek-base:1.7
	perseant-stdc-iso10646:1.7.0.10
	perseant-stdc-iso10646-base:1.7
	netbsd-8:1.7.0.8
	netbsd-8-base:1.7
	prg-localcount2-base3:1.7
	prg-localcount2-base2:1.7
	prg-localcount2-base1:1.7
	prg-localcount2:1.7.0.6
	prg-localcount2-base:1.7
	pgoyette-localcount-20170426:1.7
	bouyer-socketcan-base1:1.7
	pgoyette-localcount-20170320:1.7
	netbsd-7-1:1.6.0.26
	netbsd-7-1-RELEASE:1.6
	netbsd-7-1-RC2:1.6
	netbsd-7-nhusb-base-20170116:1.6
	bouyer-socketcan:1.7.0.4
	bouyer-socketcan-base:1.7
	pgoyette-localcount-20170107:1.7
	netbsd-7-1-RC1:1.6
	pgoyette-localcount-20161104:1.7
	netbsd-7-0-2-RELEASE:1.6
	localcount-20160914:1.7
	netbsd-7-nhusb:1.6.0.24
	netbsd-7-nhusb-base:1.6
	pgoyette-localcount-20160806:1.7
	pgoyette-localcount-20160726:1.7
	pgoyette-localcount:1.7.0.2
	pgoyette-localcount-base:1.7
	netbsd-7-0-1-RELEASE:1.6
	netbsd-7-0:1.6.0.22
	netbsd-7-0-RELEASE:1.6
	netbsd-7-0-RC3:1.6
	netbsd-7-0-RC2:1.6
	netbsd-7-0-RC1:1.6
	netbsd-5-2-3-RELEASE:1.1.1.1
	netbsd-5-1-5-RELEASE:1.1.1.1
	netbsd-6-0-6-RELEASE:1.6
	netbsd-6-1-5-RELEASE:1.6
	netbsd-7:1.6.0.20
	netbsd-7-base:1.6
	yamt-pagecache-base9:1.6
	yamt-pagecache-tag8:1.6
	netbsd-6-1-4-RELEASE:1.6
	netbsd-6-0-5-RELEASE:1.6
	tls-earlyentropy:1.6.0.18
	tls-earlyentropy-base:1.6
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.6
	riastradh-drm2-base3:1.6
	netbsd-6-1-3-RELEASE:1.6
	netbsd-6-0-4-RELEASE:1.6
	netbsd-5-2-2-RELEASE:1.1.1.1
	netbsd-5-1-4-RELEASE:1.1.1.1
	netbsd-6-1-2-RELEASE:1.6
	netbsd-6-0-3-RELEASE:1.6
	netbsd-5-2-1-RELEASE:1.1.1.1
	netbsd-5-1-3-RELEASE:1.1.1.1
	netbsd-6-1-1-RELEASE:1.6
	riastradh-drm2-base2:1.6
	riastradh-drm2-base1:1.6
	riastradh-drm2:1.6.0.12
	riastradh-drm2-base:1.6
	netbsd-6-1:1.6.0.16
	netbsd-6-0-2-RELEASE:1.6
	netbsd-6-1-RELEASE:1.6
	netbsd-6-1-RC4:1.6
	netbsd-6-1-RC3:1.6
	agc-symver:1.6.0.14
	agc-symver-base:1.6
	netbsd-6-1-RC2:1.6
	netbsd-6-1-RC1:1.6
	yamt-pagecache-base8:1.6
	netbsd-5-2:1.1.1.1.0.4
	netbsd-6-0-1-RELEASE:1.6
	yamt-pagecache-base7:1.6
	netbsd-5-2-RELEASE:1.1.1.1
	netbsd-5-2-RC1:1.1.1.1
	matt-nb6-plus-nbase:1.6
	yamt-pagecache-base6:1.6
	netbsd-6-0:1.6.0.10
	netbsd-6-0-RELEASE:1.6
	netbsd-6-0-RC2:1.6
	tls-maxphys:1.6.0.8
	tls-maxphys-base:1.6
	matt-nb6-plus:1.6.0.6
	matt-nb6-plus-base:1.6
	netbsd-6-0-RC1:1.6
	yamt-pagecache-base5:1.6
	yamt-pagecache-base4:1.6
	netbsd-6:1.6.0.4
	netbsd-6-base:1.6
	netbsd-5-1-2-RELEASE:1.1.1.1
	netbsd-5-1-1-RELEASE:1.1.1.1
	yamt-pagecache-base3:1.6
	yamt-pagecache-base2:1.6
	yamt-pagecache:1.6.0.2
	yamt-pagecache-base:1.6
	cherry-xenmp:1.5.0.4
	cherry-xenmp-base:1.5
	bouyer-quota2-nbase:1.5
	bouyer-quota2:1.5.0.2
	bouyer-quota2-base:1.5
	matt-mips64-premerge-20101231:1.5
	matt-nb5-mips64-premerge-20101231:1.1.1.1
	matt-nb5-pq3:1.1.1.1.0.18
	matt-nb5-pq3-base:1.1.1.1
	netbsd-5-1:1.1.1.1.0.16
	netbsd-5-1-RELEASE:1.1.1.1
	netbsd-5-1-RC4:1.1.1.1
	matt-nb5-mips64-k15:1.1.1.1
	netbsd-5-1-RC3:1.1.1.1
	netbsd-5-1-RC2:1.1.1.1
	netbsd-5-1-RC1:1.1.1.1
	netbsd-5-0-2-RELEASE:1.1.1.1
	matt-nb5-mips64-premerge-20091211:1.1.1.1
	matt-premerge-20091211:1.2
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.1.1.1
	matt-nb4-mips64-k7-u2a-k9b:1.1.1.1
	matt-nb5-mips64-u1-k1-k5:1.1.1.1
	matt-nb5-mips64:1.1.1.1.0.14
	netbsd-5-0-1-RELEASE:1.1.1.1
	jym-xensuspend-nbase:1.1.1.1
	netbsd-5-0:1.1.1.1.0.12
	netbsd-5-0-RELEASE:1.1.1.1
	netbsd-5-0-RC4:1.1.1.1
	netbsd-5-0-RC3:1.1.1.1
	netbsd-5-0-RC2:1.1.1.1
	jym-xensuspend:1.1.1.1.0.10
	jym-xensuspend-base:1.1.1.1
	netbsd-5-0-RC1:1.1.1.1
	haad-dm-base:1.1.1.1
	haad-dm-base2:1.1.1.1
	haad-nbase2:1.1.1.1
	netbsd-5:1.1.1.1.0.8
	netbsd-5-base:1.1.1.1
	matt-mips64-base2:1.1.1.1
	haad-dm:1.1.1.1.0.6
	haad-dm-base1:1.1.1.1
	wrstuden-revivesa-base-3:1.1.1.1
	wrstuden-revivesa:1.1.1.1.0.2
	wrstuden-revivesa-base-2:1.1.1.1
	oinkoink:1.1.1.1
	mrg-and-rtr:1.1.1;
locks; strict;
comment	@# @;


1.9
date	2023.06.03.09.09.07;	author lukem;	state Exp;
branches;
next	1.8;
commitid	aBaIRnuykonRStrE;

1.8
date	2019.10.13.07.28.08;	author mrg;	state Exp;
branches
	1.8.6.1;
next	1.7;
commitid	vRNwN94v7NgB2GGB;

1.7
date	2015.07.19.23.15.06;	author mrg;	state Exp;
branches
	1.7.16.1;
next	1.6;
commitid	FJ46t3tjKCxs0Xty;

1.6
date	2011.08.11.23.15.36;	author joerg;	state Exp;
branches;
next	1.5;

1.5
date	2010.11.20.23.47.30;	author mrg;	state Exp;
branches;
next	1.4;

1.4
date	2010.11.20.22.41.49;	author mrg;	state Exp;
branches;
next	1.3;

1.3
date	2010.11.20.22.40.00;	author mrg;	state Exp;
branches;
next	1.2;

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

1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches
	1.1.1.1;
next	;

1.8.6.1
date	2021.06.02.14.46.22;	author cjep;	state Exp;
branches;
next	;
commitid	OKPZ5MjUR1zdfzVC;

1.7.16.1
date	2020.04.13.08.02.30;	author martin;	state Exp;
branches;
next	;
commitid	X01YhRUPVUDaec4C;

1.1.1.1
date	2008.07.29.05.01.22;	author mrg;	state Exp;
branches
	1.1.1.1.2.1
	1.1.1.1.6.1;
next	;

1.1.1.1.2.1
date	2008.07.29.05.01.22;	author wrstuden;	state dead;
branches;
next	1.1.1.1.2.2;

1.1.1.1.2.2
date	2008.09.18.05.18.31;	author wrstuden;	state Exp;
branches;
next	;

1.1.1.1.6.1
date	2008.07.29.05.01.22;	author haad;	state dead;
branches;
next	1.1.1.1.6.2;

1.1.1.1.6.2
date	2008.10.19.22.41.02;	author haad;	state Exp;
branches;
next	;


desc
@@


1.9
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.8 2019/10/13 07:28:08 mrg Exp $

.include <bsd.own.mk>

PROG=	xmh
SRCS=	bbox.c command.c compfuncs.c folder.c init.c main.c \
	menu.c mlist.c msg.c pick.c popup.c screen.c toc.c \
	tocfuncs.c tocutil.c tsource.c util.c viewfuncs.c \
	miscfuncs.c

CPPFLAGS+=	-I${X11SRCDIR.${PROG}}/../include
CPPFLAGS+=	-DHAS_VFORK -DXVENDORNAME=${XVENDORNAME} \
		-DXORG_RELEASE=${XORG_RELEASE}

APPDEFS=Xmh

LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
	${LIBXPM} ${LIBXEXT} ${LIBX11}

.PATH:	${X11SRCDIR.${PROG}} ${X11SRCDIR.${PROG}}/app-defaults
.PATH:	${X11SRCDIR.${PROG}}/man

CWARNFLAGS.clang+=	-Wno-format

COPTS+=	${CC_WNO_STRINGOP_OVERFLOW}

.include <bsd.x11.mk>
.include <bsd.prog.mk>
@


1.8
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.7 2015/07/19 23:15:06 mrg Exp $
d26 1
a26 1
COPTS+=	${GCC_NO_STRINGOP_OVERFLOW}
@


1.8.6.1
log
@
Use x11 variables for LDADD and DPADD. Now builds on sun2.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.8 2019/10/13 07:28:08 mrg Exp $
d17 3
a19 2
LDADD+=	${XLIBLDADD_XAW}
DPADD+=	${XLIBDPADD_XAW}
@


1.7
log
@build updates for xlsatoms 1.1.2, xlsfonts 1.0.4, xman 1.1.4, xmh 1.0.03
xmodmap 1.0.9 and xvinfo 1.1.3.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.6 2011/08/11 23:15:36 joerg Exp $
d26 2
@


1.7.16.1
log
@Mostly merge changes from HEAD upto 20200411
@
text
@d1 1
a1 1
#	$NetBSD$
a25 2
COPTS+=	${GCC_NO_STRINGOP_OVERFLOW}

@


1.6
log
@Various warning adjustments for clang
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.5 2010/11/20 23:47:30 mrg Exp $
d22 1
@


1.5
log
@find the right app-defaults files.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.4 2010/11/20 22:41:49 mrg Exp $
d23 2
@


1.4
log
@add the include dir, to prepare for xmh 1.0.2
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3 2010/11/20 22:40:00 mrg Exp $
d15 1
a15 1
APPDEFS=Xmh.ad
@


1.3
log
@add the app-defaults dir, to prepare for xmh 1.0.2
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.2 2009/11/09 00:41:25 mrg Exp $
d11 1
@


1.2
log
@update for xbitmaps 1.1.0.  black6/box6 have moved into here, so don't
install them from xmh any more.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $
d20 1
a20 1
.PATH:	${X11SRCDIR.${PROG}}
@


1.1
log
@Initial revision
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.3.4.1 2004/11/15 09:12:45 rtr Exp $
a13 3
FILES=	black6 box6
FILESDIR=${X11INCDIR}/X11/bitmaps

@


1.1.1.1
log
@initial import of the crossbuild framework for modular Xorg.  this
is heavily based upon the work rtr@@ did on src/x11, but hacked to
work for modern modular Xorg source split.

the sources will live in xsrc/external/mit/<package>/dist.

documentation on using this will come when the above directories
are fully populated.  there are 192 of them so it may take some time
before that is completed.
@
text
@@


1.1.1.1.6.1
log
@file Makefile was added on branch haad-dm on 2008-10-19 22:41:02 +0000
@
text
@d1 26
@


1.1.1.1.6.2
log
@Sync with HEAD.
@
text
@a0 26
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $

.include <bsd.own.mk>

PROG=	xmh
SRCS=	bbox.c command.c compfuncs.c folder.c init.c main.c \
	menu.c mlist.c msg.c pick.c popup.c screen.c toc.c \
	tocfuncs.c tocutil.c tsource.c util.c viewfuncs.c \
	miscfuncs.c

CPPFLAGS+=	-DHAS_VFORK -DXVENDORNAME=${XVENDORNAME} \
		-DXORG_RELEASE=${XORG_RELEASE}

FILES=	black6 box6
FILESDIR=${X11INCDIR}/X11/bitmaps

APPDEFS=Xmh.ad

LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
	${LIBXPM} ${LIBXEXT} ${LIBX11}

.PATH:	${X11SRCDIR.${PROG}}

.include <bsd.x11.mk>
.include <bsd.prog.mk>
@


1.1.1.1.2.1
log
@file Makefile was added on branch wrstuden-revivesa on 2008-09-18 05:18:31 +0000
@
text
@d1 26
@


1.1.1.1.2.2
log
@Sync with wrstuden-revivesa-base-2.
@
text
@a0 26
#	$NetBSD: Makefile,v 1.1.1.1 2008/07/29 05:01:22 mrg Exp $

.include <bsd.own.mk>

PROG=	xmh
SRCS=	bbox.c command.c compfuncs.c folder.c init.c main.c \
	menu.c mlist.c msg.c pick.c popup.c screen.c toc.c \
	tocfuncs.c tocutil.c tsource.c util.c viewfuncs.c \
	miscfuncs.c

CPPFLAGS+=	-DHAS_VFORK -DXVENDORNAME=${XVENDORNAME} \
		-DXORG_RELEASE=${XORG_RELEASE}

FILES=	black6 box6
FILESDIR=${X11INCDIR}/X11/bitmaps

APPDEFS=Xmh.ad

LDADD+=	-lXaw -lXmu -lXt -lSM -lICE -lXpm -lXext -lX11
DPADD+=	${LIBXAW} ${LIBXMU} ${LIBXT} ${LIBSM} ${LIBICE} \
	${LIBXPM} ${LIBXEXT} ${LIBX11}

.PATH:	${X11SRCDIR.${PROG}}

.include <bsd.x11.mk>
.include <bsd.prog.mk>
@
