Annotation of rpl/tools/Makefile.am, revision 1.72

1.1       bertrand    1: EXTRA_DIST = @NCURSES@.tar.gz @READLINE@.tar.gz @UNITS@.tar.gz @GSL@.tar.gz \
1.3       bertrand    2:        @GPP@.tar.gz @GNUPLOT@.tar.gz @FILE@.tar.gz @ICONV@.tar.gz \
1.45      bertrand    3:        @FILE@.diff.gz @SQLITE@.tar.gz @OPENSSL@.tar.gz \
1.47      bertrand    4:        @OPENMOTIF@.tar.gz @SIGSEGV@.tar.gz @LIBXPM@.tar.gz \
1.72    ! bertrand    5:        @NCURSES@-20111224.sh.gz @NCURSES@-20120616.sh.gz
1.1       bertrand    6: 
                      7: subdirs = @NCURSES@ @READLINE@ @UNITS@ @GSL@ @GPP@ @GNUPLOT_COMPILATION@ \
1.47      bertrand    8:        @FILE@ @ICONV@ @SQLITE@ @OPENSSL@ @SIGSEGV@ @BUILD_OPENMOTIF@
1.1       bertrand    9: 
                     10: all:
1.47      bertrand   11:    touch openmotif.lib && rm openmotif.lib;
1.54      bertrand   12:    if [ x"@BUILD_OPENMOTIF@" = x ]; then \
1.49      bertrand   13:        touch openmotif.lib; \
1.47      bertrand   14:    else \
                     15:        echo -n LD_MOTIF_ > openmotif.lib; \
                     16:        grep "^LIBS=" @OPENMOTIF@/config.log | tr -d "'" >> openmotif.lib; \
                     17:        echo -n LD_MOTIF_ >> openmotif.lib; \
                     18:        grep "^X_XMU" @OPENMOTIF@/config.log | tr -d "'" >> openmotif.lib; \
                     19:    fi
1.69      bertrand   20:    if [ @GNUPLOT_COMPILATION@ ]; then \
                     21:            $(MAKE) $(AM_MAKEFLAGS) -C @GNUPLOT@ $@; fi
1.1       bertrand   22: 
                     23: clean distclean:
                     24:    @list='$(subdirs)'; for subdir in $$list; do \
                     25:        echo "Cleaning $$subdir"; \
1.18      bertrand   26:        if [ ! $$subdir = @OPENSSL@ ]; then \
1.12      bertrand   27:            $(MAKE) -C $$subdir $@; \
1.14      bertrand   28:        fi; \
1.1       bertrand   29:    done;
1.14      bertrand   30:    if [ -f @OPENSSL@/tests_success ]; then \
1.22      bertrand   31:        rm -f @OPENSSL@/tests_success; \
1.14      bertrand   32:    fi
1.56      bertrand   33:    rm -f $(DESTDIR)$(bindir)/rplconvert$(EXEEXT)
                     34:    rm -f $(DESTDIR)$(bindir)/rplpp$(EXEEXT)
                     35:    rm -f $(DESTDIR)$(bindir)/rplfile$(EXEEXT)
1.1       bertrand   36: 
                     37: install: all
                     38:    $(mkinstalldirs) $(DESTDIR)$(bindir)
1.5       bertrand   39:    $(INSTALL_PROGRAM) $(UNITS)/units$(EXEEXT) \
                     40:            $(DESTDIR)$(bindir)/rplconvert$(EXEEXT)
1.1       bertrand   41:    $(mkinstalldirs) $(DESTDIR)$(datadir)
                     42:    $(INSTALL_DATA) $(srcdir)/$(UNITS)/units.dat $(DESTDIR)$(datadir)/rplunits
1.5       bertrand   43:    $(INSTALL_PROGRAM) $(GPP)/src/gpp$(EXEEXT) \
                     44:            $(DESTDIR)$(bindir)/rplpp$(EXEEXT)
1.1       bertrand   45:    $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
                     46:    $(INSTALL_DATA) $(srcdir)/$(GPP)/doc/gpp.1 $(DESTDIR)$(mandir)/man1
                     47:    ln -sf $(DESTDIR)$(mandir)/man1/gpp.1 $(DESTDIR)$(mandir)/man1/rplpp.1
1.2       bertrand   48:    if [ @GNUPLOT_COMPILATION@ ]; then \
                     49:            $(MAKE) $(AM_MAKEFLAGS) -C @GNUPLOT@ $@; fi
1.1       bertrand   50:    $(INSTALL_DATA) $(FILE)/magic/magic.mgc \
                     51:            $(DESTDIR)$(datadir)/rplfiles.mgc
1.10      bertrand   52:    $(INSTALL_PROGRAM) $(FILE)/src/rplfile$(EXEEXT) \
1.14      bertrand   53:            $(DESTDIR)$(bindir)/rplfile$(EXEEXT)
1.1       bertrand   54: 
1.6       bertrand   55: uninstall:
1.22      bertrand   56:    rm -f $(DESTDIR)$(bindir)/rplconvert$(EXEEXT) \
1.6       bertrand   57:            $(DESTDIR)$(datadir)/rplunits \
                     58:            $(DESTDIR)$(bindir)/rplpp$(EXEEXT) \
                     59:            $(DESTDIR)$(mandir)/man1/gpp.1 \
                     60:            $(DESTDIR)$(mandir)/man1/rplpp.1 \
                     61:            $(DESTDIR)$(datadir)/rplfiles.mgc \
                     62:            $(DESTDIR)$(bindir)/rplfile$(EXEEXT)
                     63: 
1.1       bertrand   64: install-strip:
                     65:    $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install

CVSweb interface <joel.bertrand@systella.fr>