diff options
-rw-r--r-- | pablo/Makefile.in | 42 |
1 files changed, 9 insertions, 33 deletions
diff --git a/pablo/Makefile.in b/pablo/Makefile.in index 3482052..8091ae4 100644 --- a/pablo/Makefile.in +++ b/pablo/Makefile.in @@ -70,59 +70,35 @@ $(LIB) __no_library__: $(LIB_OBJ) $(AR) -rc $@ $(LIB_OBJ) $(RANLIB) $@ -progs: $(LIB) $(PROGS) +# +# Dummy this out so that there is no redundant make of the library +# +progs: # Build a tags file in this directory. TAGS: $(LIB_SRC) $(RM) $@ -etags $(LIB_SRC) -# Runs each test in order, passing $(TEST_FLAGS) to the program. -tests: $(LIB) $(TESTS) -test _test: tests - @for test in $(TESTS) dummy; do \ - if test $$test != dummy; then \ - echo "============================"; \ - echo "Testing $$test $(TEST_FLAGS)"; \ - echo "============================"; \ - $(RUNTEST) ./$$test $(TEST_FLAGS) || exit 1; \ - echo ""; \ - fi; \ - done; +# +# Dummy this out so that there is no redundant make of the library +# +tests: # Install the library, the public header files, and programs. -install: $(LIB) $(PUB_HDR) $(PROGS) +install: $(LIB) @test -d $(libdir) || mkdir $(libdir) @for f in X $(LIB); do \ if test $$f != X; then \ (set -x; $(INSTALL_DATA) $$f $(libdir)/. || exit 1); \ fi; \ done - @test -d $(includedir) || mkdir $(includedir) - @for f in X $(PUB_HDR); do \ - if test $$f != X; then \ - (set -x; $(INSTALL_DATA) $$f $(includedir)/. || exit 1); \ - fi \ - done - @test -d $(bindir) || mkdir $(bindir) - @for f in X $(PROGS); do \ - if test $$f != X; then \ - (set -x; $(INSTALL_PROGRAM) $$f $(bindir)/. || exit 1); \ - fi; \ - done # Removes those things that `make install' (would have) installed. uninstall: @if test "X$(LIB)" != X; then \ set -x; cd $(libdir) && $(RM) $(LIB); \ fi - @if test "X$(PUBHDR)" != X; then \ - set -x; cd $(includedir) && $(RM) $(PUB_HDR); \ - fi - @if test "X$(PROGS)" != X; then \ - set -x; cd $(bindir) && $(RM) $(PROGS); \ - fi - # Removes temporary files without removing the final target files. That is, # remove things like object files but not libraries or executables. # |