head 1.10; access; symbols 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.60 netbsd-11-base:1.10 netbsd-10-1-RELEASE:1.10 perseant-exfatfs-base-20240630:1.10 perseant-exfatfs:1.10.0.58 perseant-exfatfs-base:1.10 netbsd-8-3-RELEASE:1.10 netbsd-9-4-RELEASE:1.10 netbsd-10-0-RELEASE:1.10 netbsd-10-0-RC6:1.10 netbsd-10-0-RC5:1.10 netbsd-10-0-RC4:1.10 netbsd-10-0-RC3:1.10 netbsd-10-0-RC2:1.10 netbsd-10-0-RC1:1.10 netbsd-10:1.10.0.56 netbsd-10-base:1.10 netbsd-9-3-RELEASE:1.10 cjep_sun2x-base1:1.10 cjep_sun2x:1.10.0.54 cjep_sun2x-base:1.10 cjep_staticlib_x-base1:1.10 netbsd-9-2-RELEASE:1.10 cjep_staticlib_x:1.10.0.52 cjep_staticlib_x-base:1.10 netbsd-9-1-RELEASE:1.10 phil-wifi-20200421:1.10 phil-wifi-20200411:1.10 is-mlppp:1.10.0.50 is-mlppp-base:1.10 phil-wifi-20200406:1.10 netbsd-8-2-RELEASE:1.10 netbsd-9-0-RELEASE:1.10 netbsd-9-0-RC2:1.10 netbsd-9-0-RC1:1.10 phil-wifi-20191119:1.10 netbsd-9:1.10.0.48 netbsd-9-base:1.10 phil-wifi-20190609:1.10 netbsd-8-1-RELEASE:1.10 netbsd-8-1-RC1:1.10 pgoyette-compat-merge-20190127:1.10 pgoyette-compat-20190127:1.10 pgoyette-compat-20190118:1.10 pgoyette-compat-1226:1.10 pgoyette-compat-1126:1.10 pgoyette-compat-1020:1.10 pgoyette-compat-0930:1.10 pgoyette-compat-0906:1.10 netbsd-7-2-RELEASE:1.10 pgoyette-compat-0728:1.10 netbsd-8-0-RELEASE:1.10 phil-wifi:1.10.0.46 phil-wifi-base:1.10 pgoyette-compat-0625:1.10 netbsd-8-0-RC2:1.10 pgoyette-compat-0521:1.10 pgoyette-compat-0502:1.10 pgoyette-compat-0422:1.10 netbsd-8-0-RC1:1.10 pgoyette-compat-0415:1.10 pgoyette-compat-0407:1.10 pgoyette-compat-0330:1.10 pgoyette-compat-0322:1.10 pgoyette-compat-0315:1.10 netbsd-7-1-2-RELEASE:1.10 pgoyette-compat:1.10.0.44 pgoyette-compat-base:1.10 netbsd-7-1-1-RELEASE:1.10 matt-nb8-mediatek:1.10.0.42 matt-nb8-mediatek-base:1.10 perseant-stdc-iso10646:1.10.0.40 perseant-stdc-iso10646-base:1.10 netbsd-8:1.10.0.38 netbsd-8-base:1.10 prg-localcount2-base3:1.10 prg-localcount2-base2:1.10 prg-localcount2-base1:1.10 prg-localcount2:1.10.0.36 prg-localcount2-base:1.10 pgoyette-localcount-20170426:1.10 bouyer-socketcan-base1:1.10 pgoyette-localcount-20170320:1.10 netbsd-7-1:1.10.0.34 netbsd-7-1-RELEASE:1.10 netbsd-7-1-RC2:1.10 netbsd-7-nhusb-base-20170116:1.10 bouyer-socketcan:1.10.0.32 bouyer-socketcan-base:1.10 pgoyette-localcount-20170107:1.10 netbsd-7-1-RC1:1.10 pgoyette-localcount-20161104:1.10 netbsd-7-0-2-RELEASE:1.10 localcount-20160914:1.10 netbsd-7-nhusb:1.10.0.30 netbsd-7-nhusb-base:1.10 pgoyette-localcount-20160806:1.10 pgoyette-localcount-20160726:1.10 pgoyette-localcount:1.10.0.28 pgoyette-localcount-base:1.10 netbsd-7-0-1-RELEASE:1.10 netbsd-7-0:1.10.0.26 netbsd-7-0-RELEASE:1.10 netbsd-7-0-RC3:1.10 netbsd-7-0-RC2:1.10 netbsd-7-0-RC1:1.10 netbsd-5-2-3-RELEASE:1.9 netbsd-5-1-5-RELEASE:1.9 netbsd-6-0-6-RELEASE:1.10 netbsd-6-1-5-RELEASE:1.10 netbsd-7:1.10.0.24 netbsd-7-base:1.10 yamt-pagecache-base9:1.10 yamt-pagecache-tag8:1.10 netbsd-6-1-4-RELEASE:1.10 netbsd-6-0-5-RELEASE:1.10 tls-earlyentropy:1.10.0.22 tls-earlyentropy-base:1.10 riastradh-xf86-video-intel-2-7-1-pre-2-21-15:1.10 riastradh-drm2-base3:1.10 netbsd-6-1-3-RELEASE:1.10 netbsd-6-0-4-RELEASE:1.10 netbsd-5-2-2-RELEASE:1.9 netbsd-5-1-4-RELEASE:1.9 netbsd-6-1-2-RELEASE:1.10 netbsd-6-0-3-RELEASE:1.10 netbsd-5-2-1-RELEASE:1.9 netbsd-5-1-3-RELEASE:1.9 netbsd-6-1-1-RELEASE:1.10 riastradh-drm2-base2:1.10 riastradh-drm2-base1:1.10 riastradh-drm2:1.10.0.16 riastradh-drm2-base:1.10 netbsd-6-1:1.10.0.20 netbsd-6-0-2-RELEASE:1.10 netbsd-6-1-RELEASE:1.10 netbsd-6-1-RC4:1.10 netbsd-6-1-RC3:1.10 agc-symver:1.10.0.18 agc-symver-base:1.10 netbsd-6-1-RC2:1.10 netbsd-6-1-RC1:1.10 yamt-pagecache-base8:1.10 netbsd-5-2:1.9.0.60 netbsd-6-0-1-RELEASE:1.10 yamt-pagecache-base7:1.10 netbsd-5-2-RELEASE:1.9 netbsd-5-2-RC1:1.9 matt-nb6-plus-nbase:1.10 yamt-pagecache-base6:1.10 netbsd-6-0:1.10.0.14 netbsd-6-0-RELEASE:1.10 netbsd-6-0-RC2:1.10 tls-maxphys:1.10.0.12 tls-maxphys-base:1.10 matt-nb6-plus:1.10.0.10 matt-nb6-plus-base:1.10 netbsd-6-0-RC1:1.10 yamt-pagecache-base5:1.10 yamt-pagecache-base4:1.10 netbsd-6:1.10.0.8 netbsd-6-base:1.10 netbsd-5-1-2-RELEASE:1.9 netbsd-5-1-1-RELEASE:1.9 yamt-pagecache-base3:1.10 yamt-pagecache-base2:1.10 yamt-pagecache:1.10.0.6 yamt-pagecache-base:1.10 cherry-xenmp:1.10.0.4 cherry-xenmp-base:1.10 bouyer-quota2-nbase:1.10 bouyer-quota2:1.10.0.2 bouyer-quota2-base:1.10 matt-mips64-premerge-20101231:1.10 matt-nb5-mips64-premerge-20101231:1.9 matt-nb5-pq3:1.9.0.58 matt-nb5-pq3-base:1.9 netbsd-5-1:1.9.0.56 netbsd-5-1-RELEASE:1.9 netbsd-5-1-RC4:1.9 matt-nb5-mips64-k15:1.9 netbsd-5-1-RC3:1.9 netbsd-5-1-RC2:1.9 netbsd-5-1-RC1:1.9 netbsd-5-0-2-RELEASE:1.9 matt-nb5-mips64-premerge-20091211:1.9 matt-premerge-20091211:1.9 matt-nb5-mips64-u2-k2-k4-k7-k8-k9:1.9 matt-nb4-mips64-k7-u2a-k9b:1.9 matt-nb5-mips64-u1-k1-k5:1.9 matt-nb5-mips64:1.9.0.54 netbsd-5-0-1-RELEASE:1.9 jym-xensuspend-nbase:1.9 netbsd-5-0:1.9.0.52 netbsd-5-0-RELEASE:1.9 netbsd-5-0-RC4:1.9 netbsd-5-0-RC3:1.9 netbsd-5-0-RC2:1.9 jym-xensuspend:1.9.0.50 jym-xensuspend-base:1.9 netbsd-5-0-RC1:1.9 netbsd-5:1.9.0.48 netbsd-5-base:1.9 matt-mips64-base2:1.9 matt-mips64:1.9.0.46 mjf-devfs2:1.9.0.44 mjf-devfs2-base:1.9 netbsd-4-0-1-RELEASE:1.9 wrstuden-revivesa-base-3:1.9 wrstuden-revivesa-base-2:1.9 wrstuden-fixsa-newbase:1.9 wrstuden-revivesa-base-1:1.9 yamt-pf42-base4:1.9 yamt-pf42-base3:1.9 hpcarm-cleanup-nbase:1.9 yamt-pf42-baseX:1.9 yamt-pf42-base2:1.9 wrstuden-revivesa:1.9.0.42 wrstuden-revivesa-base:1.9 yamt-pf42:1.9.0.40 yamt-pf42-base:1.9 keiichi-mipv6:1.9.0.38 keiichi-mipv6-base:1.9 matt-armv6-nbase:1.9 matt-armv6-prevmlocking:1.9 wrstuden-fixsa-base-1:1.9 netbsd-4-0:1.9.0.36 netbsd-4-0-RELEASE:1.9 cube-autoconf:1.9.0.34 cube-autoconf-base:1.9 netbsd-4-0-RC5:1.9 netbsd-4-0-RC4:1.9 netbsd-4-0-RC3:1.9 netbsd-4-0-RC2:1.9 netbsd-4-0-RC1:1.9 matt-armv6:1.9.0.32 matt-armv6-base:1.9 matt-mips64-base:1.9 hpcarm-cleanup:1.9.0.30 hpcarm-cleanup-base:1.9 netbsd-3-1-1-RELEASE:1.9 netbsd-3-0-3-RELEASE:1.9 wrstuden-fixsa:1.9.0.28 wrstuden-fixsa-base:1.9 abandoned-netbsd-4-base:1.9 abandoned-netbsd-4:1.9.0.22 netbsd-3-1:1.9.0.24 netbsd-3-1-RELEASE:1.9 netbsd-3-0-2-RELEASE:1.9 netbsd-3-1-RC4:1.9 netbsd-3-1-RC3:1.9 netbsd-3-1-RC2:1.9 netbsd-3-1-RC1:1.9 netbsd-4:1.9.0.26 netbsd-4-base:1.9 netbsd-3-0-1-RELEASE:1.9 netbsd-3-0:1.9.0.20 netbsd-3-0-RELEASE:1.9 netbsd-3-0-RC6:1.9 netbsd-3-0-RC5:1.9 netbsd-3-0-RC4:1.9 netbsd-3-0-RC3:1.9 netbsd-3-0-RC2:1.9 netbsd-3-0-RC1:1.9 netbsd-2-0-3-RELEASE:1.9 netbsd-2-1:1.9.0.18 netbsd-2-1-RELEASE:1.9 netbsd-2-1-RC6:1.9 netbsd-2-1-RC5:1.9 netbsd-2-1-RC4:1.9 netbsd-2-1-RC3:1.9 netbsd-2-1-RC2:1.9 netbsd-2-1-RC1:1.9 netbsd-2-0-2-RELEASE:1.9 netbsd-3:1.9.0.16 netbsd-3-base:1.9 netbsd-2-0-1-RELEASE:1.9 netbsd-2:1.9.0.14 netbsd-2-base:1.9 netbsd-2-0-RELEASE:1.9 netbsd-2-0-RC5:1.9 netbsd-2-0-RC4:1.9 netbsd-2-0-RC3:1.9 netbsd-2-0-RC2:1.9 netbsd-2-0-RC1:1.9 netbsd-2-0:1.9.0.12 netbsd-2-0-base:1.9 netbsd-1-6-PATCH002-RELEASE:1.9 netbsd-1-6-PATCH002:1.9 netbsd-1-6-PATCH002-RC4:1.9 netbsd-1-6-PATCH002-RC3:1.9 netbsd-1-6-PATCH002-RC2:1.9 netbsd-1-6-PATCH002-RC1:1.9 netbsd-1-6-PATCH001:1.9 netbsd-1-6-PATCH001-RELEASE:1.9 netbsd-1-6-PATCH001-RC3:1.9 netbsd-1-6-PATCH001-RC2:1.9 netbsd-1-6-PATCH001-RC1:1.9 fvdl_fs64_base:1.9 netbsd-1-6-RELEASE:1.9 netbsd-1-6-RC3:1.9 netbsd-1-6-RC2:1.9 netbsd-1-6-RC1:1.9 netbsd-1-6:1.9.0.10 netbsd-1-6-base:1.9 netbsd-1-5-PATCH003:1.9 netbsd-1-5-PATCH002:1.9 netbsd-1-5-PATCH001:1.9 netbsd-1-5-RELEASE:1.9 netbsd-1-5-BETA2:1.9 netbsd-1-5-BETA:1.9 netbsd-1-4-PATCH003:1.8 netbsd-1-5-ALPHA2:1.9 netbsd-1-5:1.9.0.8 netbsd-1-5-base:1.9 minoura-xpg4dl:1.9.0.6 minoura-xpg4dl-base:1.9 netbsd-1-4-PATCH002:1.8 wrstuden-devbsize-19991221:1.9 wrstuden-devbsize:1.9.0.4 wrstuden-devbsize-base:1.9 comdex-fall-1999:1.9.0.2 comdex-fall-1999-base:1.9 netbsd-1-4-PATCH001:1.8 netbsd-1-4-RELEASE:1.8 netbsd-1-4:1.8.0.2 netbsd-1-4-base:1.8 netbsd-1-3-PATCH003:1.6.4.1 netbsd-1-3-PATCH003-CANDIDATE2:1.6.4.1 netbsd-1-3-PATCH003-CANDIDATE1:1.6.4.1 netbsd-1-3-PATCH003-CANDIDATE0:1.6.4.1 netbsd-1-3-PATCH002:1.6.4.1 netbsd-1-3-PATCH001:1.6.4.1 netbsd-1-3-RELEASE:1.6.4.1 netbsd-1-3-BETA:1.6.4.1 netbsd-1-3:1.6.0.4 netbsd-1-3-base:1.6 netbsd-1-2-PATCH001:1.6 lite-2:1.1.1.2 netbsd-1-2-RELEASE:1.6 netbsd-1-2-BETA:1.6 netbsd-1-2-base:1.6 netbsd-1-2:1.6.0.6 netbsd-1-1-PATCH001:1.6 netbsd-1-1-RELEASE:1.6 netbsd-1-1:1.6.0.2 netbsd-1-1-base:1.6 Lite-1:1.1.1.2 CSRG:1.1.1 netbsd-1-0-PATCH06:1.4 netbsd-1-0-PATCH05:1.4 netbsd-1-0-PATCH04:1.4 netbsd-1-0-PATCH03:1.4 netbsd-1-0-PATCH02:1.4 netbsd-1-0-PATCH1:1.4 netbsd-1-0-PATCH0:1.4 netbsd-1-0-RELEASE:1.4 netbsd-1-0:1.4.0.2 netbsd-1-0-base:1.4 netbsd-0-9-RELEASE:1.2 netbsd-0-9-BETA:1.2 netbsd-0-9-ALPHA2:1.2 netbsd-0-9-ALPHA:1.2 netbsd-0-9:1.2.0.2 netbsd-0-9-base:1.2 netbsd-0-8:1.2 netbsd-alpha-1:1.2 patchkit-0-2-2:1.1.1.1 WFJ-386bsd-01:1.1.1.1 WFJ-920714:1.1.1; locks; strict; comment @# @; 1.10 date 2010.02.06.23.45.26; author he; state Exp; branches; next 1.9; 1.9 date 99.09.14.18.07.21; author jsm; state Exp; branches; next 1.8; 1.8 date 98.02.04.10.24.13; author christos; state Exp; branches; next 1.7; 1.7 date 97.11.20.00.12.41; author mrg; state Exp; branches; next 1.6; 1.6 date 95.04.22.08.34.27; author cgd; state Exp; branches 1.6.4.1; next 1.5; 1.5 date 94.12.22.09.36.14; author cgd; state Exp; branches; next 1.4; 1.4 date 94.05.23.05.37.40; author cgd; state Exp; branches; next 1.3; 1.3 date 93.08.01.05.44.15; author mycroft; state Exp; branches; next 1.2; 1.2 date 93.03.23.02.46.06; 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.6.4.1 date 97.11.20.09.06.51; author mrg; 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 95.04.22.08.25.39; author cgd; state Exp; branches; next ; desc @@ 1.10 log @When using -lcurses, you also need -lterminfo. This fixes the build for sun2, and also builds with LDSTATIC=-static, since archive libraries don't record inter-library dependencies. @ text @# $NetBSD: Makefile,v 1.9 1999/09/14 18:07:21 jsm Exp $ # @@(#)Makefile 8.1 (Berkeley) 5/31/93 PROG= snake SRCS= snake.c MAN= snake.6 DPADD= ${LIBM} ${LIBCURSES} ${LIBTERMINFO} LDADD= -lm -lcurses -lterminfo HIDEGAME=hidegame SETGIDGAME=yes .include "../../Makefile.inc" .include @ 1.9 log @Convert snake to use curses, and generally clean it up somewhat. Includes bugfixes from or inspired by OpenBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.8 1998/02/04 10:24:13 christos Exp $ d7 2 a8 2 DPADD= ${LIBM} ${LIBCURSES} LDADD= -lm -lcurses @ 1.8 log @Remove -lcompat; not needed. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 1997/11/20 00:12:41 mrg Exp $ d5 1 a5 1 SRCS= snake.c move.c d7 2 a8 2 DPADD= ${LIBM} ${LIBTERMCAP} LDADD= -lm -ltermcap @ 1.7 log @install games that need it setgid. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 1995/04/22 08:34:27 cgd Exp $ d7 2 a8 2 DPADD= ${LIBM} ${LIBTERM} ${LIBCOMPAT} LDADD= -lm -ltermcap -lcompat @ 1.6 log @clean up import, NetBSD RCS Ids, etc. @ text @d1 1 a1 1 # $NetBSD$ d10 1 @ 1.6.4.1 log @pull up from trunk: - install games files with the correct permissions. - install games that need it setgid. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 1997/11/20 00:12:41 mrg Exp $ a9 1 SETGIDGAME=yes @ 1.5 log @specify man pages the new way. @ text @d1 2 a2 2 # from: @@(#)Makefile 5.11 (Berkeley) 2/28/91 # $Id: Makefile,v 1.4 1994/05/23 05:37:40 cgd Exp $ @ 1.4 log @need -lcompat @ text @d2 1 a2 1 # $Id: Makefile,v 1.3 1993/08/01 05:44:15 mycroft Exp $ d6 1 a6 1 MAN6= snake.0 @ 1.3 log @Add RCS identifiers. @ text @d2 1 a2 1 # $Id: $ d7 2 a8 2 DPADD= ${LIBM} ${LIBTERM} LDADD= -lm -ltermcap @ 1.2 log @got rid of unnecessary -lcompat and associated dependency @ text @d1 2 a2 1 # @@(#)Makefile 5.11 (Berkeley) 2/28/91 @ 1.1 log @Initial revision @ text @d6 2 a7 2 DPADD= ${LIBM} ${LIBTERM} ${LIBCOMPAT} LDADD= -lm -ltermcap -lcompat @ 1.1.1.1 log @initial import of 386bsd-0.1 sources @ text @@ 1.1.1.2 log @src/games/snake from Lite @ text @d1 1 a1 1 # @@(#)Makefile 8.1 (Berkeley) 5/31/93 @