2
0
mirror of https://github.com/sudo-project/sudo.git synced 2025-08-22 09:57:41 +00:00
sudo/Makefile

49 lines
1.5 KiB
Makefile
Raw Normal View History

#
# Copyright (c) 2010 Todd C. Miller <Todd.Miller@courtesan.com>
#
# Permission to use, copy, modify, and distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
#
# XXX - add plugins/sudoers
SUBDIRS = compat src plugins/sample doc
all install: config.status
for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
2010-02-27 12:37:49 -05:00
ChangeLog:
hg log --style=changelog -b default > $@
config.status:
@if [ ! -s config.status ]; then \
echo "Please run configure first"; \
exit 1; \
fi
clean: config.status
-rm -f compat/*.o
for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
2010-02-20 09:53:05 -05:00
mostlyclean: clean
distclean: config.status
-rm -rf compat/*.o pathnames.h config.h config.status config.cache \
2010-02-27 12:37:49 -05:00
config.log libtool stamp-h* autom4te.cache ChangeLog
2010-02-20 09:53:05 -05:00
for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
cleandir: distclean
clobber: distclean
realclean: distclean