diff options
author | Martin Natano <natano@cvs.openbsd.org> | 2016-11-15 09:08:39 +0000 |
---|---|---|
committer | Martin Natano <natano@cvs.openbsd.org> | 2016-11-15 09:08:39 +0000 |
commit | b63cb4199d1c437d88df69a500882996bca31d11 (patch) | |
tree | fc71fecb39ab56497f7806eee5a119e5cdfed2ab /sys/arch/alpha/conf | |
parent | 1fd9dbac863c4dc36525588bfe4d58db74b25dfe (diff) |
Clean up the kernel Makefile's:
- Remove the 'lint' target. lint has been removed with OpenBSD 5.2.
- Remove the 'tags' target. It does nothing of value.
- Replace 'clean::' with 'clean:', as requested by espie and millert,
and remove files from the 'clean' target, that are never generated.
- Don't create a file called 'depend' in 'make depend', but just do
nothing instead.
ok mpi tb
Diffstat (limited to 'sys/arch/alpha/conf')
-rw-r--r-- | sys/arch/alpha/conf/Makefile.alpha | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/arch/alpha/conf/Makefile.alpha b/sys/arch/alpha/conf/Makefile.alpha index e620f4fddf2..40b3a0c6a43 100644 --- a/sys/arch/alpha/conf/Makefile.alpha +++ b/sys/arch/alpha/conf/Makefile.alpha @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.alpha,v 1.93 2016/10/27 20:44:19 natano Exp $ +# $OpenBSD: Makefile.alpha,v 1.94 2016/11/15 09:08:37 natano Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -117,25 +117,13 @@ vers.o: ${SYSTEM_DEP} ${SYSTEM_SWAP_DEP} sh $S/conf/newvers.sh ${CC} ${CFLAGS} ${CPPFLAGS} ${PROF} -c vers.c -clean:: - rm -f *bsd *bsd.gdb tags *.[dio] [a-z]*.s \ - [Ee]rrs linterrs assym.* ${DB_STRUCTINFO} param.c +clean: + rm -f *bsd *bsd.gdb *.[dio] [a-z]*.s assym.* ${DB_STRUCTINFO} param.c cleandir: clean rm -f Makefile *.h ioconf.c options machine ${_mach} vers.c -lint: - @lint -hbxncez -Dvolatile= ${CPPFLAGS} -UKGDB \ - ${CFILES} ioconf.c param.c | \ - grep -v 'static function .* unused' - -obj: - -depend: - @touch $@ - -tags: - @echo "see $S/kern/Makefile for tags" +depend obj: db_structinfo.h: $S/ddb/db_structinfo.c $S/ddb/parse_structinfo.pl ${CC} ${CFLAGS} ${CPPFLAGS} -MT $@ -gstabs -c $S/ddb/db_structinfo.c |