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/macppc/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/macppc/conf')
-rw-r--r-- | sys/arch/macppc/conf/Makefile.macppc | 20 |
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/arch/macppc/conf/Makefile.macppc b/sys/arch/macppc/conf/Makefile.macppc index 0136d0a623c..8dc43e5a99e 100644 --- a/sys/arch/macppc/conf/Makefile.macppc +++ b/sys/arch/macppc/conf/Makefile.macppc @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile.macppc,v 1.77 2016/10/27 20:44:20 natano Exp $ +# $OpenBSD: Makefile.macppc,v 1.78 2016/11/15 09:08:38 natano Exp $ # For instructions on building kernels consult the config(8) and options(4) # manual pages. @@ -116,25 +116,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 |