* Prevent spurious rebuilds of db/aterm.

This commit is contained in:
Eelco Dolstra 2003-07-24 14:31:39 +00:00
parent 0a0c1fcb4d
commit 5d7a20dac3

12
externals/Makefile.am vendored
View file

@ -9,7 +9,11 @@ $(DB).tar.gz:
$(DB): $(DB).tar.gz $(DB): $(DB).tar.gz
gunzip < $(DB).tar.gz | tar xvf - gunzip < $(DB).tar.gz | tar xvf -
build-db: $(DB) have-db:
$(MAKE) $(DB)
touch have-db
build-db: have-db
(pfx=`pwd` && \ (pfx=`pwd` && \
cd $(DB)/build_unix && \ cd $(DB)/build_unix && \
CC=$(CC) CXX=$(CXX) ../dist/configure --prefix=$$pfx/inst --enable-cxx --disable-shared && \ CC=$(CC) CXX=$(CXX) ../dist/configure --prefix=$$pfx/inst --enable-cxx --disable-shared && \
@ -29,7 +33,11 @@ $(ATERM).tar.gz:
$(ATERM): $(ATERM).tar.gz $(ATERM): $(ATERM).tar.gz
gunzip < $(ATERM).tar.gz | tar xvf - gunzip < $(ATERM).tar.gz | tar xvf -
build-aterm: $(ATERM) have-aterm:
$(MAKE) $(ATERM)
touch have-aterm
build-aterm: have-aterm
(pfx=`pwd` && \ (pfx=`pwd` && \
cd $(ATERM) && \ cd $(ATERM) && \
./configure --prefix=$$pfx/inst && \ ./configure --prefix=$$pfx/inst && \