# common Makefile lines for the Distributed Checksum Clearinghouse programs # These rules must be included after the share BSD mk files so that # the shared files can be happy about defining the main targets # Copyright (c) 2006 by Rhyolite Software, LLC # # This agreement is not applicable to any entity which sells anti-spam # solutions to others or provides an anti-spam solution as part of a # security solution sold to other entities, or to a private network # which employs the DCC or uses data provided by operation of the DCC # but does not provide corresponding data to other users. # # 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. # # Parties not eligible to receive a license under this agreement can # obtain a commercial license to use DCC and permission to use # U.S. Patent 6,330,590 by contacting Commtouch at http://www.commtouch.com/ # or by email to nospam@commtouch.com. # # A commercial license would be for Distributed Checksum and Reputation # Clearinghouse software. That software includes additional features. This # free license for Distributed ChecksumClearinghouse Software does not in any # way grant permision to use Distributed Checksum and Reputation Clearinghouse # software # # THE SOFTWARE IS PROVIDED "AS IS" AND RHYOLITE SOFTWARE, LLC DISCLAIMS ALL # WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES # OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL RHYOLITE SOFTWARE, LLC # 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. # Rhyolite Software DCC 1.3.50-1.37 $Revision$ # Generated automatically from Makefile.inc2.in by configure. # some versions of gmake do not understand ?= .ifndef INSTALL INSTALL =${DEPTH}/autoconf/install-sh -c .endif BININSTALL=$(INSTALL) -c $(SET_BINOWN) -m $(BINMODE) # create the DCC home directory before trying to install files beforeinstall:$(BINDIR) $(MANDIR)8 depend all $(BINDIR): $(INSTALL) -d $(SET_BINOWN) -m 755 $@ maninstall:dccmaninstall # on platforms including Solaris this command is constructed with expr dccmaninstall: .ifndef NOMAN .ifdef MAN8 eval 'for NM in $(MAN8); do\ $(INSTALL) -c $(SET_MANOWN) -m $(MANMODE) $$NM $(MANDIR)8;\ done' .endif .endif $(MANDIR)8: .ifndef NOMAN .ifdef MAN8 $(INSTALL) -d $(SET_MANOWN) -m 755 $(MANDIR)8 .endif .endif uninstall delete:deinstall deinstall:beforedelete progdelete: .ifdef PROG rm -f $(BINDIR)/$(PROG) .endif beforedelete:progdelete .ifdef SUBDIR for DIR in $(SUBDIR); do\ (cd $$DIR; $(MAKE) $(GMAKE_QUIET) deinstall); done .endif .ifndef NOMAN .ifdef MAN8 eval 'for NM in $(MAN8); do rm -f $(MANDIR)8/$$NM; done' .endif .endif # ensure that even systems with neither the BSD nor the gmake dependency # mechanisms rebuild things when the main parameter file changes. .ifdef SRCS $(SRCS:.c=.o):${DEPTH}/include/dcc_config.h # ensure that adding a kludge.h file or otherwise changing included files # rebuilds dependencies in systems with .depend files .depend:$(DEPTH)/include/dcc_config.h Makefile ${DEPTH}/Makefile.inc \ ${DEPTH}/Makefile.inc2 .endif all: depend