head	1.31;
access;
symbols
	netbsd-11-0-RC4:1.31
	netbsd-11-0-RC3:1.31
	netbsd-11-0-RC2:1.31
	netbsd-11-0-RC1:1.31
	perseant-exfatfs-base-20250801:1.31
	netbsd-11:1.31.0.6
	netbsd-11-base:1.31
	netbsd-10-1-RELEASE:1.31
	perseant-exfatfs-base-20240630:1.31
	perseant-exfatfs:1.31.0.4
	perseant-exfatfs-base:1.31
	netbsd-8-3-RELEASE:1.29
	netbsd-9-4-RELEASE:1.29
	netbsd-10-0-RELEASE:1.31
	netbsd-10-0-RC6:1.31
	netbsd-10-0-RC5:1.31
	netbsd-10-0-RC4:1.31
	netbsd-10-0-RC3:1.31
	netbsd-10-0-RC2:1.31
	netbsd-10-0-RC1:1.31
	netbsd-10:1.31.0.2
	netbsd-10-base:1.31
	netbsd-9-3-RELEASE:1.29
	cjep_sun2x-base1:1.30
	cjep_sun2x:1.30.0.4
	cjep_sun2x-base:1.30
	cjep_staticlib_x-base1:1.30
	netbsd-9-2-RELEASE:1.29
	cjep_staticlib_x:1.30.0.2
	cjep_staticlib_x-base:1.30
	netbsd-9-1-RELEASE:1.29
	phil-wifi-20200421:1.29
	phil-wifi-20200411:1.29
	is-mlppp:1.29.0.48
	is-mlppp-base:1.29
	phil-wifi-20200406:1.29
	netbsd-8-2-RELEASE:1.29
	netbsd-9-0-RELEASE:1.29
	netbsd-9-0-RC2:1.29
	netbsd-9-0-RC1:1.29
	phil-wifi-20191119:1.29
	netbsd-9:1.29.0.46
	netbsd-9-base:1.29
	phil-wifi-20190609:1.29
	netbsd-8-1-RELEASE:1.29
	netbsd-8-1-RC1:1.29
	pgoyette-compat-merge-20190127:1.29
	pgoyette-compat-20190127:1.29
	pgoyette-compat-20190118:1.29
	pgoyette-compat-1226:1.29
	pgoyette-compat-1126:1.29
	pgoyette-compat-1020:1.29
	pgoyette-compat-0930:1.29
	pgoyette-compat-0906:1.29
	netbsd-7-2-RELEASE:1.29
	pgoyette-compat-0728:1.29
	netbsd-8-0-RELEASE:1.29
	phil-wifi:1.29.0.44
	phil-wifi-base:1.29
	pgoyette-compat-0625:1.29
	netbsd-8-0-RC2:1.29
	pgoyette-compat-0521:1.29
	pgoyette-compat-0502:1.29
	pgoyette-compat-0422:1.29
	netbsd-8-0-RC1:1.29
	pgoyette-compat-0415:1.29
	pgoyette-compat-0407:1.29
	pgoyette-compat-0330:1.29
	pgoyette-compat-0322:1.29
	pgoyette-compat-0315:1.29
	netbsd-7-1-2-RELEASE:1.29
	pgoyette-compat:1.29.0.42
	pgoyette-compat-base:1.29
	netbsd-7-1-1-RELEASE:1.29
	matt-nb8-mediatek:1.29.0.40
	matt-nb8-mediatek-base:1.29
	perseant-stdc-iso10646:1.29.0.38
	perseant-stdc-iso10646-base:1.29
	netbsd-8:1.29.0.36
	netbsd-8-base:1.29
	prg-localcount2-base3:1.29
	prg-localcount2-base2:1.29
	prg-localcount2-base1:1.29
	prg-localcount2:1.29.0.34
	prg-localcount2-base:1.29
	pgoyette-localcount-20170426:1.29
	bouyer-socketcan-base1:1.29
	pgoyette-localcount-20170320:1.29
	netbsd-7-1:1.29.0.32
	netbsd-7-1-RELEASE:1.29
	netbsd-7-1-RC2:1.29
	netbsd-7-nhusb-base-20170116:1.29
	bouyer-socketcan:1.29.0.30
	bouyer-socketcan-base:1.29
	pgoyette-localcount-20170107:1.29
	netbsd-7-1-RC1:1.29
	pgoyette-localcount-20161104:1.29
	netbsd-7-0-2-RELEASE:1.29
	localcount-20160914:1.29
	netbsd-7-nhusb:1.29.0.28
	netbsd-7-nhusb-base:1.29
	pgoyette-localcount-20160806:1.29
	pgoyette-localcount-20160726:1.29
	pgoyette-localcount:1.29.0.26
	pgoyette-localcount-base:1.29
	netbsd-7-0-1-RELEASE:1.29
	netbsd-7-0:1.29.0.24
	netbsd-7-0-RELEASE:1.29
	netbsd-7-0-RC3:1.29
	netbsd-7-0-RC2:1.29
	netbsd-7-0-RC1:1.29
	netbsd-5-2-3-RELEASE:1.28
	netbsd-5-1-5-RELEASE:1.28
	netbsd-6-0-6-RELEASE:1.29
	netbsd-6-1-5-RELEASE:1.29
	netbsd-7:1.29.0.22
	netbsd-7-base:1.29
	yamt-pagecache-base9:1.29
	yamt-pagecache-tag8:1.29
	netbsd-6-1-4-RELEASE:1.29
	netbsd-6-0-5-RELEASE:1.29
	tls-earlyentropy:1.29.0.20
	tls-earlyentropy-base:1.29
	riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.29
	riastradh-drm2-base3:1.29
	netbsd-6-1-3-RELEASE:1.29
	netbsd-6-0-4-RELEASE:1.29
	netbsd-5-2-2-RELEASE:1.28
	netbsd-5-1-4-RELEASE:1.28
	netbsd-6-1-2-RELEASE:1.29
	netbsd-6-0-3-RELEASE:1.29
	netbsd-5-2-1-RELEASE:1.28
	netbsd-5-1-3-RELEASE:1.28
	netbsd-6-1-1-RELEASE:1.29
	riastradh-drm2-base2:1.29
	riastradh-drm2-base1:1.29
	riastradh-drm2:1.29.0.12
	riastradh-drm2-base:1.29
	netbsd-6-1:1.29.0.18
	netbsd-6-0-2-RELEASE:1.29
	netbsd-6-1-RELEASE:1.29
	khorben-n900:1.29.0.16
	netbsd-6-1-RC4:1.29
	netbsd-6-1-RC3:1.29
	agc-symver:1.29.0.14
	agc-symver-base:1.29
	netbsd-6-1-RC2:1.29
	netbsd-6-1-RC1:1.29
	yamt-pagecache-base8:1.29
	netbsd-5-2:1.28.0.54
	netbsd-6-0-1-RELEASE:1.29
	yamt-pagecache-base7:1.29
	netbsd-5-2-RELEASE:1.28
	netbsd-5-2-RC1:1.28
	matt-nb6-plus-nbase:1.29
	yamt-pagecache-base6:1.29
	netbsd-6-0:1.29.0.10
	netbsd-6-0-RELEASE:1.29
	netbsd-6-0-RC2:1.29
	tls-maxphys:1.29.0.8
	tls-maxphys-base:1.29
	matt-nb6-plus:1.29.0.6
	matt-nb6-plus-base:1.29
	netbsd-6-0-RC1:1.29
	yamt-pagecache-base5:1.29
	yamt-pagecache-base4:1.29
	netbsd-6:1.29.0.4
	netbsd-6-base:1.29
	netbsd-5-1-2-RELEASE:1.28
	netbsd-5-1-1-RELEASE:1.28
	yamt-pagecache-base3:1.29
	yamt-pagecache-base2:1.29
	yamt-pagecache:1.29.0.2
	yamt-pagecache-base:1.29
	cherry-xenmp:1.28.0.52
	cherry-xenmp-base:1.28
	bouyer-quota2-nbase:1.28
	bouyer-quota2:1.28.0.50
	bouyer-quota2-base:1.28
	matt-mips64-premerge-20101231:1.28
	matt-nb5-mips64-premerge-20101231:1.28
	matt-nb5-pq3:1.28.0.48
	matt-nb5-pq3-base:1.28
	netbsd-5-1:1.28.0.46
	netbsd-5-1-RELEASE:1.28
	netbsd-5-1-RC4:1.28
	matt-nb5-mips64-k15:1.28
	netbsd-5-1-RC3:1.28
	netbsd-5-1-RC2:1.28
	netbsd-5-1-RC1:1.28
	netbsd-5-0-2-RELEASE:1.28
	matt-nb5-mips64-premerge-20091211:1.28
	matt-premerge-20091211:1.28
	matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.28
	matt-nb4-mips64-k7-u2a-k9b:1.28
	matt-nb5-mips64-u1-k1-k5:1.28
	matt-nb5-mips64:1.28.0.44
	netbsd-5-0-1-RELEASE:1.28
	jym-xensuspend-nbase:1.28
	netbsd-5-0:1.28.0.42
	netbsd-5-0-RELEASE:1.28
	netbsd-5-0-RC4:1.28
	netbsd-5-0-RC3:1.28
	netbsd-5-0-RC2:1.28
	jym-xensuspend:1.28.0.40
	jym-xensuspend-base:1.28
	netbsd-5-0-RC1:1.28
	netbsd-5:1.28.0.38
	netbsd-5-base:1.28
	matt-mips64-base2:1.28
	matt-mips64:1.28.0.36
	mjf-devfs2:1.28.0.34
	mjf-devfs2-base:1.28
	netbsd-4-0-1-RELEASE:1.28
	wrstuden-revivesa-base-3:1.28
	wrstuden-revivesa-base-2:1.28
	wrstuden-fixsa-newbase:1.28
	wrstuden-revivesa-base-1:1.28
	yamt-pf42-base4:1.28
	yamt-pf42-base3:1.28
	hpcarm-cleanup-nbase:1.28
	yamt-pf42-baseX:1.28
	yamt-pf42-base2:1.28
	wrstuden-revivesa:1.28.0.32
	wrstuden-revivesa-base:1.28
	yamt-pf42:1.28.0.30
	yamt-pf42-base:1.28
	keiichi-mipv6:1.28.0.28
	keiichi-mipv6-base:1.28
	matt-armv6-nbase:1.28
	matt-armv6-prevmlocking:1.28
	wrstuden-fixsa-base-1:1.28
	netbsd-4-0:1.28.0.26
	netbsd-4-0-RELEASE:1.28
	cube-autoconf:1.28.0.24
	cube-autoconf-base:1.28
	netbsd-4-0-RC5:1.28
	netbsd-4-0-RC4:1.28
	netbsd-4-0-RC3:1.28
	netbsd-4-0-RC2:1.28
	netbsd-4-0-RC1:1.28
	matt-armv6:1.28.0.22
	matt-armv6-base:1.28
	matt-mips64-base:1.28
	hpcarm-cleanup:1.28.0.20
	hpcarm-cleanup-base:1.28
	netbsd-3-1-1-RELEASE:1.28
	netbsd-3-0-3-RELEASE:1.28
	wrstuden-fixsa:1.28.0.18
	wrstuden-fixsa-base:1.28
	abandoned-netbsd-4-base:1.28
	abandoned-netbsd-4:1.28.0.12
	netbsd-3-1:1.28.0.14
	netbsd-3-1-RELEASE:1.28
	netbsd-3-0-2-RELEASE:1.28
	netbsd-3-1-RC4:1.28
	netbsd-3-1-RC3:1.28
	netbsd-3-1-RC2:1.28
	netbsd-3-1-RC1:1.28
	netbsd-4:1.28.0.16
	netbsd-4-base:1.28
	netbsd-3-0-1-RELEASE:1.28
	netbsd-3-0:1.28.0.10
	netbsd-3-0-RELEASE:1.28
	netbsd-3-0-RC6:1.28
	netbsd-3-0-RC5:1.28
	netbsd-3-0-RC4:1.28
	netbsd-3-0-RC3:1.28
	netbsd-3-0-RC2:1.28
	netbsd-3-0-RC1:1.28
	netbsd-2-0-3-RELEASE:1.28
	netbsd-2-1:1.28.0.8
	netbsd-2-1-RELEASE:1.28
	netbsd-2-1-RC6:1.28
	netbsd-2-1-RC5:1.28
	netbsd-2-1-RC4:1.28
	netbsd-2-1-RC3:1.28
	netbsd-2-1-RC2:1.28
	netbsd-2-1-RC1:1.28
	netbsd-2-0-2-RELEASE:1.28
	netbsd-3:1.28.0.6
	netbsd-3-base:1.28
	netbsd-2-0-1-RELEASE:1.28
	netbsd-2:1.28.0.4
	netbsd-2-base:1.28
	netbsd-2-0-RELEASE:1.28
	netbsd-2-0-RC5:1.28
	netbsd-2-0-RC4:1.28
	netbsd-2-0-RC3:1.28
	netbsd-2-0-RC2:1.28
	netbsd-2-0-RC1:1.28
	netbsd-2-0:1.28.0.2
	netbsd-2-0-base:1.28
	netbsd-1-6-PATCH002-RELEASE:1.27
	netbsd-1-6-PATCH002:1.27
	netbsd-1-6-PATCH002-RC4:1.27
	netbsd-1-6-PATCH002-RC3:1.27
	netbsd-1-6-PATCH002-RC2:1.27
	netbsd-1-6-PATCH002-RC1:1.27
	netbsd-1-6-PATCH001:1.27
	netbsd-1-6-PATCH001-RELEASE:1.27
	netbsd-1-6-PATCH001-RC3:1.27
	netbsd-1-6-PATCH001-RC2:1.27
	netbsd-1-6-PATCH001-RC1:1.27
	nathanw_sa_end:1.27.6.1
	nathanw_sa_before_merge:1.28
	fvdl_fs64_base:1.28
	nathanw_sa_base:1.28
	netbsd-1-6-RELEASE:1.27
	netbsd-1-6-RC3:1.27
	netbsd-1-6-RC2:1.27
	netbsd-1-6-RC1:1.27
	netbsd-1-6:1.27.0.8
	netbsd-1-6-base:1.27
	nathanw_sa:1.27.0.6
	netbsd-1-5-PATCH003:1.27
	netbsd-1-5-PATCH002:1.27
	netbsd-1-5-PATCH001:1.27
	netbsd-1-5-RELEASE:1.27
	netbsd-1-5-BETA2:1.27
	netbsd-1-5-BETA:1.27
	netbsd-1-4-PATCH003:1.25
	netbsd-1-5-ALPHA2:1.27
	netbsd-1-5:1.27.0.4
	netbsd-1-5-base:1.27
	minoura-xpg4dl:1.27.0.2
	minoura-xpg4dl-base:1.27
	netbsd-1-4-PATCH002:1.25
	wrstuden-devbsize-19991221:1.26
	wrstuden-devbsize:1.26.0.4
	wrstuden-devbsize-base:1.26
	comdex-fall-1999:1.26.0.2
	comdex-fall-1999-base:1.26
	netbsd-1-4-PATCH001:1.25
	netbsd-1-4-RELEASE:1.25
	netbsd-1-4:1.25.0.2
	netbsd-1-4-base:1.25
	netbsd-1-3-PATCH003:1.18
	netbsd-1-3-PATCH003-CANDIDATE2:1.18
	netbsd-1-3-PATCH003-CANDIDATE1:1.18
	netbsd-1-3-PATCH003-CANDIDATE0:1.18
	netbsd-1-3-PATCH002:1.18
	netbsd-1-3-PATCH001:1.18
	netbsd-1-3-RELEASE:1.18
	netbsd-1-3-BETA:1.18
	netbsd-1-3:1.18.0.2
	netbsd-1-3-base:1.18
	netbsd-1-2-PATCH001:1.16
	lite-2:1.1.1.2
	netbsd-1-2-RELEASE:1.16
	netbsd-1-2-BETA:1.16
	netbsd-1-2-base:1.16
	netbsd-1-2:1.16.0.4
	netbsd-1-1-PATCH001:1.15
	netbsd-1-1-RELEASE:1.15
	netbsd-1-1:1.15.0.2
	netbsd-1-1-base:1.15
	netbsd-1-0-PATCH06:1.11
	netbsd-1-0-PATCH05:1.11
	netbsd-1-0-PATCH04:1.11
	netbsd-1-0-PATCH03:1.11
	netbsd-1-0-PATCH02:1.11
	netbsd-1-0-PATCH1:1.11
	netbsd-1-0-PATCH0:1.11
	netbsd-1-0-RELEASE:1.11
	netbsd-1-0:1.11.0.2
	netbsd-1-0-base:1.11
	lite-1:1.1.1.2
	CSRG:1.1.1
	netbsd-0-9-RELEASE:1.4
	netbsd-0-9-BETA:1.4
	netbsd-0-9-ALPHA2:1.4
	netbsd-0-9-ALPHA:1.4
	netbsd-0-9:1.4.0.2
	netbsd-0-9-base:1.4
	netbsd-0-8:1.3
	netbsd-alpha-1:1.3
	patchkit-0-2-2:1.1.1.1
	WFJ-386bsd-01:1.1.1.1
	WFJ-920714:1.1.1;
locks; strict;
comment	@# @;


1.31
date	2021.09.14.17.09.18;	author christos;	state Exp;
branches;
next	1.30;
commitid	lRqtoBouWAWaHW8D;

1.30
date	2021.04.06.04.49.41;	author simonb;	state Exp;
branches;
next	1.29;
commitid	R2VZPRAvCtbhMbOC;

1.29
date	2011.08.14.10.53.17;	author christos;	state Exp;
branches
	1.29.44.1;
next	1.28;

1.28
date	2002.06.19.08.11.55;	author jdolecek;	state Exp;
branches;
next	1.27;

1.27
date	2000.05.26.03.04.28;	author simonb;	state Exp;
branches
	1.27.6.1;
next	1.26;

1.26
date	99.09.12.01.19.23;	author chs;	state Exp;
branches;
next	1.25;

1.25
date	99.03.26.22.36.02;	author bgrayson;	state Exp;
branches;
next	1.24;

1.24
date	99.03.24.05.50.49;	author mrg;	state Exp;
branches;
next	1.23;

1.23
date	98.08.25.15.13.16;	author tv;	state Exp;
branches;
next	1.22;

1.22
date	98.08.25.07.43.20;	author ross;	state Exp;
branches;
next	1.21;

1.21
date	98.08.21.19.39.41;	author tv;	state Exp;
branches;
next	1.20;

1.20
date	98.02.18.03.54.58;	author perry;	state Exp;
branches;
next	1.19;

1.19
date	98.02.09.06.25.15;	author mrg;	state Exp;
branches;
next	1.18;

1.18
date	97.07.20.22.37.37;	author christos;	state Exp;
branches;
next	1.17;

1.17
date	97.07.20.20.37.53;	author christos;	state Exp;
branches;
next	1.16;

1.16
date	95.10.26.00.48.59;	author jtc;	state Exp;
branches;
next	1.15;

1.15
date	95.05.21.13.38.25;	author mycroft;	state Exp;
branches;
next	1.14;

1.14
date	95.05.18.20.33.20;	author mycroft;	state Exp;
branches;
next	1.13;

1.13
date	95.03.21.09.07.56;	author cgd;	state Exp;
branches;
next	1.12;

1.12
date	94.08.03.20.49.28;	author deraadt;	state Exp;
branches;
next	1.11;

1.11
date	94.07.03.07.25.57;	author deraadt;	state Exp;
branches;
next	1.10;

1.10
date	94.05.17.08.58.29;	author pk;	state Exp;
branches;
next	1.9;

1.9
date	94.05.12.12.13.51;	author mycroft;	state Exp;
branches;
next	1.8;

1.8
date	94.05.09.03.31.07;	author cgd;	state Exp;
branches;
next	1.7;

1.7
date	94.01.28.00.23.41;	author cgd;	state Exp;
branches;
next	1.6;

1.6
date	93.08.14.13.02.21;	author mycroft;	state Exp;
branches;
next	1.5;

1.5
date	93.08.01.05.47.09;	author mycroft;	state Exp;
branches;
next	1.4;

1.4
date	93.06.17.13.16.20;	author mycroft;	state Exp;
branches;
next	1.3;

1.3
date	93.03.23.00.26.23;	author cgd;	state Exp;
branches;
next	1.2;

1.2
date	93.03.22.08.04.00;	author cgd;	state Exp;
branches;
next	1.1;

1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches
	1.1.1.1;
next	;

1.29.44.1
date	2020.04.21.18.41.05;	author martin;	state dead;
branches;
next	1.29.44.2;
commitid	86tA4aEmdr3VCh5C;

1.29.44.2
date	2020.04.21.19.37.33;	author martin;	state Exp;
branches;
next	;
commitid	x6IB64bYH9UmWh5C;

1.27.6.1
date	2002.04.23.20.41.11;	author nathanw;	state Exp;
branches;
next	;

1.1.1.1
date	93.03.21.09.45.37;	author cgd;	state Exp;
branches;
next	1.1.1.2;

1.1.1.2
date	94.05.09.03.29.29;	author cgd;	state Exp;
branches;
next	;


desc
@@


1.31
log
@Provide symbolic printing of some keywords by capitalizing them.
@
text
@#	$NetBSD: Makefile,v 1.30 2021/04/06 04:49:41 simonb Exp $
#	@@(#)Makefile	8.1 (Berkeley) 6/2/93

PROG=		ps
SRCS=		fmt.c keyword.c nlist.c print.c ps.c
DPADD=		${LIBUTIL} ${LIBM} ${LIBKVM}
LDADD=		-lutil -lm -lkvm

COPTS.print.c = -Wno-format-nonliteral -Wno-format-y2k

.include <bsd.prog.mk>
@


1.30
log
@We only need -Wno-format-y2k for print.c .
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2011/08/14 10:53:17 christos Exp $
d6 2
a7 2
DPADD=		${LIBM} ${LIBKVM}
LDADD=		-lm -lkvm
@


1.29
log
@Document non-literal formats
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.28 2002/06/19 08:11:55 jdolecek Exp $
d9 1
a9 2
CWARNFLAGS+=	-Wno-format-y2k
COPTS.print.c = -Wno-format-nonliteral
@


1.29.44.1
log
@Sync with HEAD
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.29 2011/08/14 10:53:17 christos Exp $
@


1.29.44.2
log
@Ooops, restore accidently removed files from merge mishap
@
text
@@


1.28
log
@g/c procfs fallback code, it's redundant now that we use sysctl to get
process info
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2000/05/26 03:04:28 simonb Exp $
d10 1
@


1.27
log
@Use new sysctl/kvm interfaces.  This will stop the "proc size mismatch"
errors when internal kernel structures change size.  Also remove
the sgid bit - all live kernel data is accessed through the sysctl
interface.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.26 1999/09/12 01:19:23 chs Exp $
d5 1
a5 1
SRCS=		fmt.c keyword.c nlist.c print.c ps.c procfs_ops.c
@


1.27.6.1
log
@Add support for handling multi-LWP processes by selecting one LWP as
"representative" of the process.
Also add a -s option that prints a line for each LWP.
While I'm here, remove the /proc fallback code.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.27 2000/05/26 03:04:28 simonb Exp $
d5 1
a5 1
SRCS=		fmt.c keyword.c nlist.c print.c ps.c
@


1.26
log
@the PMAP_NEW option is gone as the new interface is no longer optional.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.25 1999/03/26 22:36:02 bgrayson Exp $
a7 2
BINGRP=		kmem
BINMODE=	2555
@


1.25
log
@Added experimental fallback /proc-based lookup.  Warnings are printed when the
fallback method is used, as the results could be untrustworthy if an
intruder is present.  It is highly likely that NetBSD-1.5 will have
an improved kvm interface for reading process information, at which
point this code can be garbage-collected.  Also added a word to the
man page -x option description while I was here.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.24 1999/03/24 05:50:49 mrg Exp $
a13 5

# XXX
.if defined(PMAP_NEW)
CPPFLAGS+=      -DPMAP_NEW
.endif
@


1.24
log
@completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.23 1998/08/25 15:13:16 tv Exp $
d5 1
a5 1
SRCS=		fmt.c keyword.c nlist.c print.c ps.c
@


1.23
log
@Add CWARNFLAGS+=-Wno-format-y2k.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.22 1998/08/25 07:43:20 ross Exp $
a15 3
.if defined(UVM)
CPPFLAGS+=      -DUVM
.endif
@


1.22
log
@Kill the CFLAGS+=-Wno-format-y2k which will go, for now, into bsd.sys.mk
It wasn't working anyway, although that could have been fixed by moving it
down below the .include <bsd.prog.mk> line.

It's not completely clear that this usage of %y is in fact y2k-safe, it
seems safer for now to have a single XXX option in bsd.sys.mk, and we need
to rev this anyway for -Wno-uninitialized
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.21 1998/08/21 19:39:41 tv Exp $
d4 8
a11 6
PROG=	ps
SRCS=	fmt.c keyword.c nlist.c print.c ps.c
DPADD=	${LIBM} ${LIBKVM}
LDADD=	-lm -lkvm
BINGRP=	kmem
BINMODE=2555
@


1.21
log
@This needs strftime()'s %y; use -Wno-format-y2k.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.20 1998/02/18 03:54:58 perry Exp $
a5 1
CFLAGS+=-Wno-format-y2k
@


1.20
log
@add -DPMAP_NEW if PMAP_NEW is on in mk.conf
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.19 1998/02/09 06:25:15 mrg Exp $
d6 1
@


1.19
log
@add -DUVM to CPPFLAGS if defined(UVM)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.18 1997/07/20 22:37:37 christos Exp $
d16 3
@


1.18
log
@Remove WARNS=1 from all the subdirectory Makefiles, and add it to Makefile.inc
now that all /bin has been cleaned.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.17 1997/07/20 20:37:53 christos Exp $
d12 5
@


1.17
log
@Fix compiler warnings
Add WARNS=1
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.16 1995/10/26 00:48:59 jtc Exp $
a3 1
WARNS=	1
@


1.16
log
@LIBMATH -> LIBM (PR# 1688)
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.15 1995/05/21 13:38:25 mycroft Exp $
d4 1
@


1.15
log
@Split out some helper functions again.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.14 1995/05/18 20:33:20 mycroft Exp $
d6 1
a6 1
DPADD=	${LIBMATH} ${LIBKVM}
@


1.14
log
@Create and strvis(3) the argument and environment lists only as needed.
Do not keep extra copies around.
@
text
@d1 1
a1 1
#	$NetBSD: Makefile,v 1.13 1995/03/21 09:07:56 cgd Exp $
d5 1
a5 1
SRCS=	keyword.c nlist.c print.c ps.c
@


1.13
log
@convert to new RCS id conventions.
@
text
@d1 1
a1 1
#	$NetBSD$
d5 1
a5 1
SRCS=	fmt.c keyword.c nlist.c print.c ps.c
@


1.12
log
@do not need -I/sys
@
text
@d1 2
a2 2
#	from: @@(#)Makefile	8.1 (Berkeley) 6/2/93
#	$Id: Makefile,v 1.11 1994/07/03 07:25:57 deraadt Exp $
@


1.11
log
@devname is in libc now
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.10 1994/05/17 08:58:29 pk Exp $
a5 1
CFLAGS+=-I${DESTDIR}/sys
@


1.10
log
@Restore "${DESTDIR}" in CFLAGS.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.9 1994/05/12 12:13:51 mycroft Exp $
d5 1
a5 1
SRCS=	devname.c fmt.c keyword.c nlist.c print.c ps.c
@


1.9
log
@Need devname.c.
@
text
@d2 1
a2 1
#	$Id: $
d6 1
a6 1
CFLAGS+=-I/sys
@


1.8
log
@clean up import
@
text
@d1 2
a2 1
#	@@(#)Makefile	8.1 (Berkeley) 6/2/93
d5 1
a5 1
SRCS=	fmt.c keyword.c nlist.c print.c ps.c
@


1.7
log
@needs -lkvm, not -lutil
@
text
@d1 1
a1 2
#	from: @@(#)Makefile	5.5 (Berkeley) 4/23/91
#	$Id: Makefile,v 1.6 1993/08/14 13:02:21 mycroft Exp $
d4 3
a6 2
SRCS=	devname.c keyword.c nlist.c print.c ps.c
DPADD=	${LIBM} ${LIBKVM}
@


1.6
log
@Fix library dependencies.
@
text
@d2 1
a2 1
#	$Id: Makefile,v 1.5 1993/08/01 05:47:09 mycroft Exp $
d6 2
a7 2
DPADD=	${LIBM} ${LIBUTIL}
LDADD=	-lm -lutil
@


1.5
log
@Add RCS identifiers.
@
text
@d2 1
a2 1
#	$Id: $
d6 1
a6 1
DPADD=	${LIBMATH} ${LIBUTIL}
@


1.4
log
@Don't need -I/sys.  (Why was it here?)
@
text
@d1 2
a2 3
#	@@(#)Makefile	5.5 (Berkeley) 4/23/91
#
#	$Header: /b/source/CVS/src/bin/ps/Makefile,v 1.3 1993/03/23 00:26:23 cgd Exp $
@


1.3
log
@changed "Id" to "Header" for rcsids
@
text
@d3 1
a3 1
#	$Header: Makefile,v 1.2 93/03/22 08:08:43 cgd Exp $
a6 1
CFLAGS+=-I/sys
@


1.2
log
@added rcs ids to all files
@
text
@d3 1
a3 1
#	$Id: Makefile,v 1.2 93/03/21 22:12:57 cgd Exp $
@


1.1
log
@Initial revision
@
text
@d2 2
@


1.1.1.1
log
@initial import of 386bsd-0.1 sources
@
text
@@


1.1.1.2
log
@new ps, to match libkvm
@
text
@d1 1
a1 1
#	@@(#)Makefile	8.1 (Berkeley) 6/2/93
d4 1
a4 1
SRCS=	fmt.c keyword.c nlist.c print.c ps.c
d6 2
a7 2
DPADD=	${LIBMATH} ${LIBKVM}
LDADD=	-lm -lkvm
@
