.c.o:
$(CXX) $(DEFS) $(DEBUG) -c $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
#-------------------------------------------------------------------------
-all: Makefile bsmtp dbcheck testfind testls
+all: Makefile bsmtp dbcheck testfind testls
@echo "==== Make of tools is good ===="
@echo " "
$(CXX) -g $(LDFLAGS) -L. -L../lib -L../findlib -o $@ testls.o \
$(LIBS) $(DLIB) -lfind -lbac -lm
-
-
Makefile: $(srcdir)/Makefile.in $(topdir)/config.status
cd $(topdir) \
&& CONFIG_FILES=$(thisdir)/$@ CONFIG_HEADERS= $(SHELL) ./config.status
if test $(srcdir) = .; then $(MAKE) realclean; fi
(cd $(srcdir); $(RMF) Makefile; $(RMF) -r CVS)
+# Allow non-root execution of bsmtp for non-root Directors
install: bsmtp
$(INSTALL_PROGRAM) bsmtp $(DESTDIR)$(sbindir)/bsmtp
+ chmod 755 $(DESTDIR)$(sbindir)/bsmtp
$(INSTALL_PROGRAM) dbcheck $(DESTDIR)$(sbindir)/dbcheck
uninstall: