|
|
1.1 ! root 1: # Makefile 4.29 83/08/28 ! 2: # ! 3: ! 4: DESTDIR= ! 5: AS=/bin/as ! 6: CC=/bin/cc ! 7: LD=/bin/ld ! 8: INCLDIR=${DESTDIR}/usr/include ! 9: LIBDIR=${DESTDIR}/lib ! 10: ULIBDIR=${DESTDIR}/usr/lib ! 11: MAKEPARAM = AS=${AS} CC=${CC} LD=${LD} INCLDIR=${INCLDIR} LIBDIR=${LIBDIR} ULIBDIR=${ULIBDIR} DESTDIR=${DESTDIR} ! 12: CFLAGS= -O -I${INCLDIR} ! 13: ! 14: # Programs that live in subdirectories, and have makefiles of their own. ! 15: # ! 16: SUBDIR= config dump dump.4.1 fsck getty restore \ ! 17: termcap \ ! 18: htable ! 19: ! 20: # Shell scripts that need only be installed and are never removed. ! 21: # ! 22: SCRIPT= fastboot fasthalt mklost+found ! 23: ! 24: # C programs that live in the current directory and do not need ! 25: # explicit make lines. ! 26: # ! 27: STD= accton analyze auditon auditoff \ ! 28: badsect catman chown clri comsat \ ! 29: cron dcheck dmesg dumpfs edquota \ ! 30: halt icheck init kgmon newfs mknod mkproto mount \ ! 31: ncheck pstat quot quotaon quotacheck reboot renice repquota \ ! 32: savecore \ ! 33: shutdown swapon tunefs umount update vipw ! 34: ! 35: # C programs that live in the current directory and need explicit make lines. ! 36: # ! 37: NSTD= ac sa mkfs ! 38: FILES= disktab fstab.fsd gettytab group motd passwd printcap \ ! 39: rc rc.local services ttys ttytype ! 40: ! 41: all: ${SUBDIR} ${STD} ${NSTD} ! 42: ! 43: ${SUBDIR}: FRC ! 44: cd $@; make ${MFLAGS} ${MAKEPARAM} ! 45: ! 46: ! 47: ${NSTD}: ! 48: ${CC} ${CFLAGS} -o $@ [email protected] ! 49: ! 50: ${STD}: ! 51: ${CC} ${CFLAGS} -o $@ [email protected] ! 52: ! 53: install: all ! 54: for i in ${SUBDIR}; do \ ! 55: (cd $$i; make ${MFLAGS} ${MAKEPARAM} install); done ! 56: for i in ${SCRIPT}; do (install -c $$i.sh ${DESTDIR}/etc/$$i); done ! 57: for i in ${STD} ${NSTD}; do (install $$i ${DESTDIR}/etc/$$i); done ! 58: for i in ${FILES}; do (install -c $$i ${DESTDIR}/etc/$$i); done ! 59: rm -f ${DESTDIR}/etc/quotaoff ! 60: ln ${DESTDIR}/etc/quotaon ${DESTDIR}/etc/quotaoff ! 61: ! 62: clean: ! 63: rm -f a.out core *.s *.o ! 64: for i in ${SUBDIR}; do (cd $$i; make ${MFLAGS} clean); done ! 65: rm -f ${STD} ${NSTD} ! 66: ! 67: cleansrc: ! 68: rm -f *.c Makefile *.fsd *.sh disktab gettytab group motd passwd ! 69: rm -f printcap rc.* tty* ! 70: ! 71: ! 72: FRC: ! 73: ! 74: depend: ! 75: cat </dev/null >x.c ! 76: for i in ${STD} ${NSTD}; do \ ! 77: (echo $$i: $$i.c >>makedep; \ ! 78: /bin/grep '^#[ ]*include' x.c $$i.c | sed \ ! 79: -e '/\.\.\/h/d' \ ! 80: -e 's,<\(.*\)>,"/usr/include/\1",' \ ! 81: -e 's/:[^"]*"\([^"]*\)".*/: \1/' \ ! 82: -e 's/\.c//' >>makedep); done ! 83: echo '/^# DO NOT DELETE THIS LINE/+2,$$d' >eddep ! 84: echo '$$r makedep' >>eddep ! 85: echo 'w' >>eddep ! 86: cp Makefile Makefile.bak ! 87: ed - Makefile < eddep ! 88: rm eddep makedep x.c ! 89: echo '# DEPENDENCIES MUST END AT END OF FILE' >> Makefile ! 90: echo '# IF YOU PUT STUFF HERE IT WILL GO AWAY' >> Makefile ! 91: echo '# see make depend above' >> Makefile ! 92: ! 93: # Files listed in ${NSTD} have explicit make lines given below. ! 94: ! 95: # DO NOT DELETE THIS LINE -- make depend uses it ! 96: ! 97: accton: accton.c ! 98: analyze: analyze.c ! 99: analyze: /usr/include/stdio.h ! 100: analyze: /usr/include/sys/param.h ! 101: analyze: /usr/include/sys/dir.h ! 102: analyze: /usr/include/machine/pte.h ! 103: analyze: /usr/include/nlist.h ! 104: analyze: /usr/include/sys/map.h ! 105: analyze: /usr/include/sys/user.h ! 106: analyze: /usr/include/sys/proc.h ! 107: analyze: /usr/include/sys/text.h ! 108: analyze: /usr/include/sys/cmap.h ! 109: analyze: /usr/include/sys/vm.h ! 110: badsect: badsect.c ! 111: badsect: /usr/include/stdio.h ! 112: badsect: /usr/include/sys/param.h ! 113: badsect: /usr/include/sys/fs.h ! 114: badsect: /usr/include/sys/dir.h ! 115: badsect: /usr/include/sys/stat.h ! 116: badsect: /usr/include/sys/inode.h ! 117: catman: catman.c ! 118: catman: /usr/include/stdio.h ! 119: catman: /usr/include/sys/types.h ! 120: catman: /usr/include/sys/stat.h ! 121: catman: /usr/include/sys/time.h ! 122: catman: /usr/include/sys/dir.h ! 123: catman: /usr/include/ctype.h ! 124: chown: chown.c ! 125: chown: /usr/include/stdio.h ! 126: chown: /usr/include/ctype.h ! 127: chown: /usr/include/sys/types.h ! 128: chown: /usr/include/sys/stat.h ! 129: chown: /usr/include/pwd.h ! 130: clri: clri.c ! 131: clri: /usr/include/sys/param.h ! 132: clri: /usr/include/sys/inode.h ! 133: clri: /usr/include/sys/fs.h ! 134: comsat: comsat.c ! 135: comsat: /usr/include/sys/types.h ! 136: comsat: /usr/include/sys/socket.h ! 137: comsat: /usr/include/sys/stat.h ! 138: comsat: /usr/include/sys/wait.h ! 139: comsat: /usr/include/netinet/in.h ! 140: comsat: /usr/include/stdio.h ! 141: comsat: /usr/include/sgtty.h ! 142: comsat: /usr/include/utmp.h ! 143: comsat: /usr/include/signal.h ! 144: comsat: /usr/include/errno.h ! 145: comsat: /usr/include/netdb.h ! 146: cron: cron.c ! 147: cron: /usr/include/sys/types.h ! 148: cron: /usr/include/stdio.h ! 149: cron: /usr/include/ctype.h ! 150: cron: /usr/include/signal.h ! 151: cron: /usr/include/sys/time.h ! 152: cron: /usr/include/sys/stat.h ! 153: dcheck: dcheck.c ! 154: dcheck: /usr/include/sys/param.h ! 155: dcheck: /usr/include/sys/inode.h ! 156: dcheck: /usr/include/sys/fs.h ! 157: dcheck: /usr/include/sys/dir.h ! 158: dcheck: /usr/include/stdio.h ! 159: dmesg: dmesg.c ! 160: dmesg: /usr/include/stdio.h ! 161: dmesg: /usr/include/sys/param.h ! 162: dmesg: /usr/include/nlist.h ! 163: dmesg: /usr/include/signal.h ! 164: dmesg: /usr/include/sys/vm.h ! 165: dmesg: /usr/include/sys/msgbuf.h ! 166: dumpfs: dumpfs.c ! 167: dumpfs: /usr/include/sys/param.h ! 168: dumpfs: /usr/include/sys/inode.h ! 169: dumpfs: /usr/include/sys/fs.h ! 170: dumpfs: /usr/include/stdio.h ! 171: dumpfs: /usr/include/fstab.h ! 172: edquota: edquota.c ! 173: edquota: /usr/include/stdio.h ! 174: edquota: /usr/include/signal.h ! 175: edquota: /usr/include/errno.h ! 176: edquota: /usr/include/pwd.h ! 177: edquota: /usr/include/ctype.h ! 178: edquota: /usr/include/fstab.h ! 179: edquota: /usr/include/sys/param.h ! 180: edquota: /usr/include/sys/stat.h ! 181: edquota: /usr/include/sys/file.h ! 182: edquota: /usr/include/sys/quota.h ! 183: halt: halt.c ! 184: halt: /usr/include/stdio.h ! 185: halt: /usr/include/sys/reboot.h ! 186: halt: /usr/include/sys/types.h ! 187: halt: /usr/include/sys/time.h ! 188: halt: /usr/include/errno.h ! 189: halt: /usr/include/signal.h ! 190: halt: /usr/include/utmp.h ! 191: icheck: icheck.c ! 192: icheck: /usr/include/stdio.h ! 193: icheck: /usr/include/sys/param.h ! 194: icheck: /usr/include/sys/inode.h ! 195: icheck: /usr/include/sys/fs.h ! 196: init: init.c ! 197: init: /usr/include/signal.h ! 198: init: /usr/include/sys/types.h ! 199: init: /usr/include/utmp.h ! 200: init: /usr/include/setjmp.h ! 201: init: /usr/include/sys/reboot.h ! 202: init: /usr/include/errno.h ! 203: init: /usr/include/sys/file.h ! 204: init: /usr/include/sys/ioctl.h ! 205: kgmon: kgmon.c ! 206: kgmon: /usr/include/sys/param.h ! 207: kgmon: /usr/include/machine/pte.h ! 208: kgmon: /usr/include/sys/vm.h ! 209: kgmon: /usr/include/stdio.h ! 210: kgmon: /usr/include/nlist.h ! 211: kgmon: /usr/include/ctype.h ! 212: kgmon: /usr/include/sys/gprof.h ! 213: newfs: newfs.c ! 214: newfs: /usr/include/sys/param.h ! 215: newfs: /usr/include/sys/stat.h ! 216: newfs: /usr/include/sys/fs.h ! 217: newfs: /usr/include/sys/dir.h ! 218: newfs: /usr/include/stdio.h ! 219: newfs: /usr/include/disktab.h ! 220: mknod: mknod.c ! 221: mkproto: mkproto.c ! 222: mkproto: /usr/include/stdio.h ! 223: mkproto: /usr/include/sys/param.h ! 224: mkproto: /usr/include/sys/inode.h ! 225: mkproto: /usr/include/sys/fs.h ! 226: mkproto: /usr/include/sys/dir.h ! 227: mount: mount.c ! 228: mount: /usr/include/sys/param.h ! 229: mount: /usr/include/stdio.h ! 230: mount: /usr/include/fstab.h ! 231: mount: /usr/include/mtab.h ! 232: ncheck: ncheck.c ! 233: ncheck: /usr/include/sys/param.h ! 234: ncheck: /usr/include/sys/inode.h ! 235: ncheck: /usr/include/sys/fs.h ! 236: ncheck: /usr/include/sys/dir.h ! 237: ncheck: /usr/include/stdio.h ! 238: pstat: pstat.c ! 239: pstat: /usr/include/sys/param.h ! 240: pstat: /usr/include/sys/dir.h ! 241: pstat: /usr/include/sys/file.h ! 242: pstat: /usr/include/sys/user.h ! 243: pstat: /usr/include/sys/proc.h ! 244: pstat: /usr/include/sys/text.h ! 245: pstat: /usr/include/sys/inode.h ! 246: pstat: /usr/include/sys/map.h ! 247: pstat: /usr/include/sys/ioctl.h ! 248: pstat: /usr/include/sys/tty.h ! 249: pstat: /usr/include/sys/conf.h ! 250: pstat: /usr/include/sys/vm.h ! 251: pstat: /usr/include/nlist.h ! 252: pstat: /usr/include/machine/pte.h ! 253: quot: quot.c ! 254: quot: /usr/include/stdio.h ! 255: quot: /usr/include/ctype.h ! 256: quot: /usr/include/sys/param.h ! 257: quot: /usr/include/sys/inode.h ! 258: quot: /usr/include/sys/fs.h ! 259: quot: /usr/include/sys/file.h ! 260: quot: /usr/include/fstab.h ! 261: quot: /usr/include/pwd.h ! 262: quot: /usr/include/utmp.h ! 263: quotaon: quotaon.c ! 264: quotaon: /usr/include/sys/param.h ! 265: quotaon: /usr/include/sys/file.h ! 266: quotaon: /usr/include/stdio.h ! 267: quotaon: /usr/include/fstab.h ! 268: quotaon: /usr/include/mtab.h ! 269: quotacheck: quotacheck.c ! 270: quotacheck: /usr/include/stdio.h ! 271: quotacheck: /usr/include/ctype.h ! 272: quotacheck: /usr/include/signal.h ! 273: quotacheck: /usr/include/sys/param.h ! 274: quotacheck: /usr/include/sys/inode.h ! 275: quotacheck: /usr/include/sys/fs.h ! 276: quotacheck: /usr/include/sys/quota.h ! 277: quotacheck: /usr/include/sys/stat.h ! 278: quotacheck: /usr/include/fstab.h ! 279: quotacheck: /usr/include/pwd.h ! 280: reboot: reboot.c ! 281: reboot: /usr/include/stdio.h ! 282: reboot: /usr/include/sys/reboot.h ! 283: reboot: /usr/include/errno.h ! 284: reboot: /usr/include/signal.h ! 285: reboot: /usr/include/sys/types.h ! 286: reboot: /usr/include/sys/time.h ! 287: reboot: /usr/include/utmp.h ! 288: renice: renice.c ! 289: renice: /usr/include/sys/time.h ! 290: renice: /usr/include/sys/resource.h ! 291: renice: /usr/include/stdio.h ! 292: renice: /usr/include/pwd.h ! 293: repquota: repquota.c ! 294: repquota: /usr/include/stdio.h ! 295: repquota: /usr/include/sys/param.h ! 296: repquota: /usr/include/sys/quota.h ! 297: repquota: /usr/include/sys/stat.h ! 298: repquota: /usr/include/fstab.h ! 299: repquota: /usr/include/pwd.h ! 300: savecore: savecore.c ! 301: savecore: /usr/include/stdio.h ! 302: savecore: /usr/include/nlist.h ! 303: savecore: /usr/include/sys/param.h ! 304: savecore: /usr/include/sys/dir.h ! 305: savecore: /usr/include/sys/stat.h ! 306: savecore: /usr/include/sys/fs.h ! 307: savecore: /usr/include/sys/time.h ! 308: shutdown: shutdown.c ! 309: shutdown: /usr/include/stdio.h ! 310: shutdown: /usr/include/ctype.h ! 311: shutdown: /usr/include/signal.h ! 312: shutdown: /usr/include/utmp.h ! 313: shutdown: /usr/include/sys/time.h ! 314: shutdown: /usr/include/sys/resource.h ! 315: shutdown: /usr/include/sys/types.h ! 316: swapon: swapon.c ! 317: swapon: /usr/include/stdio.h ! 318: swapon: /usr/include/fstab.h ! 319: tunefs: tunefs.c ! 320: tunefs: /usr/include/sys/param.h ! 321: tunefs: /usr/include/sys/stat.h ! 322: tunefs: /usr/include/sys/fs.h ! 323: tunefs: /usr/include/sys/inode.h ! 324: tunefs: /usr/include/stdio.h ! 325: tunefs: /usr/include/fstab.h ! 326: umount: umount.c ! 327: umount: /usr/include/sys/param.h ! 328: umount: /usr/include/stdio.h ! 329: umount: /usr/include/fstab.h ! 330: umount: /usr/include/mtab.h ! 331: update: update.c ! 332: update: /usr/include/signal.h ! 333: vipw: vipw.c ! 334: vipw: /usr/include/sys/types.h ! 335: vipw: /usr/include/sys/stat.h ! 336: vipw: /usr/include/sys/file.h ! 337: vipw: /usr/include/stdio.h ! 338: vipw: /usr/include/errno.h ! 339: vipw: /usr/include/signal.h ! 340: rlogind: rlogind.c ! 341: rlogind: /usr/include/stdio.h ! 342: rlogind: /usr/include/sys/types.h ! 343: rlogind: /usr/include/sys/stat.h ! 344: rlogind: /usr/include/sys/socket.h ! 345: rlogind: /usr/include/sys/wait.h ! 346: rlogind: /usr/include/netinet/in.h ! 347: rlogind: /usr/include/errno.h ! 348: rlogind: /usr/include/pwd.h ! 349: rlogind: /usr/include/signal.h ! 350: rlogind: /usr/include/sgtty.h ! 351: rlogind: /usr/include/stdio.h ! 352: rlogind: /usr/include/netdb.h ! 353: rlogind: /usr/include/utmp.h ! 354: rshd: rshd.c ! 355: rshd: /usr/include/sys/ioctl.h ! 356: rshd: /usr/include/sys/param.h ! 357: rshd: /usr/include/sys/socket.h ! 358: rshd: /usr/include/sys/wait.h ! 359: rshd: /usr/include/netinet/in.h ! 360: rshd: /usr/include/stdio.h ! 361: rshd: /usr/include/errno.h ! 362: rshd: /usr/include/pwd.h ! 363: rshd: /usr/include/signal.h ! 364: rshd: /usr/include/netdb.h ! 365: tftpd: tftpd.c ! 366: tftpd: /usr/include/sys/types.h ! 367: tftpd: /usr/include/sys/socket.h ! 368: tftpd: /usr/include/sys/ioctl.h ! 369: tftpd: /usr/include/sys/wait.h ! 370: tftpd: /usr/include/sys/stat.h ! 371: tftpd: /usr/include/netinet/in.h ! 372: tftpd: /usr/include/arpa/tftp.h ! 373: tftpd: /usr/include/signal.h ! 374: tftpd: /usr/include/stdio.h ! 375: tftpd: /usr/include/errno.h ! 376: tftpd: /usr/include/ctype.h ! 377: tftpd: /usr/include/netdb.h ! 378: tftpd: /usr/include/setjmp.h ! 379: telnetd: telnetd.c ! 380: telnetd: /usr/include/sys/types.h ! 381: telnetd: /usr/include/sys/socket.h ! 382: telnetd: /usr/include/sys/wait.h ! 383: telnetd: /usr/include/netinet/in.h ! 384: telnetd: /usr/include/arpa/telnet.h ! 385: telnetd: /usr/include/stdio.h ! 386: telnetd: /usr/include/signal.h ! 387: telnetd: /usr/include/errno.h ! 388: telnetd: /usr/include/sgtty.h ! 389: telnetd: /usr/include/netdb.h ! 390: telnetd: /usr/include/utmp.h ! 391: gettable: gettable.c ! 392: gettable: /usr/include/sys/types.h ! 393: gettable: /usr/include/sys/socket.h ! 394: gettable: /usr/include/netinet/in.h ! 395: gettable: /usr/include/stdio.h ! 396: gettable: /usr/include/netdb.h ! 397: ifconfig: ifconfig.c ! 398: ifconfig: /usr/include/sys/types.h ! 399: ifconfig: /usr/include/sys/socket.h ! 400: ifconfig: /usr/include/sys/ioctl.h ! 401: ifconfig: /usr/include/netinet/in.h ! 402: ifconfig: /usr/include/net/if.h ! 403: ifconfig: /usr/include/stdio.h ! 404: ifconfig: /usr/include/errno.h ! 405: ifconfig: /usr/include/ctype.h ! 406: ifconfig: /usr/include/netdb.h ! 407: rexecd: rexecd.c ! 408: rexecd: /usr/include/sys/ioctl.h ! 409: rexecd: /usr/include/sys/param.h ! 410: rexecd: /usr/include/sys/socket.h ! 411: rexecd: /usr/include/sys/wait.h ! 412: rexecd: /usr/include/netinet/in.h ! 413: rexecd: /usr/include/stdio.h ! 414: rexecd: /usr/include/errno.h ! 415: rexecd: /usr/include/pwd.h ! 416: rexecd: /usr/include/signal.h ! 417: rexecd: /usr/include/netdb.h ! 418: route: route.c ! 419: route: /usr/include/sys/types.h ! 420: route: /usr/include/sys/socket.h ! 421: route: /usr/include/sys/ioctl.h ! 422: route: /usr/include/sys/mbuf.h ! 423: route: /usr/include/net/route.h ! 424: route: /usr/include/netinet/in.h ! 425: route: /usr/include/stdio.h ! 426: route: /usr/include/errno.h ! 427: route: /usr/include/ctype.h ! 428: route: /usr/include/netdb.h ! 429: route: /usr/include/nlist.h ! 430: trpt: trpt.c ! 431: trpt: /usr/include/sys/param.h ! 432: trpt: /usr/include/sys/socket.h ! 433: trpt: /usr/include/sys/socketvar.h ! 434: trpt: /usr/include/sys/protosw.h ! 435: trpt: /usr/include/net/route.h ! 436: trpt: /usr/include/net/if.h ! 437: trpt: /usr/include/netinet/in.h ! 438: trpt: /usr/include/netinet/in_pcb.h ! 439: trpt: /usr/include/netinet/in_systm.h ! 440: trpt: /usr/include/netinet/ip.h ! 441: trpt: /usr/include/netinet/ip_var.h ! 442: trpt: /usr/include/netinet/tcp.h ! 443: trpt: /usr/include/netinet/tcp_fsm.h ! 444: trpt: /usr/include/netinet/tcp_seq.h ! 445: trpt: /usr/include/netinet/tcp_timer.h ! 446: trpt: /usr/include/netinet/tcp_var.h ! 447: trpt: /usr/include/netinet/tcpip.h ! 448: trpt: /usr/include/netinet/tcp_debug.h ! 449: trpt: /usr/include/stdio.h ! 450: trpt: /usr/include/errno.h ! 451: trpt: /usr/include/nlist.h ! 452: ac: ac.c ! 453: ac: /usr/include/stdio.h ! 454: ac: /usr/include/ctype.h ! 455: ac: /usr/include/utmp.h ! 456: ac: /usr/include/sys/time.h ! 457: ac: /usr/include/sys/types.h ! 458: ac: /usr/include/sys/timeb.h ! 459: sa: sa.c ! 460: sa: /usr/include/stdio.h ! 461: sa: /usr/include/sys/types.h ! 462: sa: /usr/include/sys/acct.h ! 463: sa: /usr/include/signal.h ! 464: sa: /usr/include/utmp.h ! 465: sa: /usr/include/pwd.h ! 466: mkfs: mkfs.c ! 467: mkfs: /usr/include/stdio.h ! 468: mkfs: /usr/include/a.out.h ! 469: mkfs: /usr/include/sys/param.h ! 470: mkfs: /usr/include/sys/inode.h ! 471: mkfs: /usr/include/sys/fs.h ! 472: mkfs: /usr/include/sys/dir.h ! 473: # DEPENDENCIES MUST END AT END OF FILE ! 474: # IF YOU PUT STUFF HERE IT WILL GO AWAY ! 475: # see make depend above
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.