From 311330e6823a3a919ff127757c2f0cf9eb17aa0e Mon Sep 17 00:00:00 2001 From: Andy Fiddaman Date: Fri, 25 Feb 2022 15:58:34 +0000 Subject: 14539 bhyve: make clobber removes proto file Reviewed by: Toomas Soome Approved by: Gordon Ross --- usr/src/cmd/bhyve/Makefile | 9 ++++----- usr/src/cmd/bhyve/test/Makefile.com | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) (limited to 'usr/src') diff --git a/usr/src/cmd/bhyve/Makefile b/usr/src/cmd/bhyve/Makefile index 72885e3633..eac7311d30 100644 --- a/usr/src/cmd/bhyve/Makefile +++ b/usr/src/cmd/bhyve/Makefile @@ -13,7 +13,7 @@ # Copyright 2014 Pluribus Networks Inc. # Copyright 2020 Joyent, Inc. # Copyright 2020 Oxide Computer Company -# Copyright 2021 OmniOS Community Edition (OmniOSce) Association. +# Copyright 2022 OmniOS Community Edition (OmniOSce) Association. # PROG = bhyve @@ -105,13 +105,12 @@ SRCS = acpi.c \ OBJS = $(SRCS:.c=.o) -CLOBBERFILES = $(ROOTUSRSBINPROG) - MEVENT_TEST_PROG = mevent_test MEVENT_TEST_SRCS = mevent.c mevent_test.c MEVENT_TEST_OBJS = $(MEVENT_TEST_SRCS:.c=.o) -CLEANFILES = $(PROG) $(MEVENT_TEST_PROG) $(MEVENT_TEST_OBJS) +CLEANFILES = $(OBJS) $(MEVENT_TEST_OBJS) +CLOBBERFILES = $(PROG) $(MEVENT_TEST_PROG) CFLAGS += $(CCVERBOSE) CFLAGS += -_gcc=-Wimplicit-function-declaration -_gcc=-Wno-parentheses @@ -176,7 +175,7 @@ $(MEVENT_TEST_PROG): $(MEVENT_TEST_OBJS) install: all $(ROOTUSRSBINPROG) $(SUBDIRS) clean: $(SUBDIRS) - $(RM) $(OBJS) $(CLEANFILES) + $(RM) $(CLEANFILES) clobber: clean $(SUBDIRS) $(RM) $(CLOBBERFILES) diff --git a/usr/src/cmd/bhyve/test/Makefile.com b/usr/src/cmd/bhyve/test/Makefile.com index 244d2e215b..1d1aa1e630 100644 --- a/usr/src/cmd/bhyve/test/Makefile.com +++ b/usr/src/cmd/bhyve/test/Makefile.com @@ -33,7 +33,7 @@ LDFLAGS += -lproc SMOFF += all_func_returns -CLEANFILES += $(PROG) +CLOBBERFILES += $(PROG) # # Install related definitions -- cgit v1.2.3