Makefile revision 1.1
11.1Scgd# @(#)Makefile 8.2 (Berkeley) 3/21/94 21.1Scgd 31.1Scgd# Makefile for kernel tags files, init_sysent, etc. 41.1Scgd 51.1ScgdARCH= hp300 i386 luna68k news3400 pmax sparc tahoe vax 61.1Scgd 71.1Scgdall: 81.1Scgd @echo "make tags, make links or init_sysent.c only" 91.1Scgd 101.1Scgdinit_sysent.c syscalls.c ../sys/syscall.h: makesyscalls.sh syscalls.master 111.1Scgd -mv -f init_sysent.c init_sysent.c.bak 121.1Scgd -mv -f syscalls.c syscalls.c.bak 131.1Scgd -mv -f ../sys/syscall.h ../sys/syscall.h.bak 141.1Scgd sh makesyscalls.sh syscalls.master 151.1Scgd 161.1Scgd# Kernel tags: 171.1Scgd# Tags files are built in the top-level directory for each architecture, 181.1Scgd# with a makefile listing the architecture-dependent files, etc. The list 191.1Scgd# of common files is in ./Make.tags.inc. Links to the correct tags file 201.1Scgd# are placed in each source directory. We need to have links to tags files 211.1Scgd# from the generic directories that are relative to the machine type, even 221.1Scgd# via remote mounts; therefore we use symlinks to $SYSTAGS, which points at 231.1Scgd# ${SYSDIR}/${MACHINE}/tags. 241.1Scgd 251.1ScgdSYSTAGS=/var/db/sys_tags 261.1ScgdSYSDIR=/sys 271.1Scgd 281.1Scgd# Directories in which to place tags links (other than machine-dependent) 291.1ScgdDGEN= conf \ 301.1Scgd dev dev/scsi \ 311.1Scgd hp hp/dev hp/hpux \ 321.1Scgd kern libkern \ 331.1Scgd miscfs miscfs/deadfs miscfs/fdesc miscfs/fifofs miscfs/kernfs \ 341.1Scgd miscfs/lofs miscfs/nullfs miscfs/portal miscfs/procfs \ 351.1Scgd miscfs/specfs miscfs/umapfs miscfs/union \ 361.1Scgd net netccitt netinet netiso netns nfs scripts sys \ 371.1Scgd ufs ufs/ffs ufs/lfs ufs/mfs ufs/ufs \ 381.1Scgd vm 391.1Scgd 401.1Scgdtags:: 411.1Scgd -for i in ${ARCH}; do \ 421.1Scgd (cd ../$$i && make ${MFLAGS} tags); done 431.1Scgd 441.1Scgdlinks:: 451.1Scgd rm -f ${SYSTAGS} 461.1Scgd ln -s ${SYSDIR}/${MACHINE}/tags ${SYSTAGS} 471.1Scgd -for i in ${DGEN}; do \ 481.1Scgd (cd ../$$i && { rm -f tags; ln -s ${SYSTAGS} tags; }) done 491.1Scgd -for i in ${ARCH}; do \ 501.1Scgd (cd ../$$i && make ${MFLAGS} SYSTAGS=${SYSTAGS} links); done 51