print errno when init can't be executed
[unix-history] / usr / src / sys / kern / Makefile
CommitLineData
7ba7528e
KM
1#
2# Copyright (c) 1986 Regents of the University of California.
3# All rights reserved. The Berkeley software License Agreement
4# specifies the terms and conditions for redistribution.
5#
6# @(#)Makefile 7.1 (Berkeley) %G%
7#
8# Put the ../h stuff near the end so that subroutine definitions win when
9# there is a struct tag with the same name (eg., vmmeter). The real
10# solution would probably be for ctags to generate "struct vmmeter" tags.
11CTAGS= ctags
12SRCS = ../net/*.[ch] ../netimp/*.[ch] ../netinet/*.[ch] \
13 ../netns/*.[ch] ../sys/*.[ch] ../vaxif/*.[ch] ../vaxmba/*.[ch] \
14 ../vaxuba/*.[ch] \
15 ../vax/autoconf.c ../vax/clock.c ../vax/clock.h ../vax/conf.c \
16 ../vax/cons.c ../vax/cons.h ../vax/cpu.h ../vax/cpudata.c \
17 ../vax/dkbad.c ../vax/dkio.h ../vax/flp.c ../vax/flp.h \
18 ../vax/frame.h \
19 ../vax/genassym.c ../vax/in_cksum.c ../vax/machdep.c \
20 ../vax/machparam.h ../vax/mem.c \
21 ../vax/mem.h ../vax/mscp.h ../vax/mtpr.h ../vax/nexus.h \
22 ../vax/pcb.h ../vax/psl.h ../vax/pte.h ../vax/pup_cksum.c \
23 ../vax/reg.h \
24 ../vax/rpb.h ../vax/rpb.s ../vax/rsp.h ../vax/scb.h \
25 ../vax/scb.s \
26 ../vax/swapgeneric.c ../vax/sys_machdep.c ../vax/trap.c \
27 ../vax/trap.h \
28 ../vax/tu.c ../vax/ufs_machdep.c ../vax/vm_machdep.c \
29 ../vax/vmparam.h \
30 ../h/*.h
31
32DIRS = h net netimp netinet netns vax vaxif vaxmba vaxuba
33
34all:
35 @echo "make tags or links only"
36
37tags: FRC
38 mv tags tags.old
39 -cp ../machine/astags tags
40 ${CTAGS} -a ${SRCS}
41 sort -o tags.new tags
42 mv tags.new tags
43 rm -f tags.old
44
45links:
46 -for i in ${DIRS}; do rm -f ../$$i/tags; \
47 ln -s ../sys/tags ../$$i/tags; done
48
49FRC: