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

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.89      bertrand    4:        @OPENMOTIF@.tar.gz @SIGSEGV@.tar.gz @LIBXPM@.tar.gz @ZLIB@.tar.gz \
1.129     bertrand    5:        @NCURSES@-20150613.patch.gz @NCURSES@-20150627.patch.gz \
1.130     bertrand    6:        @NCURSES@-20150704.patch.gz @NCURSES@-20150711.patch.gz \
                      7:        @NCURSES@-20150719.patch.gz @NCURSES@-20150725.patch.gz \
                      8:        @NCURSES@-20150808.patch.gz @NCURSES@-20150810.patch.gz \
                      9:        @NCURSES@-20150815.patch.gz @NCURSES@-20150822.patch.gz \
1.131     bertrand   10:        @NCURSES@-20150905.patch.gz @NCURSES@-20150912.patch.gz \
                     11:        @NCURSES@-20150919.patch.gz @NCURSES@-20150926.patch.gz \
                     12:        @NCURSES@-20151010.patch.gz @NCURSES@-20151017.patch.gz \
1.132     bertrand   13:        @NCURSES@-20151024.patch.gz @NCURSES@-20151101.patch.gz \
1.133     bertrand   14:        @NCURSES@-20151107.patch.gz @NCURSES@-20151121.patch.gz \
                     15:        @NCURSES@-20151128.patch.gz @NCURSES@-20151205.patch.gz \
                     16:        @NCURSES@-20151212.patch.gz @NCURSES@-20151219.patch.gz \
1.134     bertrand   17:        @NCURSES@-20151226.patch.gz @NCURSES@-20160102.patch.gz \
                     18:        @NCURSES@-20160116.patch.gz @NCURSES@-20160123.patch.gz \
                     19:        @NCURSES@-20160130.patch.gz @NCURSES@-20160206.patch.gz \
1.135     bertrand   20:        @NCURSES@-20160213.patch.gz @NCURSES@-20160220.patch.gz \
                     21:        @NCURSES@-20160305.patch.gz @NCURSES@-20160312.patch.gz \
1.136     bertrand   22:        @NCURSES@-20160319.patch.gz @NCURSES@-20160326.patch.gz \
                     23:        @NCURSES@-20160402.patch.gz @NCURSES@-20160409.patch.gz \
                     24:        @NCURSES@-20160416.patch.gz @NCURSES@-20160423.patch.gz \
                     25:        @NCURSES@-20160507.patch.gz @NCURSES@-20160514.patch.gz \
                     26:        @NCURSES@-20160521.patch.gz @NCURSES@-20160528.patch.gz \
                     27:        @NCURSES@-20160604.patch.gz @NCURSES@-20160611.patch.gz \
1.137     bertrand   28:        @NCURSES@-20160618.patch.gz @NCURSES@-20160625.patch.gz \
1.138     bertrand   29:        @NCURSES@-20160702.patch.gz @NCURSES@-20160709.patch.gz \
                     30:        @NCURSES@-20160723.patch.gz @NCURSES@-20160730.patch.gz \
                     31:        @NCURSES@-20160806.patch.gz @NCURSES@-20160813.patch.gz \
1.139     bertrand   32:        @NCURSES@-20160820.patch.gz @NCURSES@-20160827.patch.gz \
                     33:        @NCURSES@-20160903.patch.gz @NCURSES@-20160910.patch.gz \
1.142     bertrand   34:        @NCURSES@-20160917.patch.gz @NCURSES@-20160924.patch.gz \
                     35:        @NCURSES@-20161001.patch.gz @NCURSES@-20161008.patch.gz \
                     36:        @NCURSES@-20161015.patch.gz @NCURSES@-20161022.patch.gz \
                     37:        @NCURSES@-20161029.patch.gz @NCURSES@-20161105.patch.gz \
                     38:        @NCURSES@-20161112.patch.gz @NCURSES@-20161119.patch.gz \
1.143     bertrand   39:        @NCURSES@-20161126.patch.gz @NCURSES@-20161203.patch.gz \
                     40:        @NCURSES@-20161210.patch.gz @NCURSES@-20161217.patch.gz \
                     41:        @NCURSES@-20161224.patch.gz @NCURSES@-20161231.patch.gz \
1.144     bertrand   42:        @NCURSES@-20170107.patch.gz @NCURSES@-20170114.patch.gz \
                     43:        @NCURSES@-20170121.patch.gz @NCURSES@-20170128.patch.gz \
                     44:        @NCURSES@-20170204.patch.gz @NCURSES@-20170212.patch.gz \
                     45:        @NCURSES@-20170218.patch.gz @NCURSES@-20170225.patch.gz \
                     46:        @NCURSES@-20170304.patch.gz @NCURSES@-20170311.patch.gz \
                     47:        @NCURSES@-20170318.patch.gz @NCURSES@-20170325.patch.gz \
1.145     bertrand   48:        @NCURSES@-20170401.patch.gz @NCURSES@-20170408.patch.gz \
                     49:        @NCURSES@-20170415.patch.gz @NCURSES@-20170422.patch.gz \
                     50:        @NCURSES@-20170429.patch.gz @NCURSES@-20170506.patch.gz \
                     51:        @NCURSES@-20170513.patch.gz @NCURSES@-20170520.patch.gz \
1.146     bertrand   52:        @NCURSES@-20170527.patch.gz @NCURSES@-20170603.patch.gz \
1.147     bertrand   53:        @NCURSES@-20170610.patch.gz @NCURSES@-20170617.patch.gz \
1.149     bertrand   54:        @NCURSES@-20170624.patch.gz @NCURSES@-20170701.patch.gz \
1.150     bertrand   55:        @NCURSES@-20170708.patch.gz @NCURSES@-20170715.patch.gz \
1.151     bertrand   56:        @NCURSES@-20170722.patch.gz @NCURSES@-20170729.patch.gz \
                     57:        @NCURSES@-20170812.patch.gz @NCURSES@-20170819.patch.gz \
                     58:        @NCURSES@-20170826.patch.gz @NCURSES@-20170827.patch.gz \
                     59:        @NCURSES@-20170902.patch.gz @NCURSES@-20170909.patch.gz \
                     60:        @NCURSES@-20170916.patch.gz @NCURSES@-20170923.patch.gz \
1.152     bertrand   61:        @NCURSES@-20170930.patch.gz @NCURSES@-20171007.patch.gz \
                     62:        @NCURSES@-20171014.patch.gz @NCURSES@-20171021.patch.gz \
                     63:        @NCURSES@-20171028.patch.gz @NCURSES@-20171104.patch.gz \
                     64:        @NCURSES@-20171111.patch.gz @NCURSES@-20171118.patch.gz \
                     65:        @NCURSES@-20171125.patch.gz @NCURSES@-20171209.patch.gz \
                     66:        @NCURSES@-20171216.patch.gz @NCURSES@-20171223.patch.gz \
1.153     bertrand   67:        @NCURSES@-20171230.patch.gz @NCURSES@-20180106.patch.gz \
                     68:        @NCURSES@-20180120.patch.gz @NCURSES@-20180121.patch.gz \
1.154     bertrand   69:        ncurses-6.1-20180127.patch.gz ncurses-6.1-20180129.patch.gz \
                     70:        ncurses-6.1-20180203.patch.gz ncurses-6.1-20180210.patch.gz \
                     71:        ncurses-6.1-20180217.patch.gz ncurses-6.1-20180224.patch.gz \
                     72:        ncurses-6.1-20180303.patch.gz ncurses-6.1-20180317.patch.gz \
                     73:        ncurses-6.1-20180324.patch.gz ncurses-6.1-20180331.patch.gz \
                     74:        ncurses-6.1-20180407.patch.gz ncurses-6.1-20180414.patch.gz \
                     75:        ncurses-6.1-20180428.patch.gz ncurses-6.1-20180505.patch.gz \
                     76:        ncurses-6.1-20180512.patch.gz ncurses-6.1-20180519.patch.gz \
1.156   ! bertrand   77:        ncurses-6.1-20180526.patch.gz ncurses-6.1-20180602.patch.gz \
        !            78:        ncurses-6.1-20180609.patch.gz ncurses-6.1-20180923.patch.gz \
        !            79:        ncurses-6.1-20180616.patch.gz ncurses-6.1-20180929.patch.gz \
        !            80:        ncurses-6.1-20180623.patch.gz ncurses-6.1-20181006.patch.gz \
        !            81:        ncurses-6.1-20180630.patch.gz ncurses-6.1-20181013.patch.gz \
        !            82:        ncurses-6.1-20180707.patch.gz ncurses-6.1-20181020.patch.gz \
        !            83:        ncurses-6.1-20180714.patch.gz ncurses-6.1-20181027.patch.gz \
        !            84:        ncurses-6.1-20180721.patch.gz ncurses-6.1-20181110.patch.gz \
        !            85:        ncurses-6.1-20180728.patch.gz ncurses-6.1-20181117.patch.gz \
        !            86:        ncurses-6.1-20180804.patch.gz ncurses-6.1-20181124.patch.gz \
        !            87:        ncurses-6.1-20180818.patch.gz ncurses-6.1-20181125.patch.gz \
        !            88:        ncurses-6.1-20180825.patch.gz ncurses-6.1-20181201.patch.gz \
        !            89:        ncurses-6.1-20180901.patch.gz ncurses-6.1-20181208.patch.gz \
        !            90:        ncurses-6.1-20180908.patch.gz ncurses-6.1-20181215.patch.gz \
        !            91:        ncurses-6.1-20180922.patch.gz
        !            92: 
1.1       bertrand   93: 
                     94: subdirs = @NCURSES@ @READLINE@ @UNITS@ @GSL@ @GPP@ @GNUPLOT_COMPILATION@ \
1.141     bertrand   95:        @FILE@ @ICONV@ @SQLITE@ @OPENSSL@ @BUILD_SIGSEGV@ @BUILD_OPENMOTIF@ \
1.89      bertrand   96:        @ZLIB@
1.1       bertrand   97: 
                     98: all:
1.114     bertrand   99:    test -f openmotif.lib && rm -f openmotif.lib;
1.54      bertrand  100:    if [ x"@BUILD_OPENMOTIF@" = x ]; then \
1.49      bertrand  101:        touch openmotif.lib; \
1.47      bertrand  102:    else \
                    103:        echo -n LD_MOTIF_ > openmotif.lib; \
1.121     bertrand  104:        grep "^LIBS=" @OPENMOTIF@/config.log | \
                    105:                tr -d "'" >> openmotif.lib; \
1.47      bertrand  106:        echo -n LD_MOTIF_ >> openmotif.lib; \
1.121     bertrand  107:        grep "^X_XMU" @OPENMOTIF@/config.log | \
                    108:                tr -d "'" >> openmotif.lib; \
1.47      bertrand  109:    fi
1.90      bertrand  110:    if [ x"@GNUPLOT_COMPILATION@" != x ]; then \
1.69      bertrand  111:            $(MAKE) $(AM_MAKEFLAGS) -C @GNUPLOT@ $@; fi
1.1       bertrand  112: 
                    113: clean distclean:
                    114:    @list='$(subdirs)'; for subdir in $$list; do \
                    115:        echo "Cleaning $$subdir"; \
1.18      bertrand  116:        if [ ! $$subdir = @OPENSSL@ ]; then \
1.12      bertrand  117:            $(MAKE) -C $$subdir $@; \
1.14      bertrand  118:        fi; \
1.1       bertrand  119:    done;
1.148     bertrand  120:    if [ -d @OPENMOTIF@/install ]; then \
                    121:        rm -rf @OPENMOTIF@/install; \
                    122:    fi
1.14      bertrand  123:    if [ -f @OPENSSL@/tests_success ]; then \
1.22      bertrand  124:        rm -f @OPENSSL@/tests_success; \
1.14      bertrand  125:    fi
1.56      bertrand  126:    rm -f $(DESTDIR)$(bindir)/rplconvert$(EXEEXT)
                    127:    rm -f $(DESTDIR)$(bindir)/rplpp$(EXEEXT)
                    128:    rm -f $(DESTDIR)$(bindir)/rplfile$(EXEEXT)
1.1       bertrand  129: 
                    130: install: all
                    131:    $(mkinstalldirs) $(DESTDIR)$(bindir)
1.5       bertrand  132:    $(INSTALL_PROGRAM) $(UNITS)/units$(EXEEXT) \
                    133:            $(DESTDIR)$(bindir)/rplconvert$(EXEEXT)
1.1       bertrand  134:    $(mkinstalldirs) $(DESTDIR)$(datadir)
1.82      bertrand  135:    $(INSTALL_DATA) $(srcdir)/$(UNITS)/definitions.units \
                    136:            $(DESTDIR)$(datadir)/rplunits.tmp
                    137:    sed 's/^!include currency.units//g' $(DESTDIR)$(datadir)/rplunits.tmp \
                    138:            > $(DESTDIR)$(datadir)/rplunits
                    139:    rm -f $(DESTDIR)$(datadir)/rplunits.tmp
1.5       bertrand  140:    $(INSTALL_PROGRAM) $(GPP)/src/gpp$(EXEEXT) \
                    141:            $(DESTDIR)$(bindir)/rplpp$(EXEEXT)
1.1       bertrand  142:    $(mkinstalldirs) $(DESTDIR)$(mandir)/man1
                    143:    $(INSTALL_DATA) $(srcdir)/$(GPP)/doc/gpp.1 $(DESTDIR)$(mandir)/man1
                    144:    ln -sf $(DESTDIR)$(mandir)/man1/gpp.1 $(DESTDIR)$(mandir)/man1/rplpp.1
1.2       bertrand  145:    if [ @GNUPLOT_COMPILATION@ ]; then \
                    146:            $(MAKE) $(AM_MAKEFLAGS) -C @GNUPLOT@ $@; fi
1.1       bertrand  147:    $(INSTALL_DATA) $(FILE)/magic/magic.mgc \
                    148:            $(DESTDIR)$(datadir)/rplfiles.mgc
1.10      bertrand  149:    $(INSTALL_PROGRAM) $(FILE)/src/rplfile$(EXEEXT) \
1.14      bertrand  150:            $(DESTDIR)$(bindir)/rplfile$(EXEEXT)
1.1       bertrand  151: 
1.6       bertrand  152: uninstall:
1.22      bertrand  153:    rm -f $(DESTDIR)$(bindir)/rplconvert$(EXEEXT) \
1.6       bertrand  154:            $(DESTDIR)$(datadir)/rplunits \
                    155:            $(DESTDIR)$(bindir)/rplpp$(EXEEXT) \
                    156:            $(DESTDIR)$(mandir)/man1/gpp.1 \
                    157:            $(DESTDIR)$(mandir)/man1/rplpp.1 \
                    158:            $(DESTDIR)$(datadir)/rplfiles.mgc \
                    159:            $(DESTDIR)$(bindir)/rplfile$(EXEEXT)
                    160: 
1.1       bertrand  161: install-strip:
                    162:    $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install

CVSweb interface <joel.bertrand@systella.fr>