summaryrefslogtreecommitdiff
path: root/sys/arch/socppc/conf
diff options
context:
space:
mode:
authorMartin Natano <natano@cvs.openbsd.org>2016-11-15 09:08:39 +0000
committerMartin Natano <natano@cvs.openbsd.org>2016-11-15 09:08:39 +0000
commitb63cb4199d1c437d88df69a500882996bca31d11 (patch)
treefc71fecb39ab56497f7806eee5a119e5cdfed2ab /sys/arch/socppc/conf
parent1fd9dbac863c4dc36525588bfe4d58db74b25dfe (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/socppc/conf')
-rw-r--r--sys/arch/socppc/conf/Makefile.socppc20
1 files changed, 4 insertions, 16 deletions
diff --git a/sys/arch/socppc/conf/Makefile.socppc b/sys/arch/socppc/conf/Makefile.socppc
index 0ba8a4feac8..afbde2e7a67 100644
--- a/sys/arch/socppc/conf/Makefile.socppc
+++ b/sys/arch/socppc/conf/Makefile.socppc
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.socppc,v 1.48 2016/10/27 20:44:20 natano Exp $
+# $OpenBSD: Makefile.socppc,v 1.49 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