summaryrefslogtreecommitdiff
path: root/usr/src
diff options
context:
space:
mode:
Diffstat (limited to 'usr/src')
-rw-r--r--usr/src/cmd/bhyve/Makefile9
-rw-r--r--usr/src/cmd/bhyve/test/Makefile.com2
2 files changed, 5 insertions, 6 deletions
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