2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 01:49:11 +00:00

Add clean rules to .PHONY target.

This commit is contained in:
Todd C. Miller 2021-02-19 08:54:04 -07:00
parent 9f1e016cde
commit 14c71eaa86
19 changed files with 34 additions and 5 deletions

View File

@ -437,4 +437,5 @@ sandwich:
echo "What? Make it yourself!"; \
fi
.PHONY: ChangeLog me a sandwhich check-format reformat
.PHONY: clean mostlyclean distclean cleandir clobber realclean ChangeLog \
me a sandwhich check-format reformat

View File

@ -423,3 +423,5 @@ clobber: distclean
realclean: distclean
cleandir: distclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean

View File

@ -120,3 +120,5 @@ clobber: distclean
realclean: distclean
cleandir: distclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean

View File

@ -106,3 +106,5 @@ clobber: distclean
realclean: distclean
cleandir: distclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean

View File

@ -178,6 +178,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
check_wrap.lo: $(srcdir)/regress/logwrap/check_wrap.c \
$(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \

View File

@ -159,6 +159,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
fuzzstub.lo: $(srcdir)/fuzzstub.c $(incdir)/sudo_compat.h \
$(top_builddir)/config.h

View File

@ -277,7 +277,7 @@ realclean: distclean
cleandir: realclean
.PHONY: $(FUZZ_SEED_CORPUS)
.PHONY: clean mostlyclean distclean cleandir clobber realclean $(FUZZ_SEED_CORPUS)
# Autogenerated dependencies, do not modify
check_iolog_json.lo: $(srcdir)/regress/iolog_json/check_iolog_json.c \

View File

@ -172,6 +172,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
log_server.pb-c.lo: $(srcdir)/log_server.pb-c.c $(incdir)/log_server.pb-c.h \
$(incdir)/protobuf-c/protobuf-c.h

View File

@ -465,7 +465,7 @@ realclean: distclean
cleandir: realclean
.PHONY: $(FUZZ_SEED_CORPUS)
.PHONY: clean mostlyclean distclean cleandir clobber realclean $(FUZZ_SEED_CORPUS)
# Autogenerated dependencies, do not modify
aix.lo: $(srcdir)/aix.c $(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \

View File

@ -181,6 +181,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
adler32.lo: $(srcdir)/adler32.c $(srcdir)/zlib.h $(srcdir)/zutil.h ./zconf.h
$(LIBTOOL) $(LTFLAGS) --mode=compile $(CC) -c -o $@ $(CPPFLAGS) $(CFLAGS) $(ASAN_CFLAGS) $(PIE_CFLAGS) $(SSP_CFLAGS) $(srcdir)/adler32.c

View File

@ -243,7 +243,7 @@ realclean: distclean
cleandir: realclean
.PHONY: $(FUZZ_SEED_CORPUS)
.PHONY: clean mostlyclean distclean cleandir clobber realclean $(FUZZ_SEED_CORPUS)
# Autogenerated dependencies, do not modify
fuzz_logsrvd_conf.o: $(srcdir)/regress/fuzz/fuzz_logsrvd_conf.c \

View File

@ -201,6 +201,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
getgrent.lo: $(srcdir)/getgrent.c $(incdir)/compat/stdbool.h \
$(incdir)/sudo_compat.h $(incdir)/sudo_util.h \

View File

@ -204,6 +204,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
getgrent.lo: $(srcdir)/getgrent.c $(incdir)/compat/stdbool.h \
$(incdir)/sudo_compat.h $(incdir)/sudo_util.h \

View File

@ -237,6 +237,8 @@ update_test_data: $(TEST_PROGS)
check_python_examples: $(CHECK_PYTHON_EXAMPLES_OBJS) $(LIBPYTHONPLUGIN)
$(LIBTOOL) $(LTFLAGS) --mode=link $(CC) -o $@ $(CHECK_PYTHON_EXAMPLES_OBJS) $(LDFLAGS) $(ASAN_LDFLAGS) $(PIE_LDFLAGS) $(SSP_LDFLAGS) $(LIBS)
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
check_python_examples.o: $(srcdir)/regress/check_python_examples.c \
$(incdir)/compat/stdbool.h $(incdir)/sudo_compat.h \

View File

@ -199,6 +199,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
sample_plugin.lo: $(srcdir)/sample_plugin.c $(incdir)/compat/stdbool.h \
$(incdir)/sudo_compat.h $(incdir)/sudo_plugin.h \

View File

@ -201,6 +201,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
getgrent.lo: $(srcdir)/getgrent.c $(incdir)/compat/stdbool.h \
$(incdir)/sudo_compat.h $(incdir)/sudo_util.h \

View File

@ -718,7 +718,7 @@ realclean: distclean
cleandir: realclean
.PHONY: $(FUZZ_SEED_CORPUS)
.PHONY: clean mostlyclean distclean cleandir clobber realclean $(FUZZ_SEED_CORPUS)
# Autogenerated dependencies, do not modify
afs.lo: $(authdir)/afs.c $(authdir)/sudo_auth.h $(devdir)/def_data.h \

View File

@ -204,6 +204,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# Autogenerated dependencies, do not modify
system_group.lo: $(srcdir)/system_group.c $(incdir)/compat/stdbool.h \
$(incdir)/sudo_compat.h $(incdir)/sudo_dso.h \

View File

@ -294,6 +294,8 @@ realclean: distclean
cleandir: realclean
.PHONY: clean mostlyclean distclean cleandir clobber realclean
# *Not* auto-generated to avoid building with ASAN
sudo_noexec.lo: $(srcdir)/sudo_noexec.c $(incdir)/sudo_compat.h \
$(top_builddir)/config.h $(top_builddir)/pathnames.h