git-svn-id: https://bacula.svn.sourceforge.net/svnroot/bacula/trunk@6993
91ce42f0-d328-0410-95d8-
f526ca767f89
.SUFFIXES: .c .o .ch .dvi .pdf .tex .view .w .1
.PHONY:
.DONTCARE:
.SUFFIXES: .c .o .ch .dvi .pdf .tex .view .w .1
.PHONY:
.DONTCARE:
$(NO_ECHO)$(CXX) $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) $(PYTHON_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
#-------------------------------------------------------------------------
$(NO_ECHO)$(CXX) $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) $(PYTHON_INC) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
#-------------------------------------------------------------------------
-all: Makefile libbac.a libtokyocabinet.a
@echo "==== Make of lib is good ===="
@echo " "
@echo "==== Make of lib is good ===="
@echo " "
-libtokyocabinet.a:
- @(cd tokyocabinet ; echo "==>Entering directory `pwd`"; \
- $(MAKE) $@ || (echo ""; echo ""; echo " ====== Error in `pwd` ======"; \
- echo ""; echo "";));
- @cp tokyocabinet/tcadb.h tokyocabinet/tcbdb.h tokyocabinet/tchdb.h .
- @cp tokyocabinet/libtokyocabinet.a .
-
libbac.a: $(LIBOBJS)
@echo "Making $@ ..."
$(AR) rc $@ $(LIBOBJS)
libbac.a: $(LIBOBJS)
@echo "Making $@ ..."
$(AR) rc $@ $(LIBOBJS)
@echo "Compiling $<"
$(NO_ECHO)$(CXX) -fPIC $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
@echo "Compiling $<"
$(NO_ECHO)$(CXX) -fPIC $(DEFS) $(DEBUG) -c $(WCFLAGS) $(CPPFLAGS) -I$(srcdir) -I$(basedir) $(DINCLUDE) $(CFLAGS) $<
clean:
$(RMF) *.a core a.out *.o *.bak *.tex *.pdf *~ *.intpro *.extpro 1 2 3
$(RMF) rwlock_test md5sum sha1sum
clean:
$(RMF) *.a core a.out *.o *.bak *.tex *.pdf *~ *.intpro *.extpro 1 2 3
$(RMF) rwlock_test md5sum sha1sum
- (cd tokyocabinet ; make clean)
realclean: clean
$(RMF) tags
realclean: clean
$(RMF) tags