2010-02-20 09:41:49 -05:00
|
|
|
#
|
|
|
|
# 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.
|
|
|
|
#
|
|
|
|
|
2010-02-21 13:37:52 -05:00
|
|
|
# XXX - add plugins/sudoers, compat
|
|
|
|
SUBDIRS = src plugins/sample doc
|
2010-02-20 09:41:49 -05:00
|
|
|
|
2010-02-20 09:53:05 -05:00
|
|
|
all clean install:
|
2010-02-20 09:41:49 -05:00
|
|
|
@if [ ! -s config.status ]; then \
|
|
|
|
echo "Please run configure first"; \
|
|
|
|
exit 1; \
|
|
|
|
fi
|
|
|
|
for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
|
2010-02-20 09:53:05 -05:00
|
|
|
|
|
|
|
distclean:
|
|
|
|
-rm -rf pathnames.h config.h config.status config.cache \
|
|
|
|
config.log libtool stamp-h* autom4te.cache
|
|
|
|
for d in $(SUBDIRS); do (cd $$d && $(MAKE) $@); done
|
|
|
|
|
|
|
|
cleandir: distclean
|
|
|
|
|
|
|
|
clobber: distclean
|
|
|
|
|
|
|
|
realclean: distclean
|