Annotation of rpl/src/Makefile.am, revision 1.15

1.1       bertrand    1: ldadd_libncurses = $(top_builddir)/tools/@NCURSES@/lib/libncurses.a
                      2: include_libncurses = -I$(top_builddir)/tools/@NCURSES@/include \
                      3:        -I$(top_srcdir)/tools/@NCURSES@/include
                      4: 
                      5: ldadd_libhistory = $(top_builddir)/tools/@READLINE@/libhistory.a
                      6: ldadd_libreadline = $(top_builddir)/tools/@READLINE@/libreadline.a
                      7: include_libreadline = -I$(top_srcdir)/tools/@READLINE@ \
                      8:        -I$(top_builddir)/tools/@READLINE@ -DREADLINE_LIBRARY
                      9: 
                     10: ldadd_libgsl = $(top_builddir)/tools/@GSL@/.libs/libgsl.a
                     11: include_libgsl = -I$(top_builddir)/tools/@GSL@
                     12: 
1.6       bertrand   13: ldadd_libiconv = $(top_builddir)/tools/@ICONV@/lib/.libs/libiconv.a
1.1       bertrand   14: include_libiconv = -I$(top_builddir)/tools/@ICONV@/include
                     15: 
1.6       bertrand   16: ldadd_libcrypto = $(top_builddir)/tools/@OPENSSL@/libcrypto.a
1.10      bertrand   17: ldadd_libssl = $(top_builddir)/tools/@OPENSSL@/libssl.a
1.8       bertrand   18: include_libcrypto = -I$(top_builddir)/tools/@OPENSSL@/include
1.6       bertrand   19: 
                     20: ldadd_libsqlite = $(top_builddir)/tools/@SQLITE@/.libs/libsqlite3.a
1.11      bertrand   21: include_libsqlite = -I$(top_srcdir)/tools/@SQLITE@
1.6       bertrand   22: 
1.5       bertrand   23: date := -Dd_date_rpl="\"$(shell LC_ALL=fr_FR date +'%A %x, %X %Z' | \
1.11      bertrand   24:        $(AWK) '{ v=$$0; gsub(/^[ \t]+/, "", v); gsub(/[ \t]+$$/, "", v); \
1.5       bertrand   25:        printf("%s\n", v);}')\"" \
                     26:        -Dd_date_en_rpl="\"$(shell LC_ALL=C date +'%A %x, %X %Z' | \
1.11      bertrand   27:        $(AWK) '{ v=$$0; gsub(/^[ \t]+/, "", v); gsub(/[ \t]+$$/, "", v); \
1.5       bertrand   28:        printf("%s\n", v);}')\""
1.1       bertrand   29: 
1.7       bertrand   30: hash := -Drplpp_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum \
                     31:        $(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT))\"" \
                     32:        -Drplpp_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum \
                     33:        $(top_builddir)/tools/@GPP@/src/gpp$(EXEEXT))\"" \
                     34:        -Drplfile_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum \
                     35:        $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT))\"" \
                     36:        -Drplfile_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum \
                     37:        $(top_builddir)/tools/@FILE@/src/rplfile$(EXEEXT))\"" \
                     38:        -Drpliconv_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum \
                     39:        $(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \
                     40:        -Drpliconv_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum \
                     41:        $(top_builddir)/rpliconv/rpliconv$(EXEEXT))\"" \
                     42:        -Drplconvert_md5="\"$(shell $(top_builddir)/rplsums/rplmd5sum \
                     43:        $(top_builddir)/tools/@UNITS@/units$(EXEEXT))\"" \
                     44:        -Drplconvert_sha1="\"$(shell $(top_builddir)/rplsums/rplsha1sum \
                     45:        $(top_builddir)/tools/@UNITS@/units$(EXEEXT))\""
                     46: 
1.1       bertrand   47: SRCC=\
                     48:    algebre_lineaire1.c\
                     49:    algebre_lineaire2.c\
                     50:    algebre_lineaire3.c\
                     51:    algebre_lineaire4.c\
                     52:    analyse.c\
                     53:    analyse_notation_algebrique.c\
                     54:    analyse_notation_rpn.c\
1.2       bertrand   55:    asprintf.c\
1.1       bertrand   56:    bibliotheques_externes.c\
                     57:    calcul_differentiel.c\
                     58:    calcul_integral.c\
                     59:    chainage.c\
                     60:    compilation.c\
                     61:    completion.c\
1.6       bertrand   62:    controle.c \
1.1       bertrand   63:    daemon.c\
                     64:    date.c\
                     65:    depassements.c\
                     66:    dft.c\
                     67:    encart.c\
                     68:    evaluation.c\
                     69:    fonctions_trigonometriques.c\
                     70:    formateur.c\
                     71:    formateur_fichiers.c\
                     72:    fusible.c\
                     73:    generateurs_aleatoires.c\
                     74:    gestion_fichiers.c\
                     75:    gestion_interruptions.c\
                     76:    gestion_niveaux.c\
                     77:    gestion_objets.c\
                     78:    gestion_pile.c\
                     79:    gestion_pile_last.c\
                     80:    gestion_pile_systeme.c\
                     81:    gestion_processus.c\
                     82:    gestion_threads.c\
                     83:    gestion_variables.c\
                     84:    gestion_variables_statiques.c\
                     85:    gestion_variables_partagees.c\
                     86:    indicateurs.c\
                     87:    instructions_a1.c\
                     88:    instructions_a2.c\
                     89:    instructions_a3.c\
                     90:    instructions_a4.c\
                     91:    instructions_a5.c\
                     92:    instructions_b1.c\
                     93:    instructions_c1.c\
                     94:    instructions_c2.c\
                     95:    instructions_c3.c\
                     96:    instructions_c4.c\
                     97:    instructions_c5.c\
                     98:    instructions_c6.c\
                     99:    instructions_c7.c\
                    100:    instructions_d1.c\
                    101:    instructions_d2.c\
                    102:    instructions_d3.c\
                    103:    instructions_d4.c\
                    104:    instructions_d5.c\
                    105:    instructions_d6.c\
                    106:    instructions_e1.c\
                    107:    instructions_e2.c\
                    108:    instructions_e3.c\
                    109:    instructions_e4.c\
                    110:    instructions_f1.c\
                    111:    instructions_f2.c\
                    112:    instructions_f3.c\
                    113:    instructions_f4.c\
                    114:    instructions_g1.c\
                    115:    instructions_g2.c\
                    116:    instructions_g3.c\
                    117:    instructions_g4.c\
                    118:    instructions_h1.c\
                    119:    instructions_h2.c\
                    120:    instructions_i1.c\
                    121:    instructions_i2.c\
                    122:    instructions_i3.c\
                    123:    instructions_i4.c\
                    124:    instructions_j1.c\
                    125:    instructions_k1.c\
                    126:    instructions_l1.c\
                    127:    instructions_l2.c\
                    128:    instructions_l3.c\
                    129:    instructions_l4.c\
                    130:    instructions_l5.c\
                    131:    instructions_m1.c\
                    132:    instructions_m2.c\
                    133:    instructions_m3.c\
                    134:    instructions_m4.c\
                    135:    instructions_n1.c\
                    136:    instructions_n2.c\
                    137:    instructions_o1.c\
                    138:    instructions_o2.c\
                    139:    instructions_p1.c\
                    140:    instructions_p2.c\
                    141:    instructions_p3.c\
                    142:    instructions_p4.c\
                    143:    instructions_p5.c\
                    144:    instructions_p6.c\
                    145:    instructions_p7.c\
                    146:    instructions_q1.c\
                    147:    instructions_r1.c\
                    148:    instructions_r2.c\
                    149:    instructions_r3.c\
                    150:    instructions_r4.c\
                    151:    instructions_r5.c\
                    152:    instructions_r6.c\
                    153:    instructions_s1.c\
                    154:    instructions_s2.c\
                    155:    instructions_s3.c\
                    156:    instructions_s4.c\
                    157:    instructions_s5.c\
                    158:    instructions_s6.c\
                    159:    instructions_s7.c\
                    160:    instructions_s8.c\
                    161:    instructions_s9.c\
                    162:    instructions_s10.c\
                    163:    instructions_t1.c\
                    164:    instructions_t2.c\
                    165:    instructions_t3.c\
                    166:    instructions_u1.c\
                    167:    instructions_v1.c\
                    168:    instructions_v2.c\
                    169:    instructions_w1.c\
                    170:    instructions_w2.c\
                    171:    instructions_x1.c\
                    172:    instructions_x2.c\
                    173:    instructions_y1.c\
                    174:    interface_gnuplot.c\
                    175:    interface_tex.c\
                    176:    interruptions.c\
                    177:    messages.c\
                    178:    occupation_memoire.c\
                    179:    operations_atomiques.c\
                    180:    operations_binaires.c\
                    181:    optimisation.c\
                    182:    profilage.c\
                    183:    rpl.c\
                    184:    rplcore.c\
                    185:    sequenceur.c\
                    186:    simplification.c\
                    187:    sommations.c\
                    188:    sql.c\
                    189:    statistiques.c\
                    190:    transliteration.c\
                    191:    types.c
                    192: 
                    193: SRCH=\
                    194:    completion.h\
                    195:    convert.h\
                    196:    copyright.h\
                    197:    garanties.h\
                    198:    gnuplot.h\
                    199:    librpl.h\
                    200:    licence.h\
                    201:    rpl.h\
                    202:    rplexternals.h\
                    203:    rpltypes.h\
                    204:    tex.h\
                    205:    usages.h\
                    206:    vim.h
                    207: 
                    208: SRCF=\
                    209:    arithmetique.f\
                    210:    bibliotheque_logarithmique.f\
                    211:    bibliotheque_trigonometrique.f
                    212: 
                    213: SRCF90=\
                    214:    combinaisons.F90\
                    215:    distributions.F90\
                    216:    fonctions_speciales.F90
                    217: 
                    218: SRCINC=\
                    219:    rplftypes.inc
                    220: 
                    221: SRCXPM=\
                    222:    rpl.xpm
                    223: 
                    224: INIT_EXE=init.c
                    225: 
                    226: INIT_LIB=librpl.c
                    227: 
                    228: LIB=-lz @LIBMTMALLOC@
                    229: 
                    230: bin_PROGRAMS = rpl
                    231: lib_LIBRARIES = librpl.a
                    232: 
                    233: SRCCc=$(SRCC:.c=.conv.c)
                    234: SRCHc=$(SRCH:.h=.conv.h)
                    235: SRCFc=$(SRCF:.f=.conv.f)
                    236: SRCF90c=$(SRCF90:.F90=.conv.F90)
                    237: SRCINCc=$(SRCINC:.inc=.conv.inc)
                    238: INIT_LIBc=$(INIT_LIB:.c=.conv.c)
                    239: INIT_EXEc=$(INIT_EXE:.c=.conv.c)
                    240: 
                    241: %.conv.c: %.c
                    242:    $(top_builddir)/rpliconv/rpliconv \
                    243:            -f `$(top_builddir)/tools/@FILE@/src/rplfile \
                    244:            -m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \
1.11      bertrand  245:            $(AWK) -F= '{print $$2;}'` \
1.1       bertrand  246:            -t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@
                    247: 
                    248: %.conv.h: %.h
                    249:    $(top_builddir)/rpliconv/rpliconv \
                    250:            -f `$(top_builddir)/tools/@FILE@/src/rplfile \
                    251:            -m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \
1.11      bertrand  252:            $(AWK) -F= '{print $$2;}'` \
1.1       bertrand  253:            -t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@
                    254: 
                    255: %.conv.f: %.f
                    256:    $(top_builddir)/rpliconv/rpliconv \
                    257:            -f `$(top_builddir)/tools/@FILE@/src/rplfile \
                    258:            -m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \
1.11      bertrand  259:            $(AWK) -F= '{print $$2;}'` \
1.1       bertrand  260:            -t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@
                    261: 
                    262: %.conv.F90: %.F90
                    263:    $(top_builddir)/rpliconv/rpliconv \
                    264:            -f `$(top_builddir)/tools/@FILE@/src/rplfile \
                    265:            -m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \
1.11      bertrand  266:            $(AWK) -F= '{print $$2;}'` \
1.1       bertrand  267:            -t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@
                    268: 
                    269: %.conv.inc: %.inc
                    270:    $(top_builddir)/rpliconv/rpliconv \
                    271:            -f `$(top_builddir)/tools/@FILE@/src/rplfile \
                    272:            -m $(top_builddir)/tools/@FILE@/magic/magic -i $< | \
1.11      bertrand  273:            $(AWK) -F= '{print $$2;}'` \
1.1       bertrand  274:            -t @FINAL_ENCODING@//TRANSLIT $< | expand -t 4 > $@
                    275: 
                    276: licences:
                    277:    cat $(srcdir)/../COPYING > $(srcdir)/licence.h
                    278:    echo >> $(srcdir)/licence.h
                    279:    echo >> $(srcdir)/licence.h
                    280:    echo "#ifndef INCLUSION_LICENCE" >> $(srcdir)/licence.h
                    281:    echo "#   define INCLUSION_LICENCE" >> $(srcdir)/licence.h
                    282:    echo "    unsigned char CeCILL_fr[] =" >> $(srcdir)/licence.h
                    283:    sed -e '1,$$s/"/\\"/g' $(srcdir)/../Licence_CeCILL_V2-fr.txt | \
1.11      bertrand  284:            $(AWK) -F'\n' '{ printf("\"%s\\n\"\n", $$1);}' \
1.1       bertrand  285:            >> $(srcdir)/licence.h
                    286:    echo "    ;" >> $(srcdir)/licence.h
                    287:    echo "    unsigned char CeCILL_en[] =" >> $(srcdir)/licence.h
                    288:    sed -e '1,$$s/"/\\"/g' $(srcdir)/../Licence_CeCILL_V2-en.txt | \
1.11      bertrand  289:            $(AWK) -F'\n' '{ printf("\"%s\\n\"\n", $$1);}' \
1.1       bertrand  290:            >> $(srcdir)/licence.h
                    291:    echo "    ;" >> $(srcdir)/licence.h
                    292:    echo "#endif" >> $(srcdir)/licence.h
                    293:    echo >> $(srcdir)/licence.h
                    294:    echo "// vim: ts=4" >> $(srcdir)/licence.h
                    295:    for i in $(SRCC) $(SRCH) $(INIT_EXE) $(INIT_LIB); \
                    296:    do \
                    297:        cat $(srcdir)/../COPYING > $(srcdir)/tmp; \
                    298:        echo >> $(srcdir)/tmp; \
                    299:        echo >> $(srcdir)/tmp; \
1.11      bertrand  300:        $(AWK) -F'\n' 'BEGIN {d=0;} /^#/ {d=1;} {if(d==1) print $$1;}' \
1.1       bertrand  301:                $(srcdir)/$$i >> $(srcdir)/tmp; \
                    302:        mv -f $(srcdir)/tmp $(srcdir)/$$i; \
                    303:    done
                    304:    for i in $(SRCINC); \
                    305:    do \
1.11      bertrand  306:        iconv -f `file -i $(srcdir)/../COPYING | $(AWK) -F= '{print $$2;}'` \
1.1       bertrand  307:                $(srcdir)/../COPYING | \
1.11      bertrand  308:                $(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \
1.1       bertrand  309:                {printf("!%s\n", substr($$1,2));}' | \
                    310:                iconv -t `file -i $(srcdir)/../COPYING | \
1.11      bertrand  311:                $(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \
                    312:        $(AWK) -F'\n' 'BEGIN {d=0;} ! /^!/ {d=1;} {if(d==1) print $$1;}' \
1.1       bertrand  313:                $(srcdir)/$$i >> $(srcdir)/tmp; \
                    314:        mv -f $(srcdir)/tmp $(srcdir)/$$i; \
                    315:    done
                    316:    for i in $(SRCF); \
                    317:    do \
1.11      bertrand  318:        iconv -f `file -i $(srcdir)/../COPYING | $(AWK) -F= '{print $$2;}'` \
1.1       bertrand  319:                $(srcdir)/../COPYING | \
1.11      bertrand  320:                $(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \
1.1       bertrand  321:                {printf("C%s\n", substr($$1,2));}' | \
                    322:                iconv -t `file -i $(srcdir)/../COPYING | \
1.11      bertrand  323:                $(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \
                    324:        $(AWK) -F'\n' 'BEGIN {d=0;} ! /^C/ {d=1;} {if(d==1) print $$1;}' \
1.1       bertrand  325:                $(srcdir)/$$i >> $(srcdir)/tmp; \
                    326:        mv -f $(srcdir)/tmp $(srcdir)/$$i; \
                    327:    done
                    328:    for i in $(SRCF90); \
                    329:    do \
1.11      bertrand  330:        iconv -f `file -i $(srcdir)/../COPYING | $(AWK) -F= '{print $$2;}'` \
1.1       bertrand  331:                $(srcdir)/../COPYING | \
1.11      bertrand  332:                $(AWK) -F'\n' '! (/^\/\*/ || /^\*\//) \
1.1       bertrand  333:                {printf("!%s\n", substr($$1,2));}' | \
                    334:                iconv -t `file -i $(srcdir)/../COPYING | \
1.11      bertrand  335:                $(AWK) -F= '{print $$2;}'` > $(srcdir)/tmp; \
                    336:        $(AWK) -F'\n' 'BEGIN {d=0;} ! /^!/ {d=1;} {if(d==1) print $$1;}' \
1.1       bertrand  337:                $(srcdir)/$$i >> $(srcdir)/tmp; \
                    338:        mv -f $(srcdir)/tmp $(srcdir)/$$i; \
                    339:    done
                    340: 
                    341: librplprototypes.h: rpl.h conversion.awk
1.11      bertrand  342:    $(AWK) -f $(srcdir)/conversion.awk $(srcdir)/rpl.h > \
1.1       bertrand  343:            $(top_builddir)/src/librplprototypes.h
1.10      bertrand  344: 
1.1       bertrand  345: generateurs.c: generateurs_aleatoires.awk
1.11      bertrand  346:    $(AWK) -f $(srcdir)/generateurs_aleatoires.awk \
1.1       bertrand  347:            $(srcdir)/../tools/@GSL@/rng/gsl_rng.h > \
                    348:            $(top_builddir)/src/generateurs.c
                    349: 
1.10      bertrand  350: rpl.inc:
                    351:    echo BUILDPATH=$(shell pwd)/.. > $@
                    352:    echo COMPILE=$(DEFS) >> $@
                    353:    echo LINK=@libX@ @libMySQLlib@ @libPgSQLlib@ $(LIBS) >> $@
                    354:    echo OBJECTS=$(SRCCc:.c=.o) $(SRCFc:.f=.o) $(SRCF90c:.F90=.o) \
                    355:            librpl.conv.o >> $@
                    356:    echo EXTOBJECTS= \
                    357:        addlib $(top_builddir)/lapack/lapack/liblapack.a+ \
                    358:        addlib $(top_builddir)/lapack/blas/libblas.a+ \
                    359:        addlib $(ldadd_libhistory)+ \
                    360:        addlib $(ldadd_libreadline)+ \
                    361:        addlib $(ldadd_libncurses)+ \
                    362:        addlib $(ldadd_libgsl)+ \
                    363:        addlib $(ldadd_libiconv)+ \
                    364:        addlib $(ldadd_libcrypto)+ \
                    365:        addlib $(ldadd_libssl)+ \
                    366:        addlib $(ldadd_libsqlite) \
                    367:        >> $@
                    368:    gcc $(INCLUDES) $(DEFS) $(AM_CFLAGS) $(rpl_CFLAGS) librpl.conv.c \
                    369:            -c -o rpl-librpl.conv.o
                    370: 
1.1       bertrand  371: EXTRA_DIST = $(SRCC) $(SRCH) $(SRCF) $(SRCF90) $(SRCINC) \
                    372:        $(INIT_EXE) $(INIT_LIB) $(SRCXPM) \
                    373:        conversion.awk generateurs_aleatoires.awk
                    374: BUILT_SOURCES = librplprototypes.h generateurs.c \
                    375:        $(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) \
1.10      bertrand  376:        $(INIT_LIBc) $(SRCINCc) $(INIT_EXEc) \
                    377:        rpl.inc
1.1       bertrand  378: CLEANFILES= $(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(SRCINCc) \
1.10      bertrand  379:        $(INIT_LIBc) $(INIT_EXEc) librplprototypes.h generateurs.c \
                    380:        rpl.inc rpl-librpl.conv.o
1.1       bertrand  381: 
                    382: nodist_rpl_SOURCES = $(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(INIT_EXEc) \
                    383:        $(SRCXPM) $(SRCINCc)
1.3       bertrand  384: #rpl_LDFLAGS = -g @PROFILAGE@ $(LIB) -rdynamic
1.13      bertrand  385: rpl_LDFLAGS = -g @PROFILAGE@ $(LIB) -Wl,--export-dynamic
1.1       bertrand  386: 
1.4       bertrand  387: rpl_CFLAGS = $(AM_CFLAGS) -Wall -Wextra \
1.1       bertrand  388:             -Wno-pointer-sign -Wno-unused-parameter
                    389: rpl_FFLAGS = $(AM_FFLAGS) -fno-f2c
                    390: rpl_FCFLAGS = $(AM_FCFLAGS) -fno-second-underscore -fno-f2c
                    391: 
                    392: nodist_librpl_a_SOURCES = $(SRCCc) $(SRCHc) $(SRCFc) $(SRCF90c) $(INIT_LIBc) \
                    393:         $(SRCXPM) $(SRCINCc)
1.4       bertrand  394: librpl_a_CFLAGS = $(AM_CFLAGS) -DLIBRPL \
1.1       bertrand  395:        -Wall -Wextra -Wno-pointer-sign -Wno-unused-parameter
                    396: librpl_a_FFLAGS = $(AM_FFLAGS) -ff2c
                    397: librpl_a_FCFLAGS = $(AM_FCLAGS) -fno-second-underscore
                    398: 
1.10      bertrand  399: include_HEADERS = rplexternals.h rpltypes.h rpl.h librpl.h rpl.inc
1.1       bertrand  400: 
                    401: INCLUDES = -I$(srcdir) -I$(top_builddir) \
                    402:        $(include_libreadline) $(include_libncurses) $(include_libgsl) \
1.6       bertrand  403:        $(include_libiconv) $(include_libcrypto) $(include_libsqlite)\
1.1       bertrand  404:        @includeX@ @libMySQLinc@ @libPgSQLinc@
                    405: DEFS = -DHAVE_CONFIG_H -Dd_version_rpl=\"@VERSION@\" \
1.3       bertrand  406:        -Dd_exec_path=\"@RUNPATH@\" @FORCE_GNUPLOT_PATH@ @DEBUG@ \
1.1       bertrand  407:        @MOTIF_SUPPORT@ @POSTSCRIPT_SUPPORT@ @GNUPLOT_SUPPORT@ \
                    408:        @VIM_SUPPORT@ @MYSQL_SUPPORT@ @POSTGRESQL_SUPPORT@ \
1.7       bertrand  409:        @EXPERIMENTAL_CODE@ $(date) $(hash) -g @PROFILAGE@ \
1.12      bertrand  410:        -Dd_locale=\"@FINAL_ENCODING@\" \
1.5       bertrand  411:        -D@OS@
1.1       bertrand  412: rpl_LDADD = $(top_builddir)/lapack/lapack/liblapack.a \
                    413:        $(top_builddir)/lapack/blas/libblas.a \
                    414:        $(ldadd_libhistory) $(ldadd_libreadline) $(ldadd_libncurses) \
1.10      bertrand  415:        $(ldadd_libiconv) $(ldadd_libcrypto) $(ldadd_libssl) \
                    416:        $(ldadd_libsqlite) \
1.1       bertrand  417:        $(ldadd_libgsl) @libX@ @libMySQLlib@ @libPgSQLlib@
                    418: 
                    419: always: $(top_builddir)/src/rpl.conv.c
                    420:    touch $(top_builddir)/src/rpl.conv.c; \
1.14      bertrand  421:    (cd $(srcdir); ctags $(SRCC) $(SRCF) $(SRCF90) \
1.1       bertrand  422:            $(INIT_LIB) $(INIT_EXE) 2>&1 /dev/null);
                    423: 
1.10      bertrand  424: .PHONY: always librpl licences rpl.inc
1.1       bertrand  425: 
                    426: all-local: always
                    427: 
                    428: install-exec-local: librpl
                    429: 
                    430: librpl: install-libLIBRARIES
                    431:    echo \
                    432:        open $(libdir)/librpl.a+ \
                    433:        addlib $(top_builddir)/lapack/lapack/liblapack.a+ \
                    434:        addlib $(top_builddir)/lapack/blas/libblas.a+ \
                    435:        addlib $(ldadd_libhistory)+ \
                    436:        addlib $(ldadd_libreadline)+ \
                    437:        addlib $(ldadd_libncurses)+ \
                    438:        addlib $(ldadd_libgsl)+ \
                    439:        addlib $(ldadd_libiconv)+ \
1.6       bertrand  440:        addlib $(ldadd_libcrypto)+ \
1.10      bertrand  441:        addlib $(ldadd_libssl)+ \
1.6       bertrand  442:        addlib $(ldadd_libsqlite)+ \
1.1       bertrand  443:        save+ \
                    444:        end \
                    445:    | tr '+' '\n' | ar -M; \
                    446:    $(RANLIB) $(libdir)/librpl.a

CVSweb interface <joel.bertrand@systella.fr>